Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
SerializableObject.h File Reference

Go to the source code of this file.

Classes

class  SerializableObject
 

Macros

#define JPH_DECLARE_SERIALIZATION_FUNCTIONS(linkage, prefix, class_name)
 
#define JPH_IMPLEMENT_SERIALIZATION_FUNCTIONS(class_name)
 
#define JPH_DECLARE_SERIALIZABLE_NON_VIRTUAL(linkage, class_name)
 
#define JPH_IMPLEMENT_SERIALIZABLE_NON_VIRTUAL(class_name)
 
#define JPH_DECLARE_SERIALIZABLE_OUTSIDE_CLASS(linkage, class_name)
 
#define JPH_IMPLEMENT_SERIALIZABLE_OUTSIDE_CLASS(class_name)
 
#define JPH_DECLARE_SERIALIZABLE_VIRTUAL(linkage, class_name)
 
#define JPH_IMPLEMENT_SERIALIZABLE_VIRTUAL(class_name)
 
#define JPH_DECLARE_SERIALIZABLE_ABSTRACT(linkage, class_name)
 
#define JPH_IMPLEMENT_SERIALIZABLE_ABSTRACT(class_name)
 
#define JPH_DECLARE_SERIALIZABLE_VIRTUAL_BASE(linkage, class_name)
 
#define JPH_IMPLEMENT_SERIALIZABLE_VIRTUAL_BASE(class_name)
 
#define JPH_DECLARE_SERIALIZABLE_ABSTRACT_BASE(linkage, class_name)
 
#define JPH_IMPLEMENT_SERIALIZABLE_ABSTRACT_BASE(class_name)
 

Macro Definition Documentation

◆ JPH_DECLARE_SERIALIZABLE_ABSTRACT

#define JPH_DECLARE_SERIALIZABLE_ABSTRACT (   linkage,
  class_name 
)
Value:
public: \
JPH_DECLARE_RTTI_ABSTRACT(linkage, class_name) \
JPH_DECLARE_SERIALIZATION_FUNCTIONS(linkage, friend, class_name) \

◆ JPH_DECLARE_SERIALIZABLE_ABSTRACT_BASE

#define JPH_DECLARE_SERIALIZABLE_ABSTRACT_BASE (   linkage,
  class_name 
)
Value:
public: \
JPH_DECLARE_RTTI_ABSTRACT_BASE(linkage, class_name) \
JPH_DECLARE_SERIALIZATION_FUNCTIONS(linkage, friend, class_name) \

◆ JPH_DECLARE_SERIALIZABLE_NON_VIRTUAL

#define JPH_DECLARE_SERIALIZABLE_NON_VIRTUAL (   linkage,
  class_name 
)
Value:
public: \
JPH_DECLARE_RTTI_NON_VIRTUAL(linkage, class_name) \
JPH_DECLARE_SERIALIZATION_FUNCTIONS(linkage, friend, class_name) \

◆ JPH_DECLARE_SERIALIZABLE_OUTSIDE_CLASS

#define JPH_DECLARE_SERIALIZABLE_OUTSIDE_CLASS (   linkage,
  class_name 
)
Value:
JPH_DECLARE_RTTI_OUTSIDE_CLASS(linkage, class_name) \
JPH_DECLARE_SERIALIZATION_FUNCTIONS(linkage, extern, class_name) \
#define JPH_DECLARE_RTTI_OUTSIDE_CLASS(linkage, class_name)
Definition: RTTI.h:213

◆ JPH_DECLARE_SERIALIZABLE_VIRTUAL

#define JPH_DECLARE_SERIALIZABLE_VIRTUAL (   linkage,
  class_name 
)
Value:
public: \
JPH_DECLARE_RTTI_VIRTUAL(linkage, class_name) \
JPH_DECLARE_SERIALIZATION_FUNCTIONS(linkage, friend, class_name) \

◆ JPH_DECLARE_SERIALIZABLE_VIRTUAL_BASE

