Elm  1.0
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
elm::enum_info< T > Struct Template Reference

#include <elm/enum_info.h>

+ Inheritance diagram for elm::enum_info< T >:

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 elm::enum_t
enum  { is_enum = 1 }
 
- Public Types inherited from elm::scalar_t
enum  { is_type = 1 }
 
enum  { is_scalar = 1 }
 
enum  { is_deep = 0 }
 
- Public Types inherited from elm::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 }
 

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 Attributes

static value_t values []
 

Member Typedef Documentation

template<class T >
typedef struct elm::enum_info::value_t elm::enum_info< T >::value_t

Member Enumeration Documentation

template<class T >
anonymous enum
Enumerator
is_defined_enum 

Member Function Documentation

template<class T >
static iterator elm::enum_info< T >::begin ( void  )
static
template<class T >
static iterator elm::enum_info< T >::end ( void  )
static
template<class T >
static T elm::enum_info< T >::fromString ( const string name)
static
template<class T >
static value_t elm::enum_info< T >::last ( void  )
static
template<class T >
static cstring elm::enum_info< T >::name ( void  )
static
template<class T >
static cstring elm::enum_info< T >::toString ( v)
static
template<class T >
static value_t elm::enum_info< T >::value ( const char *  n,
v 
)
static

Member Data Documentation


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