Class: M2TSParser::SatelliteDeliverySystemDescriptor::Polarisation

Inherits:
BinaryParser::TemplateBase
  • Object
show all
Defined in:
lib/m2ts_parser/descriptor.rb

Overview

表6-9 「偏波」による定義

Constant Summary collapse

PolarisationMapping =
{
  0b00 => "水平",
  0b01 => "垂直",
  0b10 => "左旋",
  0b11 => "右旋",
}

Instance Method Summary collapse

Instance Method Details

#content_descriptionObject



199
200
201
# File 'lib/m2ts_parser/descriptor.rb', line 199

def content_description
  to_s
end

#to_sObject



203
204
205
# File 'lib/m2ts_parser/descriptor.rb', line 203

def to_s
  PolarisationMapping[to_i].to_s
end