PLearn 0.1
PLearn::TinyVectorTrait< T > Class Template Reference

Define "missing-value" for a number of types with TinyVector. More...

#include <TinyVector.h>


Detailed Description

template<typename T>
class PLearn::TinyVectorTrait< T >

Define "missing-value" for a number of types with TinyVector.

The class TinyVectorTrait is specialized for each class T of interest. It defines a static constant named "Missing", which is the missing value for the type. These missing values are used, in turn, to determine what is and is not an element of a TinyVector.

In addition, it defines a type "IOType" which is the type of value that we should convert to/from when performing PStream I/O. This is mostly useful for ensuring that the character types don't get serialized and deserialized as characters, but integers.

Definition at line 234 of file TinyVector.h.


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