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

#include <elm/type_info.h>

+ Inheritance diagram for scalar_t< T >:

Public Types

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 T & ref (T &v)
 
static T get (const T &v)
 
static void put (T &x, T v)
 

Member Typedef Documentation

◆ embed_t

typedef var_t embed_t

◆ in_t

typedef T in_t

◆ mut_t

typedef T& mut_t

◆ out_t

typedef T& out_t

◆ ret_t

typedef T ret_t

◆ var_t

typedef T var_t

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
is_enum 

◆ anonymous enum

anonymous enum
Enumerator
is_scalar 

◆ anonymous enum

anonymous enum
Enumerator
is_deep 

Member Function Documentation

◆ get()

static T get ( const T &  v)
inlinestatic

◆ put()

static void put ( T &  x,
v 
)
inlinestatic

◆ ref()

static T& ref ( T &  v)
inlinestatic

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