Jolt Physics
A multi core friendly Game Physics Engine
Loading...
Searching...
No Matches
ObjectStream Class Reference

Base class for object stream input and output streams. More...

#include <ObjectStream.h>

Inheritance diagram for ObjectStream:
NonCopyable IObjectStreamIn IObjectStreamOut ObjectStreamIn ObjectStreamOut ObjectStreamBinaryIn ObjectStreamTextIn ObjectStreamBinaryOut ObjectStreamTextOut

Public Types

enum class  EStreamType { Text , Binary }
 Stream type. More...
 

Protected Types

using Identifier = uint32
 Identifier for objects.
 

Protected Member Functions

virtual ~ObjectStream ()=default
 Destructor.
 

Static Protected Attributes

static constexpr int sVersion = 1
 
static constexpr int sRevision = 0
 
static constexpr Identifier sNullIdentifier = 0
 

Additional Inherited Members

- Public Member Functions inherited from NonCopyable
 NonCopyable ()=default
 
 NonCopyable (const NonCopyable &)=delete
 
void operator= (const NonCopyable &)=delete
 

Detailed Description

Base class for object stream input and output streams.

Member Typedef Documentation

◆ Identifier

using ObjectStream::Identifier = uint32
protected

Identifier for objects.

Member Enumeration Documentation

◆ EStreamType

enum class ObjectStream::EStreamType
strong

Stream type.

Enumerator
Text 
Binary 

Constructor & Destructor Documentation

◆ ~ObjectStream()

virtual ObjectStream::~ObjectStream ( )
protectedvirtualdefault

Destructor.

Member Data Documentation

◆ sNullIdentifier

constexpr Identifier ObjectStream::sNullIdentifier = 0
staticconstexprprotected

◆ sRevision

constexpr int ObjectStream::sRevision = 0
staticconstexprprotected

◆ sVersion

constexpr int ObjectStream::sVersion = 1
staticconstexprprotected

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