|
|
| RepXSerializerImpl (PxAllocatorCallback &inAllocator) |
| |
| virtual const char * | getTypeName () |
| | The type this Serializer is meant to operate on.
|
| |
| virtual void | objectToFile (const PxRepXObject &inLiveObject, PxCollection *inCollection, XmlWriter &inWriter, MemoryBuffer &inTempBuffer, PxRepXInstantiationArgs &inArgs) |
| | Convert from a RepX object to a key-value pair hierarchy.
|
| |
| virtual PxRepXObject | fileToObject (XmlReader &inReader, XmlMemoryAllocator &inAllocator, PxRepXInstantiationArgs &inArgs, PxCollection *inCollection) |
| | Convert from a descriptor to a live object. Must be an object of this Serializer type.
|
| |
|
virtual void | objectToFileImpl (const TLiveType *inObj, PxCollection *inCollection, XmlWriter &inWriter, MemoryBuffer &inTempBuffer, PxRepXInstantiationArgs &) |
| |
|
virtual bool | fileToObjectImpl (TLiveType *inObj, XmlReader &inReader, XmlMemoryAllocator &inAllocator, PxRepXInstantiationArgs &inArgs, PxCollection *inCollection) |
| |
|
virtual TLiveType * | allocateObject (PxRepXInstantiationArgs &inArgs)=0 |
| |
|
PX_INLINE void * | operator new (size_t, void *address) |
| |
|
PX_INLINE void | operator delete (void *, void *) |
| |
|
template<typename Alloc > |
| PX_INLINE void * | operator new (size_t size, Alloc alloc, const char *fileName, int line) |
| |
|
template<typename Alloc > |
| PX_INLINE void * | operator new (size_t size, size_t, Alloc alloc, const char *fileName, int line) |
| |
|
template<typename Alloc > |
| PX_INLINE void * | operator new[] (size_t size, Alloc alloc, const char *fileName, int line) |
| |
|
template<typename Alloc > |
| PX_INLINE void * | operator new[] (size_t size, size_t, Alloc alloc, const char *fileName, int line) |
| |
|
template<typename Alloc > |
| PX_INLINE void | operator delete (void *ptr, Alloc alloc, const char *fileName, int line) |
| |
|
template<typename Alloc > |
| PX_INLINE void | operator delete[] (void *ptr, Alloc alloc, const char *fileName, int line) |
| |
|
PX_INLINE void | operator delete (void *ptr) |
| |
|
PX_INLINE void | operator delete[] (void *ptr) |
| |
template<typename TLiveType>
struct physx::RepXSerializerImpl< TLiveType >
The repx serializer impl takes the raw, untyped repx extension interface and implements the simpler functions plus does the reinterpret-casts required for any object to implement the serializer safely.