Jolt Physics
A multi core friendly Game Physics Engine
|
#include <ObjectStreamOut.h>
Static Public Member Functions | |
template<class T > | |
static bool | sWriteObject (ostream &inStream, ObjectStream::EStreamType inType, const T &inObject) |
Main function to write an object to a stream. | |
template<class T > | |
static bool | sWriteObject (const char *inFileName, ObjectStream::EStreamType inType, const T &inObject) |
Main function to write an object to a file. | |
Serialization operations | |
ostream & | mStream |
bool | Write (const void *inObject, const RTTI *inRTTI) |
void | WriteObject (const void *inObject) |
void | QueueRTTI (const RTTI *inRTTI) |
void | WriteRTTI (const RTTI *inRTTI) |
virtual void | WriteClassData (const RTTI *inRTTI, const void *inInstance) override |
virtual void | WritePointerData (const RTTI *inRTTI, const void *inPointer) override |
static ObjectStreamOut * | Open (EStreamType inType, ostream &inStream) |
Static constructor. | |
ObjectStreamOut (ostream &inStream) | |
Constructor. | |
ObjectStreamOut contains all logic for writing an object to disk. It is the base class for the text and binary output streams (ObjectStreamTextOut and ObjectStreamBinaryOut).
|
explicitprotected |
Constructor.
|
staticprotected |
Static constructor.
|
inlinestatic |
Main function to write an object to a file.
|
inlinestatic |
Main function to write an object to a stream.
|
overridevirtual |
Implements IObjectStreamOut.
|
overridevirtual |
Implements IObjectStreamOut.
|
protected |