MIRA
Static Public Member Functions | Protected Types | Protected Member Functions | List of all members
DeserializerFormatMixin< BinaryStream, 1 > Class Template Reference

#include <serialization/BinarySerializer.h>

Inheritance diagram for DeserializerFormatMixin< BinaryStream, 1 >:
Inheritance graph
[legend]

Static Public Member Functions

static uint8 getSerializerFormatVersion ()
 

Protected Types

typedef boost::mpl::bool_< false > requireReflectBarriers
 
typedef void * ReflectState
 
typedef int VersionType
 

Protected Member Functions

template<typename T >
bool checkFormatVersion (T &value, bool enableTypeCheck, BinaryStream &stream)
 Verify expected version data. More...
 
ReflectState readVersion (const char *context, ConcreteBinaryDeserializer< BinaryStream, 1 > &deserializer)
 Do nothing. More...
 
VersionType getVersion (ConcreteBinaryDeserializer< BinaryStream, 1 > &deserializer)
 Read version directly from stream. More...
 
void restoreVersion (const ReflectState &prev)
 Do nothing. More...
 
void reportVersionChecked (std::ostream &os)
 Do nothing. More...
 

Member Typedef Documentation

◆ requireReflectBarriers

typedef boost::mpl::bool_<false> requireReflectBarriers
protectedinherited

◆ ReflectState

typedef void* ReflectState
protectedinherited

◆ VersionType

typedef int VersionType
protectedinherited

Member Function Documentation

◆ getSerializerFormatVersion()

static uint8 getSerializerFormatVersion ( )
inlinestatic

◆ checkFormatVersion()

bool checkFormatVersion ( T &  value,
bool  enableTypeCheck,
BinaryStream &  stream 
)
inlineprotected

Verify expected version data.

◆ readVersion()

ReflectState readVersion ( const char *  context,
ConcreteBinaryDeserializer< BinaryStream, 1 > &  deserializer 
)
inlineprotectedinherited

Do nothing.

◆ getVersion()

VersionType getVersion ( ConcreteBinaryDeserializer< BinaryStream, 1 > &  deserializer)
inlineprotectedinherited

Read version directly from stream.

◆ restoreVersion()

void restoreVersion ( const ReflectState prev)
inlineprotectedinherited

Do nothing.

◆ reportVersionChecked()

void reportVersionChecked ( std::ostream &  os)
inlineprotectedinherited

Do nothing.


The documentation for this class was generated from the following file: