Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
IObjectStreamIn Class Referenceabstract

Interface class for reading from an object stream. More...

#include <ObjectStream.h>

Inheritance diagram for IObjectStreamIn:
ObjectStream NonCopyable ObjectStreamIn ObjectStreamBinaryIn ObjectStreamTextIn

Public Member Functions

Input type specific operations
virtual bool ReadDataType (EOSDataType &outType)=0
 
virtual bool ReadName (String &outName)=0
 
virtual bool ReadIdentifier (Identifier &outIdentifier)=0
 
virtual bool ReadCount (uint32 &outCount)=0
 
Read primitives
virtual bool ReadPrimitiveData (uint8 &outPrimitive)=0
 
virtual bool ReadPrimitiveData (uint16 &outPrimitive)=0
 
virtual bool ReadPrimitiveData (int &outPrimitive)=0
 
virtual bool ReadPrimitiveData (uint32 &outPrimitive)=0
 
virtual bool ReadPrimitiveData (uint64 &outPrimitive)=0
 
virtual bool ReadPrimitiveData (float &outPrimitive)=0
 
virtual bool ReadPrimitiveData (double &outPrimitive)=0
 
virtual bool ReadPrimitiveData (bool &outPrimitive)=0
 
virtual bool ReadPrimitiveData (String &outPrimitive)=0
 
virtual bool ReadPrimitiveData (Float3 &outPrimitive)=0
 
virtual bool ReadPrimitiveData (Double3 &outPrimitive)=0
 
virtual bool ReadPrimitiveData (Vec3 &outPrimitive)=0
 
virtual bool ReadPrimitiveData (DVec3 &outPrimitive)=0
 
virtual bool ReadPrimitiveData (Vec4 &outPrimitive)=0
 
virtual bool ReadPrimitiveData (Quat &outPrimitive)=0
 
virtual bool ReadPrimitiveData (Mat44 &outPrimitive)=0
 
virtual bool ReadPrimitiveData (DMat44 &outPrimitive)=0
 
Read compounds
virtual bool ReadClassData (const char *inClassName, void *inInstance)=0
 
virtual bool ReadPointerData (const RTTI *inRTTI, void **inPointer, int inRefCountOffset=-1)=0
 
- 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...
 
- Protected Types inherited from ObjectStream
using Identifier = uint32
 Identifier for objects.
 
- Protected Member Functions inherited from ObjectStream
virtual ~ObjectStream ()=default
 Destructor.
 
- Static Protected Attributes inherited from ObjectStream
static constexpr int sVersion = 1
 
static constexpr int sRevision = 0
 
static constexpr Identifier sNullIdentifier = 0
 

Detailed Description

Interface class for reading from an object stream.

Member Function Documentation

◆ ReadClassData()

virtual bool IObjectStreamIn::ReadClassData ( const char *  inClassName,
void *  inInstance 
)
pure virtual

Implemented in ObjectStreamIn.

◆ ReadCount()

virtual bool IObjectStreamIn::ReadCount ( uint32 outCount)
pure virtual

◆ ReadDataType()

virtual bool IObjectStreamIn::ReadDataType ( EOSDataType outType)
pure virtual

◆ ReadIdentifier()

virtual bool IObjectStreamIn::ReadIdentifier ( Identifier outIdentifier)
pure virtual

◆ ReadName()

virtual bool IObjectStreamIn::ReadName ( String outName)
pure virtual

◆ ReadPointerData()

virtual bool IObjectStreamIn::ReadPointerData ( const RTTI inRTTI,
void **  inPointer,
int  inRefCountOffset = -1 
)
pure virtual

Implemented in ObjectStreamIn.

◆ ReadPrimitiveData() [1/17]

virtual bool IObjectStreamIn::ReadPrimitiveData ( bool &  outPrimitive)
pure virtual

◆ ReadPrimitiveData() [2/17]

virtual bool IObjectStreamIn::ReadPrimitiveData ( DMat44 outPrimitive)
pure virtual

◆ ReadPrimitiveData() [3/17]

virtual bool IObjectStreamIn::ReadPrimitiveData ( double &  outPrimitive)
pure virtual

◆ ReadPrimitiveData() [4/17]

virtual bool IObjectStreamIn::ReadPrimitiveData ( Double3 outPrimitive)
pure virtual

◆ ReadPrimitiveData() [5/17]

virtual bool IObjectStreamIn::ReadPrimitiveData ( DVec3 outPrimitive)
pure virtual

◆ ReadPrimitiveData() [6/17]

virtual bool IObjectStreamIn::ReadPrimitiveData ( float &  outPrimitive)
pure virtual

◆ ReadPrimitiveData() [7/17]

virtual bool IObjectStreamIn::ReadPrimitiveData ( Float3 outPrimitive)
pure virtual

◆ ReadPrimitiveData() [8/17]

virtual bool IObjectStreamIn::ReadPrimitiveData ( int &  outPrimitive)
pure virtual

◆ ReadPrimitiveData() [9/17]

virtual bool IObjectStreamIn::ReadPrimitiveData ( Mat44 outPrimitive)
pure virtual

◆ ReadPrimitiveData() [10/17]

virtual bool IObjectStreamIn::ReadPrimitiveData ( Quat outPrimitive)
pure virtual

◆ ReadPrimitiveData() [11/17]

virtual bool IObjectStreamIn::ReadPrimitiveData ( String outPrimitive)
pure virtual

◆ ReadPrimitiveData() [12/17]

virtual bool IObjectStreamIn::ReadPrimitiveData ( uint16 outPrimitive)
pure virtual

◆ ReadPrimitiveData() [13/17]

virtual bool IObjectStreamIn::ReadPrimitiveData ( uint32 outPrimitive)
pure virtual

◆ ReadPrimitiveData() [14/17]

virtual bool IObjectStreamIn::ReadPrimitiveData ( uint64 outPrimitive)
pure virtual

◆ ReadPrimitiveData() [15/17]

virtual bool IObjectStreamIn::ReadPrimitiveData ( uint8 outPrimitive)
pure virtual

◆ ReadPrimitiveData() [16/17]

virtual bool IObjectStreamIn::ReadPrimitiveData ( Vec3 outPrimitive)
pure virtual

◆ ReadPrimitiveData() [17/17]

virtual bool IObjectStreamIn::ReadPrimitiveData ( Vec4 outPrimitive)
pure virtual

The documentation for this class was generated from the following file: