Implementation of ObjectStream binary input stream.
More...
#include <ObjectStreamBinaryIn.h>
|
enum class | EStreamType { Text
, Binary
} |
| Stream type. More...
|
|
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)
|
|
using | Identifier = uint32 |
| Identifier for objects.
|
|
| ObjectStreamIn (istream &inStream) |
| Constructor.
|
|
virtual | ~ObjectStream ()=default |
| Destructor.
|
|
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.
|
|
istream & | mStream |
|
static constexpr int | sVersion = 1 |
|
static constexpr int | sRevision = 0 |
|
static constexpr Identifier | sNullIdentifier = 0 |
|
Implementation of ObjectStream binary input stream.
◆ ObjectStreamBinaryIn()
◆ ReadCount()
bool ObjectStreamBinaryIn::ReadCount |
( |
uint32 & |
outCount | ) |
|
|
overridevirtual |
◆ ReadDataType()
bool ObjectStreamBinaryIn::ReadDataType |
( |
EOSDataType & |
outType | ) |
|
|
overridevirtual |
◆ ReadIdentifier()
bool ObjectStreamBinaryIn::ReadIdentifier |
( |
Identifier & |
outIdentifier | ) |
|
|
overridevirtual |
◆ ReadName()
bool ObjectStreamBinaryIn::ReadName |
( |
String & |
outName | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [1/17]
bool ObjectStreamBinaryIn::ReadPrimitiveData |
( |
bool & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [2/17]
bool ObjectStreamBinaryIn::ReadPrimitiveData |
( |
DMat44 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [3/17]
bool ObjectStreamBinaryIn::ReadPrimitiveData |
( |
double & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [4/17]
bool ObjectStreamBinaryIn::ReadPrimitiveData |
( |
Double3 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [5/17]
bool ObjectStreamBinaryIn::ReadPrimitiveData |
( |
DVec3 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [6/17]
bool ObjectStreamBinaryIn::ReadPrimitiveData |
( |
float & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [7/17]
bool ObjectStreamBinaryIn::ReadPrimitiveData |
( |
Float3 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [8/17]
bool ObjectStreamBinaryIn::ReadPrimitiveData |
( |
int & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [9/17]
bool ObjectStreamBinaryIn::ReadPrimitiveData |
( |
Mat44 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [10/17]
bool ObjectStreamBinaryIn::ReadPrimitiveData |
( |
Quat & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [11/17]
bool ObjectStreamBinaryIn::ReadPrimitiveData |
( |
String & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [12/17]
bool ObjectStreamBinaryIn::ReadPrimitiveData |
( |
uint16 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [13/17]
bool ObjectStreamBinaryIn::ReadPrimitiveData |
( |
uint32 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [14/17]
bool ObjectStreamBinaryIn::ReadPrimitiveData |
( |
uint64 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [15/17]
bool ObjectStreamBinaryIn::ReadPrimitiveData |
( |
uint8 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [16/17]
bool ObjectStreamBinaryIn::ReadPrimitiveData |
( |
Vec3 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [17/17]
bool ObjectStreamBinaryIn::ReadPrimitiveData |
( |
Vec4 & |
outPrimitive | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: