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

Interface class for writing to an object stream. More...

#include <ObjectStream.h>

Inheritance diagram for IObjectStreamOut:
ObjectStream NonCopyable ObjectStreamOut ObjectStreamBinaryOut ObjectStreamTextOut

Public Member Functions

Output type specific operations
virtual void WriteDataType (EOSDataType inType)=0
 
virtual void WriteName (const char *inName)=0
 
virtual void WriteIdentifier (Identifier inIdentifier)=0
 
virtual void WriteCount (uint32 inCount)=0
 
Write primitives
virtual void WritePrimitiveData (const uint8 &inPrimitive)=0
 
virtual void WritePrimitiveData (const uint16 &inPrimitive)=0
 
virtual void WritePrimitiveData (const int &inPrimitive)=0
 
virtual void WritePrimitiveData (const uint32 &inPrimitive)=0
 
virtual void WritePrimitiveData (const uint64 &inPrimitive)=0
 
virtual void WritePrimitiveData (const float &inPrimitive)=0
 
virtual void WritePrimitiveData (const double &inPrimitive)=0
 
virtual void WritePrimitiveData (const bool &inPrimitive)=0
 
virtual void WritePrimitiveData (const String &inPrimitive)=0
 
virtual void WritePrimitiveData (const Float3 &inPrimitive)=0
 
virtual void WritePrimitiveData (const Double3 &inPrimitive)=0
 
virtual void WritePrimitiveData (const Vec3 &inPrimitive)=0
 
virtual void WritePrimitiveData (const DVec3 &inPrimitive)=0
 
virtual void WritePrimitiveData (const Vec4 &inPrimitive)=0
 
virtual void WritePrimitiveData (const Quat &inPrimitive)=0
 
virtual void WritePrimitiveData (const Mat44 &inPrimitive)=0
 
virtual void WritePrimitiveData (const DMat44 &inPrimitive)=0
 
Write compounds
virtual void WritePointerData (const RTTI *inRTTI, const void *inPointer)=0
 
virtual void WriteClassData (const RTTI *inRTTI, const void *inInstance)=0
 
Layout hints (for text output)
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...
 
- 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 writing to an object stream.

Member Function Documentation

◆ HintIndentDown()

virtual void IObjectStreamOut::HintIndentDown ( )
inlinevirtual

Reimplemented in ObjectStreamTextOut.

◆ HintIndentUp()

virtual void IObjectStreamOut::HintIndentUp ( )
inlinevirtual

Reimplemented in ObjectStreamTextOut.

◆ HintNextItem()

virtual void IObjectStreamOut::HintNextItem ( )
inlinevirtual

Reimplemented in ObjectStreamTextOut.

◆ WriteClassData()

virtual void IObjectStreamOut::WriteClassData ( const RTTI inRTTI,
const void *  inInstance 
)
pure virtual

Implemented in ObjectStreamOut.

◆ WriteCount()

virtual void IObjectStreamOut::WriteCount ( uint32  inCount)
pure virtual

◆ WriteDataType()

virtual void IObjectStreamOut::WriteDataType ( EOSDataType  inType)
pure virtual

◆ WriteIdentifier()

virtual void IObjectStreamOut::WriteIdentifier ( Identifier  inIdentifier)
pure virtual

◆ WriteName()

virtual void IObjectStreamOut::WriteName ( const char *  inName)
pure virtual

◆ WritePointerData()

virtual void IObjectStreamOut::WritePointerData ( const RTTI inRTTI,
const void *  inPointer 
)
pure virtual

Implemented in ObjectStreamOut.

◆ WritePrimitiveData() [1/17]

virtual void IObjectStreamOut::WritePrimitiveData ( const bool &  inPrimitive)
pure virtual

◆ WritePrimitiveData() [2/17]

virtual void IObjectStreamOut::WritePrimitiveData ( const DMat44 inPrimitive)
pure virtual

◆ WritePrimitiveData() [3/17]

virtual void IObjectStreamOut::WritePrimitiveData ( const double &  inPrimitive)
pure virtual

◆ WritePrimitiveData() [4/17]

virtual void IObjectStreamOut::WritePrimitiveData ( const Double3 inPrimitive)
pure virtual

◆ WritePrimitiveData() [5/17]

virtual void IObjectStreamOut::WritePrimitiveData ( const DVec3 inPrimitive)
pure virtual

◆ WritePrimitiveData() [6/17]

virtual void IObjectStreamOut::WritePrimitiveData ( const float &  inPrimitive)
pure virtual

◆ WritePrimitiveData() [7/17]

virtual void IObjectStreamOut::WritePrimitiveData ( const Float3 inPrimitive)
pure virtual

◆ WritePrimitiveData() [8/17]

virtual void IObjectStreamOut::WritePrimitiveData ( const int &  inPrimitive)
pure virtual

◆ WritePrimitiveData() [9/17]

virtual void IObjectStreamOut::WritePrimitiveData ( const Mat44 inPrimitive)
pure virtual

◆ WritePrimitiveData() [10/17]

virtual void IObjectStreamOut::WritePrimitiveData ( const Quat inPrimitive)
pure virtual

◆ WritePrimitiveData() [11/17]

virtual void IObjectStreamOut::WritePrimitiveData ( const String inPrimitive)
pure virtual

◆ WritePrimitiveData() [12/17]

virtual void IObjectStreamOut::WritePrimitiveData ( const uint16 inPrimitive)
pure virtual

◆ WritePrimitiveData() [13/17]

virtual void IObjectStreamOut::WritePrimitiveData ( const uint32 inPrimitive)
pure virtual

◆ WritePrimitiveData() [14/17]

virtual void IObjectStreamOut::WritePrimitiveData ( const uint64 inPrimitive)
pure virtual

◆ WritePrimitiveData() [15/17]

virtual void IObjectStreamOut::WritePrimitiveData ( const uint8 inPrimitive)
pure virtual

◆ WritePrimitiveData() [16/17]

virtual void IObjectStreamOut::WritePrimitiveData ( const Vec3 inPrimitive)
pure virtual

◆ WritePrimitiveData() [17/17]

virtual void IObjectStreamOut::WritePrimitiveData ( const Vec4 inPrimitive)
pure virtual

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