#include <serialization/BinarySerializer.h>
◆ Deserializer
◆ requireReflectBarriers
◆ ReflectState
◆ VersionType
◆ DeserializerFormatMixin()
◆ getSerializerFormatVersion()
static uint8 getSerializerFormatVersion |
( |
| ) |
|
|
inlinestatic |
◆ getDataFormatVersion()
static uint8 getDataFormatVersion |
( |
BinaryStream & |
stream | ) |
|
|
inlinestatic |
advances the stream to after the format information (if present)!
◆ checkFormatVersion()
bool checkFormatVersion |
( |
T & |
value, |
|
|
bool |
enableTypeCheck, |
|
|
BinaryStream & |
stream |
|
) |
| |
|
inlineprotected |
Checks for format version info in the stream.
- Returns
- true to continue at caller, false if already done here
◆ readVersion()
Read version from binary input, memorize it for later when (if) the reflected object will ask us for it.
Should be called at the start of an object, before calling its reflect() method. Returns the previously memorized version, so it can be restored after reflecting the object.
◆ getVersion()
Get version value read at start of object.
◆ restoreVersion()
Restore a previous version value.
Should be called when done with reflecting an object (possibly returning to its parent).
◆ reportVersionChecked()
void reportVersionChecked |
( |
std::ostream & |
os | ) |
|
|
inlineprotected |
The documentation for this class was generated from the following file: