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. More... | |
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 |
Input type specific operations | |
virtual bool | ReadDataType (EOSDataType &outType) override |
virtual bool | ReadName (String &outName) override |
virtual bool | ReadIdentifier (Identifier &outIdentifier) override |
virtual bool | ReadCount (uint32 &outCount) override |
virtual bool | ReadPrimitiveData (uint8 &outPrimitive) override |
virtual bool | ReadPrimitiveData (uint16 &outPrimitive) override |
virtual bool | ReadPrimitiveData (int &outPrimitive) override |
virtual bool | ReadPrimitiveData (uint32 &outPrimitive) override |
virtual bool | ReadPrimitiveData (uint64 &outPrimitive) override |
virtual bool | ReadPrimitiveData (float &outPrimitive) override |
virtual bool | ReadPrimitiveData (double &outPrimitive) override |
virtual bool | ReadPrimitiveData (bool &outPrimitive) override |
virtual bool | ReadPrimitiveData (String &outPrimitive) override |
virtual bool | ReadPrimitiveData (Float3 &outPrimitive) override |
virtual bool | ReadPrimitiveData (Double3 &outPrimitive) override |
virtual bool | ReadPrimitiveData (Vec3 &outPrimitive) override |
virtual bool | ReadPrimitiveData (DVec3 &outPrimitive) override |
virtual bool | ReadPrimitiveData (Vec4 &outPrimitive) override |
virtual bool | ReadPrimitiveData (Quat &outPrimitive) override |
virtual bool | ReadPrimitiveData (Mat44 &outPrimitive) override |
virtual bool | ReadPrimitiveData (DMat44 &outPrimitive) override |
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. More... | |
template<class T > | |
static bool | sReadObject (istream &inStream, Ref< T > &outObject) |
Main function to read an object from a stream (reference counting pointer version) More... | |
template<class T > | |
static bool | sReadObject (const char *inFileName, T *&outObject) |
Main function to read an object from a file. More... | |
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) More... | |
Protected Types inherited from ObjectStream | |
using | Identifier = uint32 |
Identifier for objects. More... | |
Protected Member Functions inherited from ObjectStreamIn | |
ObjectStreamIn (istream &inStream) | |
Constructor. More... | |
Protected Member Functions inherited from ObjectStream | |
virtual | ~ObjectStream ()=default |
Destructor. More... | |
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. More... | |
static ObjectStreamIn * | Open (istream &inStream) |
Static constructor. More... | |
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.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.
|
overridevirtual |
Implements IObjectStreamIn.