Classes | |
| class | PxRepXSerializer |
| Serializer interface for RepX (Xml) serialization. More... | |
Macros | |
| #define | PX_NEW_REPX_SERIALIZER(T) *PX_PLACEMENT_NEW(PxGetFoundation().getAllocatorCallback().allocate(sizeof(T), "PxRepXSerializer", __FILE__, __LINE__ ), T)(PxGetFoundation().getAllocatorCallback()) |
| Preprocessor macro for RepX serializer creation. More... | |
| #define | PX_DELETE_REPX_SERIALIZER(x) { PxRepXSerializer* s = x; if (s) { PxGetFoundation().getAllocatorCallback().deallocate(s); } } |
| Preprocessor Macro to simplify RepX serializer delete. More... | |
Functions | |
| template<typename TDataType > | |
| PX_INLINE PxRepXObject | createRepXObject (const TDataType *inType, const PxSerialObjectId inId) |
| Inline helper template function to create PxRepXObject from TDataType type supporting PxTypeInfo<TDataType>::name. More... | |
| PX_INLINE PxRepXObject | createRepXObject (const PxBase *inType, const PxSerialObjectId inId) |
| Inline helper function to create PxRepXObject from a PxBase instance. More... | |
| template<typename TDataType > | |
| PX_INLINE PxRepXObject | createRepXObject (const TDataType *inType) |
| Inline helper template function to create PxRepXObject form TDataType type using inType pointer as a PxSerialObjectId id. More... | |
| #define PX_DELETE_REPX_SERIALIZER | ( | x | ) | { PxRepXSerializer* s = x; if (s) { PxGetFoundation().getAllocatorCallback().deallocate(s); } } |
Preprocessor Macro to simplify RepX serializer delete.
| #define PX_NEW_REPX_SERIALIZER | ( | T | ) | *PX_PLACEMENT_NEW(PxGetFoundation().getAllocatorCallback().allocate(sizeof(T), "PxRepXSerializer", __FILE__, __LINE__ ), T)(PxGetFoundation().getAllocatorCallback()) |
Preprocessor macro for RepX serializer creation.
| PX_INLINE PxRepXObject createRepXObject | ( | const TDataType * | inType, |
| const PxSerialObjectId | inId | ||
| ) |
Inline helper template function to create PxRepXObject from TDataType type supporting PxTypeInfo<TDataType>::name.
Referenced by createRepXObject().
| PX_INLINE PxRepXObject createRepXObject | ( | const PxBase * | inType, |
| const PxSerialObjectId | inId | ||
| ) |
Inline helper function to create PxRepXObject from a PxBase instance.
References PxBase::getConcreteTypeName(), and PX_ASSERT.
| PX_INLINE PxRepXObject createRepXObject | ( | const TDataType * | inType | ) |
Inline helper template function to create PxRepXObject form TDataType type using inType pointer as a PxSerialObjectId id.
References createRepXObject().