Provides flattened serialization of Name objects as a simple string. More...
#include <NameSerializer.h>
Inherits AZ::Serialize::IDataSerializer.
Public Member Functions | |
size_t | DataToText (IO::GenericStream &in, IO::GenericStream &out, bool) override |
Convert binary data to text. | |
size_t | TextToData (const char *text, unsigned int, IO::GenericStream &stream, bool) override |
Convert text data to binary, to support loading old version formats. We must respect text version if the text->binary format has changed! | |
size_t | Save (const void *classPtr, IO::GenericStream &stream, bool) override |
Store the class data into a stream. | |
bool | Load (void *classPtr, IO::GenericStream &stream, unsigned int, bool) override |
Load the class data from a stream. | |
bool | CompareValueData (const void *lhs, const void *rhs) override |
Public Member Functions inherited from AZ::Serialize::IDataSerializer | |
virtual size_t | Save (const void *classPtr, IO::GenericStream &stream, bool isDataBigEndian=false)=0 |
Store the class data into a stream. | |
virtual bool | Load (void *classPtr, IO::GenericStream &stream, unsigned int version, bool isDataBigEndian=false)=0 |
Load the class data from a stream. | |
virtual size_t | DataToText (IO::GenericStream &in, IO::GenericStream &out, bool isDataBigEndian)=0 |
Convert binary data to text. | |
virtual size_t | TextToData (const char *text, unsigned int textVersion, IO::GenericStream &stream, bool isDataBigEndian=false)=0 |
Convert text data to binary, to support loading old version formats. We must respect text version if the text->binary format has changed! | |
virtual bool | CompareValueData (const void *lhs, const void *rhs)=0 |
virtual void | PostClone (void *) |
Optional post processing of the cloned data to deal with members that are not serialize-reflected. | |
Additional Inherited Members | |
Static Public Member Functions inherited from AZ::Serialize::IDataSerializer | |
static IDataSerializerDeleter | CreateDefaultDeleteDeleter () |
static IDataSerializerDeleter | CreateNoDeleteDeleter () |
Provides flattened serialization of Name objects as a simple string.
|
overridevirtual |
Compares two instances of the type. Input pointers are assumed to point to valid instances of the class.
Implements AZ::Serialize::IDataSerializer.
|
overridevirtual |
Convert binary data to text.
Implements AZ::Serialize::IDataSerializer.
|
overridevirtual |
Load the class data from a stream.
Implements AZ::Serialize::IDataSerializer.
|
overridevirtual |
Store the class data into a stream.
Implements AZ::Serialize::IDataSerializer.
|
overridevirtual |
Convert text data to binary, to support loading old version formats. We must respect text version if the text->binary format has changed!
Implements AZ::Serialize::IDataSerializer.