Describes the basic POD data types that are used by the DataSerializer and DataDeserializer objects. More...
#include <list>#include <string>#include "Types.h"

Go to the source code of this file.
Classes | |
| struct | kNet::SerializedDataTypeTraits< T > |
| A trait class used to match basic data types to their associated enum values. More... | |
Namespaces | |
| namespace | kNet |
Typedefs | |
| typedef bool | kNet::bit |
| A single 0|1 value that is serialized as just one bit, *without padding*. | |
Enumerations | |
| enum | kNet::BasicSerializedDataType { kNet::SerialInvalid = 0, kNet::SerialBit, kNet::SerialU8, kNet::SerialS8, kNet::SerialU16, kNet::SerialS16, kNet::SerialU32, kNet::SerialS32, kNet::SerialU64, kNet::SerialS64, kNet::SerialFloat, kNet::SerialDouble, kNet::SerialString, kNet::SerialStruct, kNet::SerialDynamicCount, kNet::NumSerialTypes } |
Defines the basic data types that are the building blocks of every other serializable data type. More... | |
Functions | |
| const char * | kNet::SerialTypeToString (BasicSerializedDataType type) |
| Converts a give BasicSerializedDataType to a readable string representation. | |
| BasicSerializedDataType | kNet::StringToSerialType (const char *type) |
| Tries to parse a BasicSerializedDataType out of a string, or returns SerialInvalid if no match. | |
| size_t | kNet::SerialTypeSize (BasicSerializedDataType type) |
| Returns the number of bytes the passed BasicSerializedDataType requires for serialization. | |
Describes the basic POD data types that are used by the DataSerializer and DataDeserializer objects.
1.7.1