Module: Babeltrace2::BTFieldClass::Variant::WithSelectorField
Defined Under Namespace
Modules: IntegerSigned, IntegerUnsigned
Constant Summary
collapse
- AppendOptionStatus =
BTFieldClassVariantWithSelectorAppendOptionStatus
Instance Method Summary
collapse
Instance Method Details
#get_selector_field_path ⇒ Object
Also known as:
selector_field_path
1549
1550
1551
1552
1553
|
# File 'lib/babeltrace2/trace-ir/field-class.rb', line 1549
def get_selector_field_path
handle = Babeltrace2.bt_field_class_variant_with_selector_field_borrow_selector_field_path_const(@handle)
return nil if handle.null?
BTFieldPath.new(handle, retain: true)
end
|
#to_h ⇒ Object
1556
1557
1558
1559
1560
|
# File 'lib/babeltrace2/trace-ir/field-class.rb', line 1556
def to_h
res = super
res[:selector_field_path] = selector_field_path.to_s
res
end
|