16template <
class MemberType>
46 ioStream.WriteDataType(EOSDataType::T_uint32);
51#define JPH_ADD_ENUM_ATTRIBUTE_WITH_ALIAS(class_name, member_name, alias_name) \
52 AddSerializableAttributeEnum<decltype(class_name::member_name)>(inRTTI, offsetof(class_name, member_name), alias_name);
55#define JPH_ADD_ENUM_ATTRIBUTE(class_name, member_name) \
56 JPH_ADD_ENUM_ATTRIBUTE_WITH_ALIAS(class_name, member_name, #member_name);
unsigned int uint
Definition Core.h:439
#define JPH_NAMESPACE_END
Definition Core.h:367
std::uint32_t uint32
Definition Core.h:442
#define JPH_NAMESPACE_BEGIN
Definition Core.h:361
AllocateFunction Allocate
Definition Memory.cpp:59
void OSWriteData(IObjectStreamOut &ioStream, const Array< T > &inArray)
Definition ObjectStream.h:241
bool OSReadData(IObjectStreamIn &ioStream, Array< T > &inArray)
Define serialization templates for dynamic arrays.
Definition ObjectStream.h:154
EOSDataType
Data type.
Definition SerializableAttribute.h:15
JPH_NAMESPACE_BEGIN void AddSerializableAttributeEnum(RTTI &inRTTI, uint inOffset, const char *inName)
Definition SerializableAttributeEnum.h:17
Interface class for reading from an object stream.
Definition ObjectStream.h:40
Interface class for writing to an object stream.
Definition ObjectStream.h:74
Attributes are members of classes that need to be serialized.
Definition SerializableAttribute.h:35