module Babeltrace2::BTFieldClass::Variant::WithSelectorField

Constants

AppendOptionStatus

Public Instance Methods

get_selector_field_path() click to toggle source
# 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
Also aliased as: selector_field_path
selector_field_path()
to_h() click to toggle source
Calls superclass method
# 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