Class: BMFF::Box::TrackReferenceType

Inherits:
Base
  • Object
show all
Defined in:
lib/bmff/box/track_reference_type.rb

Overview

vim: set expandtab tabstop=2 shiftwidth=2 softtabstop=2 autoindent:

Instance Attribute Summary collapse

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, register_uuid_box, #remaining_size, #root, #seek_to_end

Instance Attribute Details

#track_idsObject

Returns the value of attribute track_ids.



5
6
7
# File 'lib/bmff/box/track_reference_type.rb', line 5

def track_ids
  @track_ids
end

Instance Method Details

#parse_dataObject



8
9
10
11
12
13
14
# File 'lib/bmff/box/track_reference_type.rb', line 8

def parse_data
  super
  @track_ids = []
  until eob?
    @track_ids << io.get_uint32
  end
end