Class: Babeltrace2Gen::BTFieldClass::Option::WithSelectorField
- Inherits:
-
Babeltrace2Gen::BTFieldClass::Option
- Object
- Babeltrace2Gen::BTFieldClass
- Babeltrace2Gen::BTFieldClass::Option
- Babeltrace2Gen::BTFieldClass::Option::WithSelectorField
- Defined in:
- lib/metababel/bt2_stream_classes_generator.rb
Direct Known Subclasses
Defined Under Namespace
Classes: Bool, IntegerSigned, IntegerUnsigned
Constant Summary
Constants included from Babeltrace2Gen::BTPrinter
Babeltrace2Gen::BTPrinter::INDENT_INCREMENT
Instance Attribute Summary collapse
-
#selector_field_path ⇒ Object
readonly
Returns the value of attribute selector_field_path.
Attributes inherited from Babeltrace2Gen::BTFieldClass::Option
Attributes inherited from Babeltrace2Gen::BTFieldClass
Attributes included from Babeltrace2Gen::BTLocator
Instance Method Summary collapse
-
#initialize(parent:, field_class:, selector_field_path:) ⇒ WithSelectorField
constructor
A new instance of WithSelectorField.
Methods inherited from Babeltrace2Gen::BTFieldClass
#bt_get_variable, from_h, #get_declarator, #get_getter, #get_setter
Methods included from Babeltrace2Gen::BTPrinter
context, #name_sanitized, pr, #scope
Methods included from Babeltrace2Gen::BTLocator
#rec_event_class, #rec_menber_class, #rec_stream_class, #resolve_path
Constructor Details
#initialize(parent:, field_class:, selector_field_path:) ⇒ WithSelectorField
Returns a new instance of WithSelectorField.
723 724 725 726 |
# File 'lib/metababel/bt2_stream_classes_generator.rb', line 723 def initialize(parent:, field_class:, selector_field_path:) @selector_field_path = selector_field_path super(parent: parent, field_class: field_class) end |
Instance Attribute Details
#selector_field_path ⇒ Object (readonly)
Returns the value of attribute selector_field_path.
721 722 723 |
# File 'lib/metababel/bt2_stream_classes_generator.rb', line 721 def selector_field_path @selector_field_path end |