Open CASCADE Technology Reference Manual 8.0.2
Loading...
Searching...
No Matches
StdObjMgt_ReadData Class Reference

Auxiliary data used to read persistent objects from a file. More...

#include <StdObjMgt_ReadData.hxx>

Data Structures

class  ObjectSentry
 Auxiliary class used to automate begin and end of reading object (eating opening and closing parenthesis) at constructor and destructor. More...

Public Member Functions

 StdObjMgt_ReadData (const occ::handle< Storage_BaseDriver > &theDriver, const int theNumberOfObjects)
template<class Instantiator>
void CreatePersistentObject (const int theRef, Instantiator theInstantiator)
void ReadPersistentObject (const int theRef)
occ::handle< StdObjMgt_Persistent > PersistentObject (const int theRef) const
occ::handle< StdObjMgt_Persistent > ReadReference ()
template<class Persistent>
StdObjMgt_ReadData & operator>> (occ::handle< Persistent > &theTarget)
StdObjMgt_ReadData & operator>> (occ::handle< StdObjMgt_Persistent > &theTarget)
template<class Type>
StdObjMgt_ReadData & ReadValue (Type &theValue)
StdObjMgt_ReadData & operator>> (char &theValue)
StdObjMgt_ReadData & operator>> (char16_t &theValue)
StdObjMgt_ReadData & operator>> (int &theValue)
StdObjMgt_ReadData & operator>> (bool &theValue)
StdObjMgt_ReadData & operator>> (double &theValue)
StdObjMgt_ReadData & operator>> (float &theValue)

Detailed Description

Auxiliary data used to read persistent objects from a file.

Constructor & Destructor Documentation

◆ StdObjMgt_ReadData()

StdObjMgt_ReadData::StdObjMgt_ReadData ( const occ::handle< Storage_BaseDriver > & theDriver,
const int theNumberOfObjects )

Member Function Documentation

◆ CreatePersistentObject()

template<class Instantiator>
void StdObjMgt_ReadData::CreatePersistentObject ( const int theRef,
Instantiator theInstantiator )
inline

◆ operator>>() [1/8]

StdObjMgt_ReadData & StdObjMgt_ReadData::operator>> ( bool & theValue)
inline

◆ operator>>() [2/8]

StdObjMgt_ReadData & StdObjMgt_ReadData::operator>> ( char & theValue)
inline

◆ operator>>() [3/8]

StdObjMgt_ReadData & StdObjMgt_ReadData::operator>> ( char16_t & theValue)
inline

◆ operator>>() [4/8]

StdObjMgt_ReadData & StdObjMgt_ReadData::operator>> ( double & theValue)
inline

◆ operator>>() [5/8]

StdObjMgt_ReadData & StdObjMgt_ReadData::operator>> ( float & theValue)
inline

◆ operator>>() [6/8]

StdObjMgt_ReadData & StdObjMgt_ReadData::operator>> ( int & theValue)
inline

◆ operator>>() [7/8]

template<class Persistent>
StdObjMgt_ReadData & StdObjMgt_ReadData::operator>> ( occ::handle< Persistent > & theTarget)
inline

◆ operator>>() [8/8]

StdObjMgt_ReadData & StdObjMgt_ReadData::operator>> ( occ::handle< StdObjMgt_Persistent > & theTarget)
inline

◆ PersistentObject()

occ::handle< StdObjMgt_Persistent > StdObjMgt_ReadData::PersistentObject ( const int theRef) const
inline

◆ ReadPersistentObject()

void StdObjMgt_ReadData::ReadPersistentObject ( const int theRef)

◆ ReadReference()

occ::handle< StdObjMgt_Persistent > StdObjMgt_ReadData::ReadReference ( )

◆ ReadValue()

template<class Type>
StdObjMgt_ReadData & StdObjMgt_ReadData::ReadValue ( Type & theValue)
inline

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