Class: BMFF::Box::TrackSelection
- Defined in:
- lib/bmff/box/track_selection.rb
Overview
vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autoindent:
Instance Attribute Summary collapse
-
#attribute_list ⇒ Object
Returns the value of attribute attribute_list.
-
#switch_group ⇒ Object
Returns the value of attribute switch_group.
Attributes inherited from Full
Attributes inherited from Base
#io, #largesize, #offset, #parent, #size, #type, #usertype
Instance Method Summary collapse
Methods inherited from Base
#actual_size, #container?, #eob?, #parse, register_box, #remaining_size, #seek_to_end
Instance Attribute Details
#attribute_list ⇒ Object
Returns the value of attribute attribute_list.
5 6 7 |
# File 'lib/bmff/box/track_selection.rb', line 5 def attribute_list @attribute_list end |
#switch_group ⇒ Object
Returns the value of attribute switch_group.
5 6 7 |
# File 'lib/bmff/box/track_selection.rb', line 5 def switch_group @switch_group end |
Instance Method Details
#parse_data ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/bmff/box/track_selection.rb', line 8 def parse_data super @switch_group = io.get_int32 @attribute_list = [] until eob? @attribute_list << io.get_ascii(4) end end |