Google OR-Tools: gtl::IntType< IntTypeName, _ValueType

template<typename IntTypeName, typename _ValueType>
class gtl::IntType< IntTypeName, _ValueType >

Definition at line 182 of file int_type.h.

#include <int_type.h>

Public Types

typedef _ValueType ValueType
typedef IntType< IntTypeName, ValueTypeThisType

Public Member Functions

constexpr IntType ()
constexpr IntType (ValueType value)
constexpr ValueType value () const
template<typename ValType>
constexpr ValType value () const
ThisTypeoperator++ ()
const ThisType operator++ (int v)
ThisTypeoperator-- ()
const ThisType operator-- (int v)
constexpr bool operator! () const
constexpr const ThisType operator+ () const
constexpr const ThisType operator- () const
constexpr const ThisType operator~ () const
 INT_TYPE_ASSIGNMENT_OP (+=)
 INT_TYPE_ASSIGNMENT_OP (-=)
INT_TYPE_ASSIGNMENT_OP * INT_TYPE_ASSIGNMENT_OP (/=);INT_TYPE_ASSIGNMENT_OP(<<=
 INT_TYPE_ASSIGNMENT_OP (> >=)
 INT_TYPE_ASSIGNMENT_OP (%=)
ThisTypeoperator= (ValueType arg_value)

Static Public Member Functions

static constexpr absl::string_view TypeName ()

Friends

template<typename H>
AbslHashValue (H h, const IntType &i)

◆ ThisType

template<typename IntTypeName, typename _ValueType>

typedef IntType<IntTypeName, ValueType> gtl::IntType< IntTypeName, _ValueType >::ThisType

◆ ValueType

template<typename IntTypeName, typename _ValueType>

typedef _ValueType gtl::IntType< IntTypeName, _ValueType >::ValueType

◆ IntType() [1/2]

template<typename IntTypeName, typename _ValueType>

gtl::IntType< IntTypeName, _ValueType >::IntType ( )
inlineconstexpr

◆ IntType() [2/2]

template<typename IntTypeName, typename _ValueType>

gtl::IntType< IntTypeName, _ValueType >::IntType ( ValueType value)
inlineexplicitconstexpr

◆ INT_TYPE_ASSIGNMENT_OP() [1/5]

template<typename IntTypeName, typename _ValueType>

gtl::IntType< IntTypeName, _ValueType >::INT_TYPE_ASSIGNMENT_OP ( % )

◆ INT_TYPE_ASSIGNMENT_OP() [2/5]

template<typename IntTypeName, typename _ValueType>

gtl::IntType< IntTypeName, _ValueType >::INT_TYPE_ASSIGNMENT_OP ( + )

◆ INT_TYPE_ASSIGNMENT_OP() [3/5]

template<typename IntTypeName, typename _ValueType>

gtl::IntType< IntTypeName, _ValueType >::INT_TYPE_ASSIGNMENT_OP ( - )

◆ INT_TYPE_ASSIGNMENT_OP() [4/5]

template<typename IntTypeName, typename _ValueType>

INT_TYPE_ASSIGNMENT_OP * gtl::IntType< IntTypeName, _ValueType >::INT_TYPE_ASSIGNMENT_OP ( / )

◆ INT_TYPE_ASSIGNMENT_OP() [5/5]

template<typename IntTypeName, typename _ValueType>

gtl::IntType< IntTypeName, _ValueType >::INT_TYPE_ASSIGNMENT_OP ( >= )

◆ operator!()

template<typename IntTypeName, typename _ValueType>

bool gtl::IntType< IntTypeName, _ValueType >::operator! ( ) const
inlineconstexpr

◆ operator+()

template<typename IntTypeName, typename _ValueType>

const ThisType gtl::IntType< IntTypeName, _ValueType >::operator+ ( ) const
inlineconstexpr

◆ operator++() [1/2]

template<typename IntTypeName, typename _ValueType>

ThisType & gtl::IntType< IntTypeName, _ValueType >::operator++ ( )
inline

◆ operator++() [2/2]

template<typename IntTypeName, typename _ValueType>

const ThisType gtl::IntType< IntTypeName, _ValueType >::operator++ ( int v)
inline

◆ operator-()

template<typename IntTypeName, typename _ValueType>

const ThisType gtl::IntType< IntTypeName, _ValueType >::operator- ( ) const
inlineconstexpr

◆ operator--() [1/2]

template<typename IntTypeName, typename _ValueType>

ThisType & gtl::IntType< IntTypeName, _ValueType >::operator-- ( )
inline

◆ operator--() [2/2]

template<typename IntTypeName, typename _ValueType>

const ThisType gtl::IntType< IntTypeName, _ValueType >::operator-- ( int v)
inline

◆ operator=()

template<typename IntTypeName, typename _ValueType>

ThisType & gtl::IntType< IntTypeName, _ValueType >::operator= ( ValueType arg_value)
inline

◆ operator~()

template<typename IntTypeName, typename _ValueType>

const ThisType gtl::IntType< IntTypeName, _ValueType >::operator~ ( ) const
inlineconstexpr

◆ TypeName()

template<typename IntTypeName, typename _ValueType>

constexpr absl::string_view gtl::IntType< IntTypeName, _ValueType >::TypeName ( )
inlinestaticconstexpr

◆ value() [1/2]

template<typename IntTypeName, typename _ValueType>

template<typename ValType>

ValType gtl::IntType< IntTypeName, _ValueType >::value ( ) const
inlineconstexpr

◆ value() [2/2]

template<typename IntTypeName, typename _ValueType>

ValueType gtl::IntType< IntTypeName, _ValueType >::value ( ) const
inlineconstexpr

◆ AbslHashValue

template<typename IntTypeName, typename _ValueType>

template<typename H>

H AbslHashValue ( H h,
const IntType< IntTypeName, _ValueType > & i )
friend

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