Class: Babeltrace::CTF::EnumDef
- Inherits:
-
Definition
- Object
- Definition
- Babeltrace::CTF::EnumDef
- Defined in:
- lib/babeltrace/ctf/events.rb
Instance Attribute Summary
Attributes inherited from Definition
Instance Method Summary collapse
- #int ⇒ Object
- #string ⇒ Object (also: #value)
Methods inherited from Definition
create, #decl, #initialize, #name
Constructor Details
This class inherits a constructor from Babeltrace::CTF::Definition
Instance Method Details
#int ⇒ Object
340 341 342 |
# File 'lib/babeltrace/ctf/events.rb', line 340 def int IntegerDef::new(@definition.get_enum_int) end |
#string ⇒ Object Also known as: value
344 345 346 |
# File 'lib/babeltrace/ctf/events.rb', line 344 def string @definition.get_enum_str end |