BitShares-Core  7.0.2
BitShares blockchain node software and command-line wallet software
Public Member Functions | Public Attributes | Friends | List of all members
fc::enum_type< IntType, EnumType > Class Template Reference

#include <enum_type.hpp>

Public Member Functions

 enum_type (EnumType t)
 
 enum_type (IntType t)
 
 enum_type ()
 
 operator IntType () const
 
 operator EnumType () const
 
 operator std::string () const
 
enum_typeoperator= (IntType i)
 
enum_typeoperator= (EnumType i)
 
bool operator< (EnumType i) const
 
bool operator> (EnumType i) const
 
bool operator< (const enum_type &e) const
 
bool operator> (const enum_type &e) const
 
bool operator<= (const enum_type &e) const
 
bool operator>= (const enum_type &e) const
 

Public Attributes

EnumType value
 

Friends

bool operator== (const enum_type &e, IntType i)
 
bool operator== (const enum_type &e, EnumType i)
 
bool operator== (const enum_type &e, const enum_type &i)
 
bool operator== (IntType i, const enum_type &e)
 
bool operator== (EnumType i, const enum_type &e)
 
bool operator!= (const enum_type &e, IntType i)
 
bool operator!= (const enum_type &e, EnumType i)
 
bool operator!= (const enum_type &e, const enum_type &i)
 

Detailed Description

template<typename IntType, typename EnumType>
class fc::enum_type< IntType, EnumType >

Definition at line 9 of file enum_type.hpp.

Constructor & Destructor Documentation

◆ enum_type() [1/3]

template<typename IntType , typename EnumType >
fc::enum_type< IntType, EnumType >::enum_type ( EnumType  t)
inline

Definition at line 12 of file enum_type.hpp.

◆ enum_type() [2/3]

template<typename IntType , typename EnumType >
fc::enum_type< IntType, EnumType >::enum_type ( IntType  t)
inline

Definition at line 15 of file enum_type.hpp.

◆ enum_type() [3/3]

template<typename IntType , typename EnumType >
fc::enum_type< IntType, EnumType >::enum_type ( )
inline

Definition at line 18 of file enum_type.hpp.

Member Function Documentation

◆ operator EnumType()

template<typename IntType , typename EnumType >
fc::enum_type< IntType, EnumType >::operator EnumType ( ) const
inline

Definition at line 21 of file enum_type.hpp.

◆ operator IntType()

template<typename IntType , typename EnumType >
fc::enum_type< IntType, EnumType >::operator IntType ( ) const
inlineexplicit

Definition at line 20 of file enum_type.hpp.

◆ operator std::string()

template<typename IntType , typename EnumType >
fc::enum_type< IntType, EnumType >::operator std::string ( ) const
inline

Definition at line 22 of file enum_type.hpp.

◆ operator<() [1/2]

template<typename IntType , typename EnumType >
bool fc::enum_type< IntType, EnumType >::operator< ( const enum_type< IntType, EnumType > &  e) const
inline

Definition at line 29 of file enum_type.hpp.

◆ operator<() [2/2]

template<typename IntType , typename EnumType >
bool fc::enum_type< IntType, EnumType >::operator< ( EnumType  i) const
inline

Definition at line 26 of file enum_type.hpp.

◆ operator<=()

template<typename IntType , typename EnumType >
bool fc::enum_type< IntType, EnumType >::operator<= ( const enum_type< IntType, EnumType > &  e) const
inline

Definition at line 32 of file enum_type.hpp.

◆ operator=() [1/2]

template<typename IntType , typename EnumType >
enum_type& fc::enum_type< IntType, EnumType >::operator= ( EnumType  i)
inline

Definition at line 25 of file enum_type.hpp.

◆ operator=() [2/2]

template<typename IntType , typename EnumType >
enum_type& fc::enum_type< IntType, EnumType >::operator= ( IntType  i)
inline

Definition at line 24 of file enum_type.hpp.

◆ operator>() [1/2]

template<typename IntType , typename EnumType >
bool fc::enum_type< IntType, EnumType >::operator> ( const enum_type< IntType, EnumType > &  e) const
inline

Definition at line 30 of file enum_type.hpp.

◆ operator>() [2/2]

template<typename IntType , typename EnumType >
bool fc::enum_type< IntType, EnumType >::operator> ( EnumType  i) const
inline

Definition at line 27 of file enum_type.hpp.

◆ operator>=()

template<typename IntType , typename EnumType >
bool fc::enum_type< IntType, EnumType >::operator>= ( const enum_type< IntType, EnumType > &  e) const
inline

Definition at line 33 of file enum_type.hpp.

Friends And Related Function Documentation

◆ operator!= [1/3]

template<typename IntType , typename EnumType >
bool operator!= ( const enum_type< IntType, EnumType > &  e,
const enum_type< IntType, EnumType > &  i 
)
friend

Definition at line 44 of file enum_type.hpp.

◆ operator!= [2/3]

template<typename IntType , typename EnumType >
bool operator!= ( const enum_type< IntType, EnumType > &  e,
EnumType  i 
)
friend

Definition at line 43 of file enum_type.hpp.

◆ operator!= [3/3]

template<typename IntType , typename EnumType >
bool operator!= ( const enum_type< IntType, EnumType > &  e,
IntType  i 
)
friend

Definition at line 42 of file enum_type.hpp.

◆ operator== [1/5]

template<typename IntType , typename EnumType >
bool operator== ( const enum_type< IntType, EnumType > &  e,
const enum_type< IntType, EnumType > &  i 
)
friend

Definition at line 38 of file enum_type.hpp.

◆ operator== [2/5]

template<typename IntType , typename EnumType >
bool operator== ( const enum_type< IntType, EnumType > &  e,
EnumType  i 
)
friend

Definition at line 36 of file enum_type.hpp.

◆ operator== [3/5]

template<typename IntType , typename EnumType >
bool operator== ( const enum_type< IntType, EnumType > &  e,
IntType  i 
)
friend

Definition at line 35 of file enum_type.hpp.

◆ operator== [4/5]

template<typename IntType , typename EnumType >
bool operator== ( EnumType  i,
const enum_type< IntType, EnumType > &  e 
)
friend

Definition at line 40 of file enum_type.hpp.

◆ operator== [5/5]

template<typename IntType , typename EnumType >
bool operator== ( IntType  i,
const enum_type< IntType, EnumType > &  e 
)
friend

Definition at line 39 of file enum_type.hpp.

Member Data Documentation

◆ value

template<typename IntType , typename EnumType >
EnumType fc::enum_type< IntType, EnumType >::value

Definition at line 46 of file enum_type.hpp.


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