The Sparta Modeling Framework
|
Class that wraps a C++ class enum and allows conversion between POD and the enum type. Also provides strings for them. More...
#include <Enum.hpp>
Classes | |
class | iterator |
class | UnknownNameException |
class | Value |
Public Types | |
typedef EnumType | value_type |
Public Member Functions | |
template<class... Args> | |
Enum (const Args &...args) | |
Enum (const Enum &other) | |
const Value | operator() (const EnumType &val) const |
const Value | operator() (const uint32_t i) const |
const Value | operator() (const std::string &s) const |
iterator | begin () const |
iterator | end () const |
size_t | size () const |
Static Public Member Functions | |
static void | populateNames (std::vector< std::string > &names) |
Method which populates an argument vector with string-names of. | |
Friends | |
class | Value |
Class that wraps a C++ class enum and allows conversion between POD and the enum type. Also provides strings for them.
typedef EnumType sparta::utils::Enum< EnumType >::value_type |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |