Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
enum_info< T > Struct Template Reference

#include <elm/enum_info.h>

+ Inheritance diagram for 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 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 []
 

Member Typedef Documentation

◆ value_t

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
is_defined_enum 

Member Function Documentation

◆ begin()

static iterator begin ( void  )
inlinestatic

◆ end()

static iterator end ( void  )
inlinestatic

◆ fromString()

◆ last()

static value_t last ( void  )
inlinestatic

◆ name()

static cstring name ( void  )
static

◆ toString()

static cstring toString ( v)
inlinestatic

◆ value()

static value_t value ( const char *  n,
v 
)
inlinestatic

Member Data Documentation

◆ values


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