Implementation of ObjectStream text input stream.
More...
#include <ObjectStreamTextIn.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 text input stream.
◆ ObjectStreamTextIn()
◆ ReadCount()
bool ObjectStreamTextIn::ReadCount |
( |
uint32 & |
outCount | ) |
|
|
overridevirtual |
◆ ReadDataType()
bool ObjectStreamTextIn::ReadDataType |
( |
EOSDataType & |
outType | ) |
|
|
overridevirtual |
◆ ReadIdentifier()
bool ObjectStreamTextIn::ReadIdentifier |
( |
Identifier & |
outIdentifier | ) |
|
|
overridevirtual |
◆ ReadName()
bool ObjectStreamTextIn::ReadName |
( |
String & |
outName | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [1/17]
bool ObjectStreamTextIn::ReadPrimitiveData |
( |
bool & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [2/17]
bool ObjectStreamTextIn::ReadPrimitiveData |
( |
DMat44 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [3/17]
bool ObjectStreamTextIn::ReadPrimitiveData |
( |
double & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [4/17]
bool ObjectStreamTextIn::ReadPrimitiveData |
( |
Double3 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [5/17]
bool ObjectStreamTextIn::ReadPrimitiveData |
( |
DVec3 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [6/17]
bool ObjectStreamTextIn::ReadPrimitiveData |
( |
float & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [7/17]
bool ObjectStreamTextIn::ReadPrimitiveData |
( |
Float3 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [8/17]
bool ObjectStreamTextIn::ReadPrimitiveData |
( |
int & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [9/17]
bool ObjectStreamTextIn::ReadPrimitiveData |
( |
Mat44 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [10/17]
bool ObjectStreamTextIn::ReadPrimitiveData |
( |
Quat & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [11/17]
bool ObjectStreamTextIn::ReadPrimitiveData |
( |
String & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [12/17]
bool ObjectStreamTextIn::ReadPrimitiveData |
( |
uint16 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [13/17]
bool ObjectStreamTextIn::ReadPrimitiveData |
( |
uint32 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [14/17]
bool ObjectStreamTextIn::ReadPrimitiveData |
( |
uint64 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [15/17]
bool ObjectStreamTextIn::ReadPrimitiveData |
( |
uint8 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [16/17]
bool ObjectStreamTextIn::ReadPrimitiveData |
( |
Vec3 & |
outPrimitive | ) |
|
|
overridevirtual |
◆ ReadPrimitiveData() [17/17]
bool ObjectStreamTextIn::ReadPrimitiveData |
( |
Vec4 & |
outPrimitive | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: