NeoPZ
Public Member Functions | Public Attributes | Private Member Functions | List of all members
TPZChunkInTranslation Class Reference

#include <TPZChunkInTranslation.h>

Collaboration diagram for TPZChunkInTranslation:
[legend]

Public Member Functions

 TPZChunkInTranslation (const int64_t &objId, const int &classId, TPZStream &stream, const size_t &chunkSize, const std::map< std::string, uint64_t > &versionInfo)
 
 TPZChunkInTranslation (const int64_t &objId, const int &classId, const TPZContBufferedStream &mOldStream, const std::map< std::string, uint64_t > &versionInfo)
 
 TPZChunkInTranslation (const TPZChunkInTranslation &orig)
 
virtual ~TPZChunkInTranslation ()
 
int64_t GetObjId () const
 
int GetClassId () const
 

Public Attributes

TPZContBufferedStream mOldStream
 
TPZContBufferedStream mNewStream
 
std::map< std::string, uint64_t > mOldVersion
 
std::map< std::string, uint64_t > mNewVersion
 
int64_t mObjId
 
int mClassId
 
TPZStack< int64_t, 2 > mNewObjIds
 

Private Member Functions

void ReadFromStream (TPZStream &stream, const size_t nBytes)
 

Detailed Description

Definition at line 15 of file TPZChunkInTranslation.h.

Constructor & Destructor Documentation

◆ TPZChunkInTranslation() [1/3]

TPZChunkInTranslation::TPZChunkInTranslation ( const int64_t &  objId,
const int &  classId,
TPZStream stream,
const size_t &  chunkSize,
const std::map< std::string, uint64_t > &  versionInfo 
)

Definition at line 10 of file TPZChunkInTranslation.cpp.

References ReadFromStream().

◆ TPZChunkInTranslation() [2/3]

TPZChunkInTranslation::TPZChunkInTranslation ( const int64_t &  objId,
const int &  classId,
const TPZContBufferedStream mOldStream,
const std::map< std::string, uint64_t > &  versionInfo 
)

Definition at line 17 of file TPZChunkInTranslation.cpp.

◆ TPZChunkInTranslation() [3/3]

TPZChunkInTranslation::TPZChunkInTranslation ( const TPZChunkInTranslation orig)

Definition at line 24 of file TPZChunkInTranslation.cpp.

◆ ~TPZChunkInTranslation()

TPZChunkInTranslation::~TPZChunkInTranslation ( )
virtual

Definition at line 27 of file TPZChunkInTranslation.cpp.

Member Function Documentation

◆ GetClassId()

int TPZChunkInTranslation::GetClassId ( ) const

Definition at line 41 of file TPZChunkInTranslation.cpp.

References mClassId.

Referenced by TPZPersistenceManager::OpenRead().

◆ GetObjId()

int64_t TPZChunkInTranslation::GetObjId ( ) const

Definition at line 37 of file TPZChunkInTranslation.cpp.

References mObjId.

◆ ReadFromStream()

void TPZChunkInTranslation::ReadFromStream ( TPZStream stream,
const size_t  nBytes 
)
private

Member Data Documentation

◆ mClassId

int TPZChunkInTranslation::mClassId

Definition at line 33 of file TPZChunkInTranslation.h.

Referenced by GetClassId().

◆ mNewObjIds

TPZStack<int64_t, 2> TPZChunkInTranslation::mNewObjIds

◆ mNewStream

TPZContBufferedStream TPZChunkInTranslation::mNewStream

◆ mNewVersion

std::map<std::string, uint64_t> TPZChunkInTranslation::mNewVersion

Definition at line 30 of file TPZChunkInTranslation.h.

Referenced by TPZPersistenceManager::OpenRead().

◆ mObjId

int64_t TPZChunkInTranslation::mObjId

Definition at line 32 of file TPZChunkInTranslation.h.

Referenced by GetObjId().

◆ mOldStream

TPZContBufferedStream TPZChunkInTranslation::mOldStream

◆ mOldVersion

std::map<std::string, uint64_t> TPZChunkInTranslation::mOldVersion

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