The Sparta Modeling Framework
Loading...
Searching...
No Matches
sparta::utils::Enum< EnumType >::Value Class Reference

Public Member Functions

 Value (const EnumType &val=EnumType::__FIRST)
 
 Value (const Value &other)
 
 operator EnumType () const
 
 operator uint32_t () const
 
 operator std::string () const
 
Valueoperator= (const Value &other)
 
bool operator== (const Value &other) const
 
bool operator!= (const Value &other) const
 
const EnumType & getEnum () const
 

Detailed Description

template<class EnumType>
class sparta::utils::Enum< EnumType >::Value

Definition at line 51 of file Enum.hpp.

Constructor & Destructor Documentation

◆ Value() [1/2]

template<class EnumType >
sparta::utils::Enum< EnumType >::Value::Value ( const EnumType &  val = EnumType::__FIRST)
inline

Definition at line 54 of file Enum.hpp.

◆ Value() [2/2]

template<class EnumType >
sparta::utils::Enum< EnumType >::Value::Value ( const Value other)
inline

Definition at line 58 of file Enum.hpp.

Member Function Documentation

◆ getEnum()

template<class EnumType >
const EnumType & sparta::utils::Enum< EnumType >::Value::getEnum ( ) const
inline

Definition at line 93 of file Enum.hpp.

◆ operator EnumType()

template<class EnumType >
sparta::utils::Enum< EnumType >::Value::operator EnumType ( ) const
inlineexplicit

Definition at line 62 of file Enum.hpp.

◆ operator std::string()

template<class EnumType >
sparta::utils::Enum< EnumType >::Value::operator std::string ( ) const
inline

Definition at line 72 of file Enum.hpp.

◆ operator uint32_t()

template<class EnumType >
sparta::utils::Enum< EnumType >::Value::operator uint32_t ( ) const
inline

Definition at line 67 of file Enum.hpp.

◆ operator!=()

template<class EnumType >
bool sparta::utils::Enum< EnumType >::Value::operator!= ( const Value other) const
inline

Definition at line 88 of file Enum.hpp.

◆ operator=()

template<class EnumType >
Value & sparta::utils::Enum< EnumType >::Value::operator= ( const Value other)
inline

Definition at line 77 of file Enum.hpp.

◆ operator==()

template<class EnumType >
bool sparta::utils::Enum< EnumType >::Value::operator== ( const Value other) const
inline

Definition at line 83 of file Enum.hpp.


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