PLearn 0.1
|
#include <string>
#include <vector>
#include <list>
#include <map>
#include <queue>
#include <set>
#include <nspr/prlong.h>
#include <plearn/base/pl_stdint.h>
Go to the source code of this file.
Definition in file TypeTraits.h.
#define DECLARE_TYPE_TRAITS | ( | T | ) |
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 228 of file TypeTraits.h.
#define DECLARE_TYPE_TRAITS_FOR_BASETYPE | ( | T, | |
LITTLE_ENDIAN_TYPECODE, | |||
BIG_ENDIAN_TYPECODE | |||
) |
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 127 of file TypeTraits.h.
#define DECLARE_TYPE_TRAITS_FOR_INTTYPE | ( | T | ) |
Definition at line 142 of file TypeTraits.h.
#define DECLARE_TYPE_TRAITS_FOR_UINTTYPE | ( | T | ) |
Definition at line 185 of file TypeTraits.h.