Class ConstIntBoundObj#

Inheritance Relationships#

Base Type#

  • public ffi::Object

Class Documentation#

class ConstIntBoundObj : public ffi::Object#

Inclusive constant integer bounds, representing [min_value, max_value].

The infinity sentinels represent unbounded endpoints, not finite integer values.

Public Members

int64_t min_value#

Inclusive lower endpoint, or kNegInf when unbounded.

int64_t max_value#

Inclusive upper endpoint, or kPosInf when unbounded.

Public Static Functions

static inline void RegisterReflection()#

Register the fields exposed through FFI reflection.

static inline int32_t _GetOrAllocRuntimeTypeIndex()#
static inline int32_t RuntimeTypeIndex() noexcept#

Public Static Attributes

static constexpr const int64_t kPosInf = std::numeric_limits<int64_t>::max()#

Number to represent +inf.

static constexpr const int64_t kNegInf = -kPosInf#

Number to represent -inf.

Note

The sentinels satisfy -kPosInf == kNegInf.