Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

TypeTraits.h File Reference

#include <string>
#include <vector>
#include <list>
#include <map>

Include dependency graph for TypeTraits.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Namespaces

namespace  PLearn

Defines

#define DECLARE_TYPE_TRAITS_FOR_BASETYPE(T, LITTLE_ENDIAN_TYPECODE, BIG_ENDIAN_TYPECODE)
#define DECLARE_TYPE_TRAITS(T)


Define Documentation

#define DECLARE_TYPE_TRAITS  ) 
 

Value:

template<> \ class TypeTraits<T> \ { \ public: \ static inline string name() \ { return #T; } \ \ static inline unsigned char little_endian_typecode() \ { return 0xFF; } \ \ static inline unsigned char big_endian_typecode() \ { return 0xFF; } \ }

Definition at line 113 of file TypeTraits.h.

#define DECLARE_TYPE_TRAITS_FOR_BASETYPE T,
LITTLE_ENDIAN_TYPECODE,
BIG_ENDIAN_TYPECODE   ) 
 

Value:

template<> \ class TypeTraits<T> \ { \ public: \ static inline string name() \ { return #T; } \ \ static inline unsigned char little_endian_typecode() \ { return LITTLE_ENDIAN_TYPECODE; } \ \ static inline unsigned char big_endian_typecode() \ { return BIG_ENDIAN_TYPECODE; } \ }

Definition at line 98 of file TypeTraits.h.


Generated on Tue Aug 17 16:21:31 2004 for PLearn by doxygen 1.3.7