Class: Babeltrace2::BTFieldPath::Item

Inherits:
Babeltrace2::BTObject show all
Defined in:
lib/babeltrace2/trace-ir/field-path.rb

Constant Summary collapse

Type =
BTFieldPathItemType

Instance Attribute Summary

Attributes inherited from Babeltrace2::BTObject

#handle

Instance Method Summary collapse

Methods inherited from Babeltrace2::BTObject

#==, #initialize, #to_ptr

Constructor Details

This class inherits a constructor from Babeltrace2::BTObject

Instance Method Details

#get_indexObject Also known as: index



141
142
143
# File 'lib/babeltrace2/trace-ir/field-path.rb', line 141

def get_index
  Babeltrace2.bt_field_path_item_index_get_index(@handle)
end

#get_typeObject Also known as: type



136
137
138
# File 'lib/babeltrace2/trace-ir/field-path.rb', line 136

def get_type
  Babeltrace2.bt_field_path_item_get_type(@handle)
end