#include <ObjectStreamIn.h>
|
template<class T > |
static bool | sReadObject (istream &inStream, T *&outObject) |
| Main function to read an object from a stream. More...
|
|
template<class T > |
static bool | sReadObject (istream &inStream, Ref< T > &outObject) |
| Main function to read an object from a stream (reference counting pointer version) More...
|
|
template<class T > |
static bool | sReadObject (const char *inFileName, T *&outObject) |
| Main function to read an object from a file. More...
|
|
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) More...
|
|
ObjectStreamIn contains all logic for reading an object from disk. It is the base class for the text and binary input streams (ObjectStreamTextIn and ObjectStreamBinaryIn).
◆ ObjectStreamIn()
◆ GetInfo()
bool ObjectStreamIn::GetInfo |
( |
istream & |
inStream, |
|
|
EStreamType & |
outType, |
|
|
int & |
outVersion, |
|
|
int & |
outRevision |
|
) |
| |
|
staticprotected |
Determine the type and version of an object stream.
◆ Open()
◆ Read()
void * ObjectStreamIn::Read |
( |
const RTTI * |
inRTTI | ) |
|
◆ ReadClassData() [1/2]
bool ObjectStreamIn::ReadClassData |
( |
const char * |
inClassName, |
|
|
void * |
inInstance |
|
) |
| |
|
overridevirtual |
◆ ReadClassData() [2/2]
bool ObjectStreamIn::ReadClassData |
( |
const ClassDescription & |
inClassDesc, |
|
|
void * |
inInstance |
|
) |
| |
◆ ReadObject()
void * ObjectStreamIn::ReadObject |
( |
const RTTI *& |
outRTTI | ) |
|
◆ ReadPointerData()
bool ObjectStreamIn::ReadPointerData |
( |
const RTTI * |
inRTTI, |
|
|
void ** |
inPointer, |
|
|
int |
inRefCountOffset = -1 |
|
) |
| |
|
overridevirtual |
◆ ReadRTTI()
bool ObjectStreamIn::ReadRTTI |
( |
| ) |
|
◆ SkipAttributeData()
bool ObjectStreamIn::SkipAttributeData |
( |
int |
inArrayDepth, |
|
|
EOSDataType |
inDataType, |
|
|
const char * |
inClassName |
|
) |
| |
◆ sReadObject() [1/4]
template<class T >
static bool ObjectStreamIn::sReadObject |
( |
const char * |
inFileName, |
|
|
Ref< T > & |
outObject |
|
) |
| |
|
inlinestatic |
Main function to read an object from a file (reference counting pointer version)
◆ sReadObject() [2/4]
template<class T >
static bool ObjectStreamIn::sReadObject |
( |
const char * |
inFileName, |
|
|
T *& |
outObject |
|
) |
| |
|
inlinestatic |
Main function to read an object from a file.
◆ sReadObject() [3/4]
template<class T >
static bool ObjectStreamIn::sReadObject |
( |
istream & |
inStream, |
|
|
Ref< T > & |
outObject |
|
) |
| |
|
inlinestatic |
Main function to read an object from a stream (reference counting pointer version)
◆ sReadObject() [4/4]
template<class T >
static bool ObjectStreamIn::sReadObject |
( |
istream & |
inStream, |
|
|
T *& |
outObject |
|
) |
| |
|
inlinestatic |
Main function to read an object from a stream.
◆ mStream
istream& ObjectStreamIn::mStream |
|
protected |
The documentation for this class was generated from the following files: