MIRA
Static Public Member Functions | Protected Types | Protected Member Functions | List of all members
SerializerFormatMixin< BinaryStream, 0, Buffered, StreamType > Class Template Reference

#include <serialization/BinarySerializer.h>

Inheritance diagram for SerializerFormatMixin< BinaryStream, 0, Buffered, StreamType >:
Inheritance graph
[legend]

Static Public Member Functions

static uint8 getSerializerFormatVersion ()
 
static size_t formatVersionOverhead ()
 Zero overhead here. More...
 

Protected Types

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

Protected Member Functions

template<typename T >
bool writeFormatVersion (T &value, bool enableTypeCheck, StreamType &stream)
 Do nothing (format version 0 does not contain format version info) and return true. More...
 
ReflectState insertVersionPlaceholder (const char *context, ConcreteBinarySerializer< BinaryStream, 0, Buffered > &serializer, StreamType &stream)
 Do nothing. More...
 
void writeVersion (VersionType version, ConcreteBinarySerializer< BinaryStream, 0, Buffered > &serializer, StreamType &stream)
 Write version directly to stream. More...
 
void restoreVersionPtr (const ReflectState &prev)
 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

◆ writeFormatVersion()

bool writeFormatVersion ( T &  value,
bool  enableTypeCheck,
StreamType &  stream 
)
inlineprotected

Do nothing (format version 0 does not contain format version info) and return true.

◆ formatVersionOverhead()

static size_t formatVersionOverhead ( )
inlinestaticinherited

Zero overhead here.

◆ insertVersionPlaceholder()

ReflectState insertVersionPlaceholder ( const char *  context,
ConcreteBinarySerializer< BinaryStream, 0, Buffered > &  serializer,
StreamType &  stream 
)
inlineprotectedinherited

Do nothing.

◆ writeVersion()

void writeVersion ( VersionType  version,
ConcreteBinarySerializer< BinaryStream, 0, Buffered > &  serializer,
StreamType &  stream 
)
inlineprotectedinherited

Write version directly to stream.

◆ restoreVersionPtr()

void restoreVersionPtr ( const ReflectState prev)
inlineprotectedinherited

Do nothing.


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