struct RTTIPlainType

template<class T>

Template that you may specialize with a class if you want to provide simple serialization for it.

Any type that uses the "plain" field in the RTTI system must specialize this class.

Public

Methods

staticToMemory

static BitLength ToMemory(const bool &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticFromMemory

static BitLength FromMemory(bool &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticGetSize

static BitLength GetSize(const bool &data, const RTTIFieldInfo &fieldInfo, bool compress)

staticToMemory

static BitLength ToMemory(const float &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticFromMemory

static BitLength FromMemory(float &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticGetSize

static BitLength GetSize(const float &data, const RTTIFieldInfo &fieldInfo, bool compress)

staticToMemory

static BitLength ToMemory(const double &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticFromMemory

static BitLength FromMemory(double &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticGetSize

static BitLength GetSize(const double &data, const RTTIFieldInfo &fieldInfo, bool compress)

staticToMemory

static BitLength ToMemory(const u8 &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticFromMemory

static BitLength FromMemory(u8 &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticGetSize

static BitLength GetSize(const u8 &data, const RTTIFieldInfo &fieldInfo, bool compress)

staticToMemory

static BitLength ToMemory(const i8 &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticFromMemory

static BitLength FromMemory(i8 &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticGetSize

static BitLength GetSize(const i8 &data, const RTTIFieldInfo &fieldInfo, bool compress)

staticToMemory

static BitLength ToMemory(const u16 &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticFromMemory

static BitLength FromMemory(u16 &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticGetSize

static BitLength GetSize(const u16 &data, const RTTIFieldInfo &fieldInfo, bool compress)

staticToMemory

static BitLength ToMemory(const i16 &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticFromMemory

static BitLength FromMemory(i16 &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticGetSize

static BitLength GetSize(const i16 &data, const RTTIFieldInfo &fieldInfo, bool compress)

staticToMemory

static BitLength ToMemory(const u32 &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticFromMemory

static BitLength FromMemory(u32 &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticGetSize

static BitLength GetSize(const u32 &data, const RTTIFieldInfo &fieldInfo, bool compress)

staticToMemory

static BitLength ToMemory(const i32 &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticFromMemory

static BitLength FromMemory(i32 &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticGetSize

static BitLength GetSize(const i32 &data, const RTTIFieldInfo &fieldInfo, bool compress)

staticToMemory

static BitLength ToMemory(const u64 &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticFromMemory

static BitLength FromMemory(u64 &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticGetSize

static BitLength GetSize(const u64 &data, const RTTIFieldInfo &fieldInfo, bool compress)

staticToMemory

static BitLength ToMemory(const i64 &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticFromMemory

static BitLength FromMemory(i64 &data, Bitstream &stream, const RTTIFieldInfo &fieldInfo, bool compress)

staticGetSize

static BitLength GetSize(const i64 &data, const RTTIFieldInfo &fieldInfo, bool compress)