![]() |
Jolt Physics
A multi core friendly Game Physics Engine
|
#include <ObjectStreamIn.h>
Static Public Member Functions | |
| template<class T > | |
| static bool | sReadObject (istream &inStream, T *&outObject) |
| Main function to read an object from a stream. | |
| template<class T > | |
| static bool | sReadObject (istream &inStream, Ref< T > &outObject) |
| Main function to read an object from a stream (reference counting pointer version) | |
| template<class T > | |
| static bool | sReadObject (const char *inFileName, T *&outObject) |
| Main function to read an object from a file. | |
| template<class T > | |
| static bool | sReadObject (const char *inFileName, Ref< T > &outObject) |
| Main function to read an object from a file (reference counting pointer version) | |
Serialization operations | |
| istream & | mStream |
| void * | Read (const RTTI *inRTTI) |
| void * | ReadObject (const RTTI *&outRTTI) |
| bool | ReadRTTI () |
| virtual bool | ReadClassData (const char *inClassName, void *inInstance) override |
| bool | ReadClassData (const ClassDescription &inClassDesc, void *inInstance) |
| virtual bool | ReadPointerData (const RTTI *inRTTI, void **inPointer, int inRefCountOffset=-1) override |
| bool | SkipAttributeData (int inArrayDepth, EOSDataType inDataType, const char *inClassName) |
| ObjectStreamIn (istream &inStream) | |
| Constructor. | |
| static bool | GetInfo (istream &inStream, EStreamType &outType, int &outVersion, int &outRevision) |
| Determine the type and version of an object stream. | |
| static ObjectStreamIn * | Open (istream &inStream) |
| Static constructor. | |
ObjectStreamIn contains all logic for reading an object from disk. It is the base class for the text and binary input streams (ObjectStreamTextIn and ObjectStreamBinaryIn).
|
explicitprotected |
Constructor.
|
staticprotected |
Determine the type and version of an object stream.
|
staticprotected |
Static constructor.
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
| bool ObjectStreamIn::ReadRTTI | ( | ) |
| bool ObjectStreamIn::SkipAttributeData | ( | int | inArrayDepth, |
| EOSDataType | inDataType, | ||
| const char * | inClassName ) |
|
inlinestatic |
Main function to read an object from a file (reference counting pointer version)
Main function to read an object from a file.
Main function to read an object from a stream (reference counting pointer version)
Main function to read an object from a stream.
|
protected |