Jolt Physics
A multi core friendly Game Physics Engine
|
Implementation of ObjectStream binary output stream. More...
#include <ObjectStreamBinaryOut.h>
Public Member Functions | |
JPH_OVERRIDE_NEW_DELETE | ObjectStreamBinaryOut (ostream &inStream) |
Constructor and destructor. | |
Public Member Functions inherited from ObjectStreamOut | |
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 |
Public Member Functions inherited from IObjectStreamOut | |
virtual void | HintNextItem () |
virtual void | HintIndentUp () |
virtual void | HintIndentDown () |
Public Member Functions inherited from NonCopyable | |
NonCopyable ()=default | |
NonCopyable (const NonCopyable &)=delete | |
void | operator= (const NonCopyable &)=delete |
Additional Inherited Members | |
Public Types inherited from ObjectStream | |
enum class | EStreamType { Text , Binary } |
Stream type. More... | |
Static Public Member Functions inherited from ObjectStreamOut | |
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. | |
Protected Types inherited from ObjectStream | |
using | Identifier = uint32 |
Identifier for objects. | |
Protected Member Functions inherited from ObjectStreamOut | |
ObjectStreamOut (ostream &inStream) | |
Constructor. | |
Protected Member Functions inherited from ObjectStream | |
virtual | ~ObjectStream ()=default |
Destructor. | |
Static Protected Member Functions inherited from ObjectStreamOut | |
static ObjectStreamOut * | Open (EStreamType inType, ostream &inStream) |
Static constructor. | |
Protected Attributes inherited from ObjectStreamOut | |
ostream & | mStream |
Static Protected Attributes inherited from ObjectStream | |
static constexpr int | sVersion = 1 |
static constexpr int | sRevision = 0 |
static constexpr Identifier | sNullIdentifier = 0 |
Implementation of ObjectStream binary output stream.
|
explicit |
Constructor and destructor.
Implements IObjectStreamOut.
|
overridevirtual |
Implements IObjectStreamOut.
|
overridevirtual |
Implements IObjectStreamOut.
Implements IObjectStreamOut.
Implements IObjectStreamOut.
Implements IObjectStreamOut.
Implements IObjectStreamOut.
Implements IObjectStreamOut.
Implements IObjectStreamOut.
Implements IObjectStreamOut.
Implements IObjectStreamOut.
Implements IObjectStreamOut.
Implements IObjectStreamOut.
Implements IObjectStreamOut.
Implements IObjectStreamOut.
Implements IObjectStreamOut.
Implements IObjectStreamOut.
Implements IObjectStreamOut.
Implements IObjectStreamOut.
Implements IObjectStreamOut.
Implements IObjectStreamOut.