#include <TPZPersistenceManager.h>
Definition at line 26 of file TPZPersistenceManager.h.
◆ TPZPersistenceManager()
TPZPersistenceManager::TPZPersistenceManager |
( |
| ) |
|
|
private |
◆ AddInstanceToVec()
void TPZPersistenceManager::AddInstanceToVec |
( |
TPZSavable * |
obj, |
|
|
const int & |
id |
|
) |
| |
|
staticprotected |
◆ CloseRead()
void TPZPersistenceManager::CloseRead |
( |
| ) |
|
|
static |
◆ CloseWrite()
void TPZPersistenceManager::CloseWrite |
( |
| ) |
|
|
static |
◆ GetAutoPointer() [1/2]
Definition at line 417 of file TPZPersistenceManager.cpp.
References DebugStop, and TPZSavable::Read().
Referenced by TPZMGSolver< TVar >::Read(), TPZStructMatrixTBBFlow::Read(), TPZStructMatrixBase::Read(), TPZBndCond::TPZ_BCDefine::Read(), TPZDohrStructMatrix::Read(), TPZAnalysis::Read(), TPZDohrMatrix< TVar, TSubStruct >::Read(), TPZMatrixSolver< STATE >::Read(), TPZMatRed< TTVar, TPZFMatrix< TTVar > >::Read(), TPZMaterial::Read(), TPZCompMesh::Read(), and TPZStream::ReadPointers().
◆ GetAutoPointer() [2/2]
◆ GetInstance() [1/2]
TPZSavable * TPZPersistenceManager::GetInstance |
( |
const int64_t & |
objId | ) |
|
|
static |
Definition at line 397 of file TPZPersistenceManager.cpp.
References DebugStop, and TPZSavable::Read().
Referenced by TPZGraphNode::Read(), TPZGraphEl::Read(), TPZGraphMesh::Read(), TPZMGSolver< TVar >::Read(), TPZSequenceSolver< TVar >::Read(), TPZCompMeshReferred::Read(), TPZStructMatrixTBBFlow::Read(), TPZPostProcAnalysis::Read(), TPZConnect::TPZDepend::Read(), TPZStructMatrixBase::Read(), TPZGeoMesh::Read(), TPZStepSolver< TVar >::Read(), TPZDohrPrecond< TVar, TSubStruct >::Read(), TPZAnalysis::Read(), TPZGeoEl::Read(), TPZBlock< STATE >::Read(), TPZConnect::Read(), TPZGeoElSide::Read(), TPZInterfaceElement::Read(), TPZCompElDisc::Read(), TPZBndCond::Read(), TPZCompEl::Read(), TPZCompMesh::Read(), ReadInternal(), and TPZStream::ReadPointers().
◆ GetInstance() [2/2]
◆ GetSharedPointer() [1/2]
std::shared_ptr< TPZSavable > TPZPersistenceManager::GetSharedPointer |
( |
const int64_t & |
objId | ) |
|
|
static |
◆ GetSharedPointer() [2/2]
◆ NewChunkInTranslation()
int64_t TPZPersistenceManager::NewChunkInTranslation |
( |
| ) |
|
|
static |
◆ NewRestoredInstance()
◆ OpenRead()
unsigned int TPZPersistenceManager::OpenRead |
( |
const std::string & |
fileName, |
|
|
streamType |
cStreamType = binary |
|
) |
| |
|
static |
Definition at line 208 of file TPZPersistenceManager.cpp.
References TPZPersistenceManagerNS::ascii, TPZPersistenceManagerNS::binary, TPZSavable::ClassId(), TPZSavable::ClassIdMap(), TPZSavable::CreateInstance(), DebugStop, TPZChunkInTranslation::GetClassId(), TPZChunkInTranslation::mNewStream, TPZChunkInTranslation::mNewVersion, TPZChunkInTranslation::mOldStream, PZError, TPZContBufferedStream::Read(), TPZSavable::RegisterClassId(), TPZSavable::RestoreClassSet(), TPZChunkTranslator::UpdateStream(), and TPZSavable::VersionHistory().
Referenced by TPZCheckConsistency::CheckObject().
◆ OpenWrite()
void TPZPersistenceManager::OpenWrite |
( |
const std::string & |
fileName, |
|
|
streamType |
cStreamType = binary |
|
) |
| |
|
static |
◆ ReadFromFile()
TPZSavable * TPZPersistenceManager::ReadFromFile |
( |
| ) |
|
|
static |
◆ ScheduleToWrite()
int64_t TPZPersistenceManager::ScheduleToWrite |
( |
const TPZSavable * |
obj | ) |
|
|
static |
◆ SetChunk()
◆ TranslateNextPointer()
void TPZPersistenceManager::TranslateNextPointer |
( |
TPZChunkInTranslation & |
chunk, |
|
|
const std::map< std::string, uint64_t > & |
toVersion |
|
) |
| |
|
static |
◆ TranslatePointers()
void TPZPersistenceManager::TranslatePointers |
( |
TPZChunkInTranslation & |
chunk, |
|
|
const std::map< std::string, uint64_t > & |
toVersion |
|
) |
| |
|
static |
◆ WritePointer()
Definition at line 182 of file TPZPersistenceManager.cpp.
References TPZStream::Write().
Referenced by TPZGraphNode::Write(), TPZGraphEl::Write(), TPZGraphMesh::Write(), TPZMGSolver< TVar >::Write(), TPZBndCondWithMem< TMEM >::Write(), TPZSequenceSolver< TVar >::Write(), TPZMatWithMem< TPZFMatrix< REAL >, TPZElasticity3D >::Write(), TPZCompMeshReferred::Write(), TPZPostProcAnalysis::Write(), TPZStructMatrixTBBFlow::Write(), TPZConnect::TPZDepend::Write(), TPZStructMatrixBase::Write(), TPZBndCond::TPZ_BCDefine::Write(), TPZDohrStructMatrix::Write(), TPZGeoMesh::Write(), TPZStepSolver< TVar >::Write(), TPZDohrPrecond< TVar, TSubStruct >::Write(), TPZAnalysis::Write(), TPZDohrMatrix< TVar, TSubStruct >::Write(), TPZMatrixSolver< STATE >::Write(), TPZGeoEl::Write(), TPZBlock< STATE >::Write(), TPZMatRed< TTVar, TPZFMatrix< TTVar > >::Write(), TPZConnect::Write(), TPZGeoElSide::Write(), TPZInterfaceElement::Write(), TPZCompElDisc::Write(), TPZBndCond::Write(), TPZCompEl::Write(), TPZMaterial::Write(), TPZCompMesh::Write(), WriteInternal(), and TPZStream::WritePointers().
◆ WriteToFile()
void TPZPersistenceManager::WriteToFile |
( |
const TPZSavable * |
obj | ) |
|
|
static |
◆ mChunksVec
◆ mCurrentObjectStream
◆ mFileVersionInfo
std::map< std::string, uint64_t > TPZPersistenceManager::mFileVersionInfo |
|
staticprotected |
◆ mMainObjIds
TPZVec< int64_t > TPZPersistenceManager::mMainObjIds |
|
staticprotected |
◆ mNextMainObjIndex
unsigned int TPZPersistenceManager::mNextMainObjIndex |
|
staticprotected |
◆ mNextPointerToSave
int64_t TPZPersistenceManager::mNextPointerToSave |
|
static |
◆ mObjectsStream
◆ mObjMap
std::map< const TPZSavable *, int64_t > TPZPersistenceManager::mObjMap |
|
static |
◆ mObjVec
◆ mPointersToSave
◆ mpStream
◆ mVersionHistory
std::list< std::map< std::string, uint64_t > > TPZPersistenceManager::mVersionHistory |
|
staticprotected |
The documentation for this class was generated from the following files: