Back to CERTI User Documentation index
Basic Types

The template


defines a user-convenient DATATYPE, stored in STORAGE using given ENCODING.

The data are stored in a buffer of sizeof(STORAGE).

The buffer is casted to a DATATYPE that provide data access operators. The data can be accessed in an usual way. The DATATYPE may have any sizeof(), but must have static-cast to STORAGE.

For example:

 typedef HLAbasicType<long, uint32_t, LittleEndian> HLAinteger32BE;
 HLAdata<HLAinteger32BE> value;

 value = 42;

Generated on Fri Feb 28 2014 16:33:59 for CERTIUserDocumentation by doxygen 1.8.6