Class: Babeltrace::CTF::SequenceDef
Instance Attribute Summary
Attributes inherited from Definition
#definition
Instance Method Summary
collapse
Methods inherited from Definition
create, #decl, #initialize, #name
Instance Method Details
#index(i) ⇒ Object
419
420
421
|
# File 'lib/babeltrace/ctf/events.rb', line 419
def index(i)
return Definition.create(@definition.sequence_index(i))
end
|
#len ⇒ Object
415
416
417
|
# File 'lib/babeltrace/ctf/events.rb', line 415
def len
@definition.sequence_len
end
|
#value ⇒ Object
423
424
425
|
# File 'lib/babeltrace/ctf/events.rb', line 423
def value
len.times.collect { |i| index(i).value }
end
|