PLearn 0.1
Static Public Member Functions
PLearn::TypeTraits< T > Class Template Reference

TypeTraits provides a type-information mechanism for C++ types. More...

#include <TypeTraits.h>

List of all members.

Static Public Member Functions

static string name ()
 String representation of type type.
static unsigned char little_endian_typecode ()
 Type-code for representing the little-endian serialization of an object in PLearn's binary serialization format.
static unsigned char big_endian_typecode ()
 Type-code for representing the big-endian serialization of an object in PLearn's binary serialization format.

Detailed Description

template<class T>
class PLearn::TypeTraits< T >

TypeTraits provides a type-information mechanism for C++ types.

TypeTraits<some_type> delivers the following information on the type:

Definition at line 77 of file TypeTraits.h.


Member Function Documentation

template<class T >
static unsigned char PLearn::TypeTraits< T >::big_endian_typecode ( ) [inline, static]

Type-code for representing the big-endian serialization of an object in PLearn's binary serialization format.

Definition at line 91 of file TypeTraits.h.

    { return 0xFF; }
template<class T >
static unsigned char PLearn::TypeTraits< T >::little_endian_typecode ( ) [inline, static]

Type-code for representing the little-endian serialization of an object in PLearn's binary serialization format.

Definition at line 86 of file TypeTraits.h.

    { return 0xFF; }
template<class T >
static string PLearn::TypeTraits< T >::name ( ) [inline, static]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines