#include <AbstractId.h>
Public Member Functions | |
AbstractID (const AbstractID< Size > &a) | |
AbstractID (unsigned num) | |
const AbstractID< Size > & | operator= (const AbstractID< Size > &a) |
AbstractID< Size > & | fromArray (const char *data) |
read an identifier from a memory location. | |
AbstractID< Size > & | toArray (char *data) const |
store an identifier in a memory location. | |
LEXI_BOOL_OP (==) | |
LEXI_BOOL_OP (!=) | |
LEXI_BOOL_OP (<) | |
LEXI_BOOL_OP (>) | |
LEXI_BOOL_OP (<=) | |
LEXI_BOOL_OP (>=) | |
Public Attributes | |
unsigned char | id [size] |
Static Public Attributes | |
static const size_t | size = Size |
the storage size of an identifier The size is the storage size of an indtifier, when written with toArray() or read with fromArray(). |
The AbstractID template allows to define identifier types of an arbitrary, fixed size.
unsigned char AbstractID< Size >::id[size] |
we should better use an valarray<unsigned char>