Data Structures | Macros | Functions
attributetype.hh File Reference
#include <vector>
#include <mia/core/defines.hh>
#include <miaconfig.h>
Include dependency graph for attributetype.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  attribute_type< T >
 
struct  attribute_type< std::vector< T > >
 
struct  EAttributeType
 

Macros

#define ATTR_TYPEID(T, ID)
 

Functions

 ATTR_TYPEID (bool, attr_bool)
 
 ATTR_TYPEID (unsigned char, attr_uchar)
 
 ATTR_TYPEID (signed char, attr_schar)
 
 ATTR_TYPEID (unsigned short, attr_ushort)
 
 ATTR_TYPEID (signed short, attr_sshort)
 
 ATTR_TYPEID (unsigned int, attr_uint)
 
 ATTR_TYPEID (signed int, attr_sint)
 
 ATTR_TYPEID (float, attr_float)
 
 ATTR_TYPEID (double, attr_double)
 
 ATTR_TYPEID (std::string, attr_string)
 

Macro Definition Documentation

#define ATTR_TYPEID (   T,
  ID 
)
Value:
template <> \
struct attribute_type<T> : public EAttributeType{ \
static const int value = ID; \
};

Definition at line 66 of file attributetype.hh.

Function Documentation

ATTR_TYPEID ( bool  ,
attr_bool   
)
ATTR_TYPEID ( unsigned  char,
attr_uchar   
)
ATTR_TYPEID ( signed  char,
attr_schar   
)
ATTR_TYPEID ( unsigned  short,
attr_ushort   
)
ATTR_TYPEID ( signed  short,
attr_sshort   
)
ATTR_TYPEID ( unsigned  int,
attr_uint   
)
ATTR_TYPEID ( signed  int,
attr_sint   
)
ATTR_TYPEID ( float  ,
attr_float   
)
ATTR_TYPEID ( double  ,
attr_double   
)
ATTR_TYPEID ( std::string  ,
attr_string   
)