module Babeltrace2::BTFieldClass::Array::Dynamic::WithLengthField

Public Instance Methods

get_length_field_path() click to toggle source
# File lib/babeltrace2/trace-ir/field-class.rb, line 886
def get_length_field_path
  handle = Babeltrace2.bt_field_class_array_dynamic_with_length_field_borrow_length_field_path_const(@handle)
  return nil if handle.null?
  BTFieldPath.new(handle, retain: true)
end
Also aliased as: length_field_path
length_field_path()
to_h() click to toggle source
Calls superclass method
# File lib/babeltrace2/trace-ir/field-class.rb, line 893
def to_h
  res = super
  res[:length_field_path] = length_field_path.to_s
  res
end