Class: Babeltrace2::BTField::Variant::WithSelectorField::IntegerSigned
- Inherits:
-
Babeltrace2::BTField::Variant::WithSelectorField
- Object
- Babeltrace2::BTObject
- Babeltrace2::BTField
- Babeltrace2::BTField::Variant
- Babeltrace2::BTField::Variant::WithSelectorField
- Babeltrace2::BTField::Variant::WithSelectorField::IntegerSigned
- Defined in:
- lib/babeltrace2/trace-ir/field.rb
Constant Summary
Constants inherited from Babeltrace2::BTField
Instance Attribute Summary
Attributes inherited from Babeltrace2::BTObject
Instance Method Summary collapse
- #get_selected_option_class ⇒ Object (also: #selected_option_class)
Methods inherited from Babeltrace2::BTField::Variant
#get_option_count, #get_selected_option_field, #get_selected_option_index, #select_option_by_index, #to_s, #value
Methods inherited from Babeltrace2::BTField
from_handle, #get_class, #get_class_type, #to_s
Methods inherited from Babeltrace2::BTObject
Constructor Details
This class inherits a constructor from Babeltrace2::BTObject
Instance Method Details
#get_selected_option_class ⇒ Object Also known as: selected_option_class
885 886 887 888 889 |
# File 'lib/babeltrace2/trace-ir/field.rb', line 885 def get_selected_option_class handle = Babeltrace2.bt_field_variant_with_selector_field_integer_signed_borrow_selected_option_class_const(@handle) return nil if handle.null? BTFieldClassVariantWithSelectorFieldIntegerSignedOption.new(handle) end |