Class: Babeltrace2::BTIntegerRangeSigned

Inherits:
BTIntegerRange show all
Defined in:
lib/babeltrace2/integer-range-set.rb

Instance Attribute Summary

Attributes inherited from BTObject

#handle

Instance Method Summary collapse

Methods inherited from BTIntegerRange

#include?, #value

Methods inherited from BTObject

#initialize, #to_ptr

Constructor Details

This class inherits a constructor from Babeltrace2::BTObject

Instance Method Details

#get_lowerObject Also known as: lower



57
58
59
# File 'lib/babeltrace2/integer-range-set.rb', line 57

def get_lower
  Babeltrace2.bt_integer_range_signed_get_lower(@handle)
end

#get_upperObject Also known as: upper



62
63
64
# File 'lib/babeltrace2/integer-range-set.rb', line 62

def get_upper
  Babeltrace2.bt_integer_range_signed_get_upper(@handle)
end

#is_equal(other) ⇒ Object Also known as: ==



67
68
69
# File 'lib/babeltrace2/integer-range-set.rb', line 67

def is_equal(other)
  Babeltrace2.bt_integer_range_signed_is_equal(other) != BT_FALSE
end