Open CASCADE Technology  7.5.0
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 Handle< Storage_BaseDriver > &theDriver, const Standard_Integer theNumberOfObjects)
 
template<class Instantiator >
void CreatePersistentObject (const Standard_Integer theRef, Instantiator theInstantiator)
 
void ReadPersistentObject (const Standard_Integer theRef)
 
Handle< StdObjMgt_PersistentPersistentObject (const Standard_Integer theRef) const
 
Handle< StdObjMgt_PersistentReadReference ()
 
template<class Persistent >
StdObjMgt_ReadDataoperator>> (Handle< Persistent > &theTarget)
 
StdObjMgt_ReadDataoperator>> (Handle< StdObjMgt_Persistent > &theTarget)
 
template<class Type >
StdObjMgt_ReadDataReadValue (Type &theValue)
 
StdObjMgt_ReadDataoperator>> (Standard_Character &theValue)
 
StdObjMgt_ReadDataoperator>> (Standard_ExtCharacter &theValue)
 
StdObjMgt_ReadDataoperator>> (Standard_Integer &theValue)
 
StdObjMgt_ReadDataoperator>> (Standard_Boolean &theValue)
 
StdObjMgt_ReadDataoperator>> (Standard_Real &theValue)
 
StdObjMgt_ReadDataoperator>> (Standard_ShortReal &theValue)
 

Detailed Description

Auxiliary data used to read persistent objects from a file.

Constructor & Destructor Documentation

◆ StdObjMgt_ReadData()

StdObjMgt_ReadData::StdObjMgt_ReadData ( const Handle< Storage_BaseDriver > &  theDriver,
const Standard_Integer  theNumberOfObjects 
)

Member Function Documentation

◆ CreatePersistentObject()

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

◆ operator>>() [1/8]

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

◆ operator>>() [2/8]

StdObjMgt_ReadData& StdObjMgt_ReadData::operator>> ( Handle< StdObjMgt_Persistent > &  theTarget)
inline

◆ operator>>() [3/8]

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

◆ operator>>() [4/8]

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

◆ operator>>() [5/8]

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

◆ operator>>() [6/8]

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

◆ operator>>() [7/8]

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

◆ operator>>() [8/8]

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

◆ PersistentObject()

Handle< StdObjMgt_Persistent > StdObjMgt_ReadData::PersistentObject ( const Standard_Integer  theRef) const
inline

◆ ReadPersistentObject()

void StdObjMgt_ReadData::ReadPersistentObject ( const Standard_Integer  theRef)

◆ ReadReference()

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: