Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/enum_info.h>
Classes | |
class | iterator |
struct | value_t |
Public Types | |
enum | { is_defined_enum = 1 } |
typedef struct elm::enum_info::value_t | value_t |
Public Types inherited from enum_t< T > | |
enum | { is_enum = 1 } |
Public Types inherited from scalar_t< T > | |
enum | { is_enum = 0 } |
enum | { is_scalar = 1 } |
enum | { is_deep = 0 } |
typedef T | var_t |
typedef var_t | embed_t |
typedef T | in_t |
typedef T & | out_t |
typedef T | ret_t |
typedef T & | mut_t |
Public Types inherited from default_t | |
enum | { is_type = 0 } |
enum | { is_scalar = 0 } |
enum | { is_enum = 0, is_defined_enum = 0 } |
enum | { is_class = 0 } |
enum | { is_ptr = 0 } |
enum | { is_ref = 0 } |
enum | { is_deep = 0 } |
enum | { is_virtual = 0 } |
enum | { is_void = 0 } |
Static Public Member Functions | |
static cstring | name (void) |
static value_t | value (const char *n, T v) |
static value_t | last (void) |
static cstring | toString (T v) |
static T | fromString (const string &name) |
static iterator | begin (void) |
static iterator | end (void) |
Static Public Member Functions inherited from scalar_t< T > | |
static T & | ref (T &v) |
static T | get (const T &v) |
static void | put (T &x, T v) |
Static Public Attributes | |
static value_t | values [] |
typedef struct elm::enum_info::value_t value_t |
References enum_info< T >::values.
References enum_info< T >::values.
|
inlinestatic |
References enum_info< T >::value_t::name, enum_info< T >::name(), enum_info< T >::value_t::value, and enum_info< T >::values.
Referenced by Input::enum_scanner< T >::scan().
Referenced by enum_info< T >::fromString().
|
inlinestatic |
References enum_info< T >::value_t::name, and enum_info< T >::values.
|
static |