Class: Babeltrace::CTF::VariantDef

Inherits:
Definition show all
Defined in:
lib/babeltrace/ctf/events.rb

Instance Attribute Summary

Attributes inherited from Definition

#definition

Instance Method Summary collapse

Methods inherited from Definition

create, #decl, #initialize, #name

Constructor Details

This class inherits a constructor from Babeltrace::CTF::Definition

Instance Method Details

#valueObject



385
386
387
# File 'lib/babeltrace/ctf/events.rb', line 385

def value
  variant.value
end

#variantObject



381
382
383
# File 'lib/babeltrace/ctf/events.rb', line 381

def variant
  @definition.get_variant
end