Jolt Physics
A multi core friendly Game Physics Engine
|
Implementation of ObjectStream text input stream. More...
#include <ObjectStreamTextIn.h>
Public Member Functions | |
JPH_OVERRIDE_NEW_DELETE | ObjectStreamTextIn (istream &inStream) |
Constructor. | |
Public Member Functions inherited from ObjectStreamIn | |
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) |
Input type specific operations | |
Read primitives | |
Read compounds | |
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 ObjectStreamIn | |
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) | |
Protected Types inherited from ObjectStream | |
using | Identifier = uint32 |
Identifier for objects. | |
Protected Member Functions inherited from ObjectStreamIn | |
ObjectStreamIn (istream &inStream) | |
Constructor. | |
Protected Member Functions inherited from ObjectStream | |
virtual | ~ObjectStream ()=default |
Destructor. | |
Static Protected Member Functions inherited from ObjectStreamIn | |
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. | |
Protected Attributes inherited from ObjectStreamIn | |
istream & | 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 text input stream.
|
explicit |
Constructor.
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
Implements IObjectStreamIn.
Implements IObjectStreamIn.
Implements IObjectStreamIn.
Implements IObjectStreamIn.
Implements IObjectStreamIn.
Implements IObjectStreamIn.
Implements IObjectStreamIn.
Implements IObjectStreamIn.
Implements IObjectStreamIn.
Implements IObjectStreamIn.
Implements IObjectStreamIn.
Implements IObjectStreamIn.
Implements IObjectStreamIn.
Implements IObjectStreamIn.
Implements IObjectStreamIn.
Implements IObjectStreamIn.
Implements IObjectStreamIn.
Implements IObjectStreamIn.