#define JPH_DECLARE_SERIALIZABLE_VIRTUAL_BASE (   linkage,
  class_name 
)
Value:
public: \
JPH_DECLARE_RTTI_VIRTUAL_BASE(linkage, class_name) \
JPH_DECLARE_SERIALIZATION_FUNCTIONS(linkage, friend, class_name) \

◆ JPH_DECLARE_SERIALIZATION_FUNCTIONS

#define JPH_DECLARE_SERIALIZATION_FUNCTIONS (   linkage,
  prefix,
  class_name 
)
Value:
linkage prefix bool OSReadData(IObjectStreamIn &ioStream, class_name &inInstance); \
linkage prefix bool OSReadData(IObjectStreamIn &ioStream, class_name *&inPointer); \
linkage prefix bool OSIsType(class_name *, int inArrayDepth, EOSDataType inDataType, const char *inClassName); \
linkage prefix bool OSIsType(class_name **, int inArrayDepth, EOSDataType inDataType, const char *inClassName); \
linkage prefix void OSWriteData(IObjectStreamOut &ioStream, const class_name &inInstance); \
linkage prefix void OSWriteData(IObjectStreamOut &ioStream, class_name *const &inPointer); \
linkage prefix void OSWriteDataType(IObjectStreamOut &ioStream, class_name *); \
linkage prefix void OSWriteDataType(IObjectStreamOut &ioStream, class_name **);
bool OSIsType(Array< T > *, int inArrayDepth, EOSDataType inDataType, const char *inClassName)
Definition: ObjectStream.h:123
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
void OSWriteDataType(IObjectStreamOut &ioStream, Array< T > *)
Definition: ObjectStream.h:234
EOSDataType
Data type.
Definition: SerializableAttribute.h:15
Interface class for reading from an object stream.
Definition: ObjectStream.h:40
Interface class for writing to an object stream.
Definition: ObjectStream.h:74

◆ JPH_IMPLEMENT_SERIALIZABLE_ABSTRACT

#define JPH_IMPLEMENT_SERIALIZABLE_ABSTRACT (   class_name)
Value:
JPH_IMPLEMENT_RTTI_ABSTRACT(class_name) \
#define JPH_IMPLEMENT_SERIALIZATION_FUNCTIONS(class_name)
Definition: SerializableObject.h:27

◆ JPH_IMPLEMENT_SERIALIZABLE_ABSTRACT_BASE

#define JPH_IMPLEMENT_SERIALIZABLE_ABSTRACT_BASE (   class_name)
Value:
JPH_IMPLEMENT_RTTI_ABSTRACT_BASE(class_name)

◆ JPH_IMPLEMENT_SERIALIZABLE_NON_VIRTUAL

#define JPH_IMPLEMENT_SERIALIZABLE_NON_VIRTUAL (   class_name)
Value:
JPH_IMPLEMENT_RTTI_NON_VIRTUAL(class_name) \

◆ JPH_IMPLEMENT_SERIALIZABLE_OUTSIDE_CLASS

#define JPH_IMPLEMENT_SERIALIZABLE_OUTSIDE_CLASS (   class_name)
Value:
JPH_IMPLEMENT_RTTI_OUTSIDE_CLASS(class_name) \

◆ JPH_IMPLEMENT_SERIALIZABLE_VIRTUAL

#define JPH_IMPLEMENT_SERIALIZABLE_VIRTUAL (   class_name)
Value:
JPH_IMPLEMENT_RTTI_VIRTUAL(class_name) \

◆ JPH_IMPLEMENT_SERIALIZABLE_VIRTUAL_BASE

#define JPH_IMPLEMENT_SERIALIZABLE_VIRTUAL_BASE (   class_name)
Value:
JPH_IMPLEMENT_RTTI_VIRTUAL_BASE(class_name) \

◆ JPH_IMPLEMENT_SERIALIZATION_FUNCTIONS

#define JPH_IMPLEMENT_SERIALIZATION_FUNCTIONS (   class_name)