CnC
 All Classes Namespaces Functions Variables Typedefs Enumerator Friends Groups Pages
Functions
Automatic serialization of built-in types.
Serialization

Functions

 CNC_BITWISE_SERIALIZABLE (bool)
 bool is bitwise serializable
 CNC_BITWISE_SERIALIZABLE (char)
 char is bitwise serializable
 CNC_BITWISE_SERIALIZABLE (signed char)
 signed char is bitwise serializable
 CNC_BITWISE_SERIALIZABLE (unsigned char)
 unsigend char is bitwise serializable
 CNC_BITWISE_SERIALIZABLE (short)
 short is bitwise serializable
 CNC_BITWISE_SERIALIZABLE (int)
 int is bitwise serializable
 CNC_BITWISE_SERIALIZABLE (long)
 long is bitwise serializable
 CNC_BITWISE_SERIALIZABLE (unsigned long long)
 unsigned long long is bitwise serializable
 CNC_BITWISE_SERIALIZABLE (float)
 float is bitwise serializable
 CNC_BITWISE_SERIALIZABLE (double)
 double is bitwise serializable
 CNC_BITWISE_SERIALIZABLE (long double)

Detailed Description

They can be copied byte-wise.

In order to add your own class to the category bitwise_serializable, add a specialization of "serializer_category" returning bitwise_serializable for your class. (e.g. by using CnC::CNC_BITWISE_SERIALIZABLE).


Function Documentation

CNC_BITWISE_SERIALIZABLE ( unsigned  char)

unsigend char is bitwise serializable

unsigned long is bitwise serializable

unsigned int is bitwise serializable

unsigend short is bitwise serializable

CNC_BITWISE_SERIALIZABLE ( long  )

long is bitwise serializable

long long is bitwise serializable

CnC::CNC_BITWISE_SERIALIZABLE ( long  double)

long double is bitwise serializable