Open CASCADE Technology Reference Manual 8.0.0
Loading...
Searching...
No Matches
Data Structures | Public Member Functions
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_PersistentPersistentObject (const int theRef) const
 
occ::handle< StdObjMgt_PersistentReadReference ()
 
template<class Persistent >
StdObjMgt_ReadDataoperator>> (occ::handle< Persistent > &theTarget)
 
StdObjMgt_ReadDataoperator>> (occ::handle< StdObjMgt_Persistent > &theTarget)
 
template<class Type >
StdObjMgt_ReadDataReadValue (Type &theValue)
 
StdObjMgt_ReadDataoperator>> (char &theValue)
 
StdObjMgt_ReadDataoperator>> (char16_t &theValue)
 
StdObjMgt_ReadDataoperator>> (int &theValue)
 
StdObjMgt_ReadDataoperator>> (bool &theValue)
 
StdObjMgt_ReadDataoperator>> (double &theValue)
 
StdObjMgt_ReadDataoperator>> (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: