|
ClassBuilder * | operator-> () |
|
template<class ClassType , class FieldType > |
ClassBuilder * | Field (const char *name, FieldType ClassType::*address, AZStd::initializer_list< AttributePair > attributeIds={}) |
| Declare class field with address of the variable in the class.
|
|
template<class FromT , class ToT > |
ClassBuilder * | TypeChange (AZStd::string_view fieldName, unsigned int fromVersion, unsigned int toVersion, AZStd::function< ToT(const FromT &)> upgradeFunc) |
|
ClassBuilder * | NameChange (unsigned int fromVersion, unsigned int toVersion, AZStd::string_view oldFieldName, AZStd::string_view newFieldName) |
|
template<class ClassType , class BaseType , class FieldType > |
ClassBuilder * | FieldFromBase (const char *name, FieldType BaseType::*address) |
|
ClassBuilder * | Version (unsigned int version, VersionConverter converter=nullptr) |
| Add version control to the structure with optional converter. If not controlled a version of 0 is assigned.
|
|
ClassBuilder * | Serializer (Serialize::IDataSerializerPtr serializer) |
|
ClassBuilder * | Serializer (IDataSerializer *serializer) |
| For data types (usually base types) or types that we handle the full serialize, implement this interface.
|
|
template<typename SerializerImplementation > |
ClassBuilder * | Serializer () |
| Helper function to create a static instance of specific serializer implementation. Serializer(IDataSerializer*)
|
|
ClassBuilder * | SerializeWithNoData () |
| For class type that are empty, we want the serializer to create on load, but have no child elements.
|
|
ClassBuilder * | EventHandler (IEventHandler *eventHandler) |
|
template<typename EventHandlerImplementation > |
ClassBuilder * | EventHandler () |
| Helper function to create a static instance of specific event handler implementation. Serializer(IDataSerializer*)
|
|
ClassBuilder * | DataContainer (IDataContainer *dataContainer) |
| Adds a DataContainer structure for manipulating contained data in custom ways.
|
|
template<typename DataContainerType > |
ClassBuilder * | DataContainer () |
| Helper function to create a static instance of the specific data container implementation. DataContainer(IDataContainer*)
|
|
ClassBuilder * | PersistentId (ClassPersistentId persistentId) |
|
ClassBuilder * | SerializerDoSave (ClassDoSave isSave) |
|
template<class T > |
ClassBuilder * | Attribute (const char *id, T &&value) |
|
template<class T > |
ClassBuilder * | Attribute (Crc32 idCrc, T &&value) |
|
template<class ClassType , class FieldType > |
SerializeContext::ClassBuilder * | Field (const char *name, FieldType ClassType::*member, AZStd::initializer_list< AttributePair > attributes) |
|
template<class FromT , class ToT > |
SerializeContext::ClassBuilder * | TypeChange (AZStd::string_view fieldName, unsigned int fromVersion, unsigned int toVersion, AZStd::function< ToT(const FromT &)> upgradeFunc) |
| Declare a type change between serialized versions of a field.
|
|
template<class ClassType , class BaseType , class FieldType > |
SerializeContext::ClassBuilder * | FieldFromBase (const char *name, FieldType BaseType::*member) |
|
template<class T > |
SerializeContext::ClassBuilder * | Attribute (Crc32 idCrc, T &&value) |
|