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::type_info< T > Class Template Reference

#include <elm/type_info.h>

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

Static Public Member Functions

static cstring name (void)
 
- Static Public Member Functions inherited from elm::class_t< T >
static cstring name (void)
 
- Static Public Member Functions inherited from elm::asis_t< T >
static void put (T &l, const T &v)
 
static const T & get (const T &v)
 

Additional Inherited Members

- Public Types inherited from elm::class_t< T >
enum  { is_class = 1 }
 
enum  { is_deep = 1 }
 
enum  { is_virtual = 1 }
 
typedef const T & in_t
 
typedef const T & val_t
 
- 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 }
 
- Public Types inherited from elm::asis_t< T >
typedef T embed_t
 
typedef T in_t
 
typedef T & out_t
 
typedef T val_t
 
typedef T & ref_t
 

Detailed Description

template<class T>
class elm::type_info< T >

This class can not be instantiated. It provides only static information about the types used in a program. Although a partial type_info instantiation is provided for usual types of C++, the type_info may be specialized for user types in order to let ELM classes – like containers – to adapt to the custom types.

According the type T, one of the following information may also be available:

  • const T null: null value for the types supporting one.
  • const T min: minimum value for the types supporting a total order.
  • const T max: maximum value for the types supporting a total order.
Parameters
TType to get information for.

Member Function Documentation

template<class T >
cstring elm::type_info< T >::name ( void  )
static

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