OR-Tools  9.3
StrongInt64< StrongIntegerName >

Detailed Description

template<typename StrongIntegerName>
class operations_research::StrongInt64< StrongIntegerName >

Definition at line 195 of file strong_integers.h.

Public Types

typedef int64_t ValueType
 
typedef StrongInt64< StrongIntegerName > ThisType
 

Public Member Functions

struct ABSL_DEPRECATED ("Use absl::Hash instead") Hasher
 
constexpr StrongInt64 ()
 
constexpr StrongInt64 (int64_t value)
 
StrongInt64operator= (int64_t arg_value)
 
constexpr int64_t value () const
 
template<typename ValType >
constexpr ValType value () const
 
constexpr const ThisType operator+ () const
 
constexpr const ThisType operator- () const
 
constexpr const ThisType operator~ () const
 
 STRONG_ASSIGNMENT_OP (StrongInt64, int64_t,+=)
 
 STRONG_ASSIGNMENT_OP (StrongInt64, int64_t, -=)
 
 STRONG_ASSIGNMENT_OP (StrongInt64, int64_t, *=)
 
 STRONG_ASSIGNMENT_OP (StrongInt64, int64_t,/=)
 
 STRONG_ASSIGNMENT_OP (StrongInt64, int64_t,<<=)
 
 STRONG_ASSIGNMENT_OP (StrongInt64, int64_t, > >=)
 
 STRONG_ASSIGNMENT_OP (StrongInt64, int64_t, %=)
 

Static Public Member Functions

static constexpr absl::string_view TypeName ()
 

Public Attributes

 INCREMENT_AND_DECREMENT_OPERATORS
 

Member Typedef Documentation

◆ ThisType

typedef StrongInt64<StrongIntegerName> ThisType

Definition at line 198 of file strong_integers.h.

◆ ValueType

typedef int64_t ValueType

Definition at line 197 of file strong_integers.h.

Constructor & Destructor Documentation

◆ StrongInt64() [1/2]

constexpr StrongInt64 ( )
inlineconstexpr

Definition at line 210 of file strong_integers.h.

◆ StrongInt64() [2/2]

constexpr StrongInt64 ( int64_t  value)
inlineconstexpr

Definition at line 213 of file strong_integers.h.

Member Function Documentation

◆ ABSL_DEPRECATED()

struct ABSL_DEPRECATED ( "Use absl::Hash instead"  )
inline

Definition at line 200 of file strong_integers.h.

◆ operator+()

constexpr const ThisType operator+ ( ) const
inlineconstexpr

Definition at line 230 of file strong_integers.h.

◆ operator-()

constexpr const ThisType operator- ( ) const
inlineconstexpr

Definition at line 231 of file strong_integers.h.

◆ operator=()

StrongInt64 & operator= ( int64_t  arg_value)
inline

Definition at line 216 of file strong_integers.h.

◆ operator~()

constexpr const ThisType operator~ ( ) const
inlineconstexpr

Definition at line 232 of file strong_integers.h.

◆ STRONG_ASSIGNMENT_OP() [1/7]

STRONG_ASSIGNMENT_OP ( StrongInt64< StrongIntegerName >  ,
int64_t  ,
 
)

◆ STRONG_ASSIGNMENT_OP() [2/7]

STRONG_ASSIGNMENT_OP ( StrongInt64< StrongIntegerName >  ,
int64_t  ,
 
)

◆ STRONG_ASSIGNMENT_OP() [3/7]

STRONG_ASSIGNMENT_OP ( StrongInt64< StrongIntegerName >  ,
int64_t  ,
 
)

◆ STRONG_ASSIGNMENT_OP() [4/7]

STRONG_ASSIGNMENT_OP ( StrongInt64< StrongIntegerName >  ,
int64_t  ,
>=   
)

◆ STRONG_ASSIGNMENT_OP() [5/7]

STRONG_ASSIGNMENT_OP ( StrongInt64< StrongIntegerName >  ,
int64_t  ,
 
)

◆ STRONG_ASSIGNMENT_OP() [6/7]

STRONG_ASSIGNMENT_OP ( StrongInt64< StrongIntegerName >  ,
int64_t  ,
 
)

◆ STRONG_ASSIGNMENT_OP() [7/7]

STRONG_ASSIGNMENT_OP ( StrongInt64< StrongIntegerName >  ,
int64_t  ,
<<   
)

◆ TypeName()

static constexpr absl::string_view TypeName ( )
inlinestaticconstexpr

Definition at line 200 of file strong_integers.h.

◆ value() [1/2]

constexpr int64_t value ( ) const
inlineconstexpr

Definition at line 221 of file strong_integers.h.

◆ value() [2/2]

constexpr ValType value ( ) const
inlineconstexpr

Definition at line 224 of file strong_integers.h.

Member Data Documentation

◆ INCREMENT_AND_DECREMENT_OPERATORS

INCREMENT_AND_DECREMENT_OPERATORS

Definition at line 228 of file strong_integers.h.


The documentation for this class was generated from the following file: