NeoPZ
Public Member Functions | List of all members
TPZStream Class Referenceabstract

Defines the interface for saving and reading data. Persistency. More...

#include <TPZStream.h>

Inheritance diagram for TPZStream:
[legend]

Public Member Functions

 TPZStream ()
 
virtual ~TPZStream ()
 
virtual void Write (const bool val)
 
virtual void Write (const int *p, int howMany=1)=0
 
virtual void Write (const unsigned int *p, int howMany=1)=0
 
virtual void Write (const int64_t *p, int howMany=1)=0
 
virtual void Write (const uint64_t *p, int howMany=1)=0
 
virtual void Write (const float *p, int howMany=1)=0
 
virtual void Write (const double *p, int howMany=1)=0
 
virtual void Write (const long double *p, int howMany=1)
 Writes howMany floating points at pointer location p. More...
 
virtual void Write (const unsigned char *p, int howMany=1)=0
 
virtual void Write (const char *p, int howMany=1)=0
 
virtual void Write (const std::string *p, int howMany=1)
 
virtual void Write (const std::complex< float > *p, int howMany=1)=0
 
virtual void Write (const std::complex< double > *p, int howMany=1)=0
 
virtual void Write (const std::complex< long double > *p, int howMany=1)
 Writes howMany complex-long double at pointer location p. More...
 
void Write (const TPZFlopCounter *p, int howMany=1)
 
virtual void Read (bool &val)
 
virtual void Read (int *p, int howMany=1)=0
 
virtual void Read (unsigned int *p, int howMany=1)=0
 
virtual void Read (int64_t *p, int howMany=1)=0
 
virtual void Read (uint64_t *p, int howMany=1)=0
 
virtual void Read (float *p, int howMany=1)=0
 
virtual void Read (double *p, int howMany=1)=0
 
virtual void Read (long double *p, int howMany=1)
 
virtual void Read (unsigned char *p, int howMany=1)=0
 
virtual void Read (char *p, int howMany=1)=0
 
virtual void Read (std::string *p, int howMany=1)
 
virtual void Read (std::complex< float > *p, int howMany=1)=0
 
virtual void Read (std::complex< double > *p, int howMany=1)=0
 
virtual void Read (std::complex< long double > *p, int howMany=1)
 Reads howMany complex-long double from pointer location p. More...
 
void Read (TPZFlopCounter *p, int howMany=1)
 
template<class T , typename std::enable_if<(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void Write (const TPZVec< T > &vec)
 
template<class T , typename std::enable_if<!(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void Write (const TPZVec< T > &vec)
 
template<class T >
void WritePointers (const TPZVec< TPZAutoPointer< T >> &vec)
 
template<class T , typename std::enable_if<(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void Write (const std::vector< T > &vec)
 
template<class T , typename std::enable_if<!(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void Write (const std::vector< T > &vec)
 
void Write (const TPZVec< TPZFlopCounter > &vec)
 
template<class T , class U >
void Write (const std::map< T, U > &vec)
 
template<class T , typename std::enable_if<(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void Write (const std::set< T > &vec)
 
template<class T >
void Read (TPZVec< T > &vec)
 
template<class T , typename std::enable_if<!(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void Read (TPZVec< T > &vec, void *context)
 
template<class T , typename std::enable_if<(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void Read (TPZVec< T > &vec, void *context)
 
template<class T >
void ReadPointers (TPZVec< TPZAutoPointer< T >> &vec)
 
void Read (TPZVec< TPZFlopCounter > &vec)
 
template<class T , typename std::enable_if<!(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void Read (std::vector< T > &vec, void *context)
 
template<class T , typename std::enable_if<(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void Read (std::vector< T > &vec, void *context)
 
template<int N>
void Read (TPZManVector< REAL, N > &vec)
 
template<int N>
void Read (TPZManVector< int64_t, N > &vec)
 
template<class T , class U >
void Read (std::map< T, U > &vec)
 
template<class T , typename std::enable_if<(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void Read (std::set< T > &vec)
 
template<class T >
void WritePointers (const TPZVec< T *> &vec)
 
template<class T >
void ReadPointers (TPZVec< T *> &vec)
 
template<class T >
void WritePointers (const std::map< int, TPZAutoPointer< T >> &vec)
 
template<class T >
void ReadPointers (std::map< int, TPZAutoPointer< T > > &vec)
 
template<class T >
void WritePointers (const std::map< int, T *> &vec)
 
template<class T >
void ReadPointers (std::map< int, T *> &vec)
 
template<class T >
void WritePointers (const std::set< T *> &vec)
 
template<class T >
void ReadPointers (std::set< T *> &vec)
 
template<class T , int EXP>
void WritePointers (const TPZChunkVector< T *, EXP > &vec)
 
template<class T , int EXP>
void ReadPointers (TPZChunkVector< T *, EXP > &vec)
 
template<class T , int EXP>
void WritePointers (const TPZAdmChunkVector< T *, EXP > &vec)
 
template<class T , int EXP>
void ReadPointers (TPZAdmChunkVector< T *, EXP > &vec)
 
template<class T >
void ReadPointers (std::map< int, TPZAutoPointer< T >> &map)
 

Detailed Description

Defines the interface for saving and reading data. Persistency.

In fact, this class could use the facilities of the stream class of the std library This class is a subset of the functionality of the stream classes

Definition at line 50 of file TPZStream.h.

Constructor & Destructor Documentation

◆ TPZStream()

TPZStream::TPZStream ( )
inline

Definition at line 53 of file TPZStream.h.

◆ ~TPZStream()

virtual TPZStream::~TPZStream ( )
inlinevirtual

Definition at line 56 of file TPZStream.h.

References Read(), val(), and Write().

Member Function Documentation

◆ Read() [1/25]

void TPZStream::Read ( bool &  val)
virtual

Definition at line 91 of file TPZStream.cpp.

References Read().

Referenced by TPZPersistenceManager::GetAutoPointer(), TPZCircBufferedStream::GetDataFromBuffer(), TPZPersistenceManager::GetInstance(), TPZPersistenceManager::GetSharedPointer(), TPZYCCamClayPV::Read(), TPZGraphNode::Read(), TPZPoroElastoPlasticMem::Read(), TPZElastoPlasticMem::Read(), TPZRenumbering::Read(), TPZGraphEl::Read(), TPZPostProcVar::Read(), TPZPermutation::Read(), TPZPorousElastoPlasticMem::Read(), TPZEquationFilter::Read(), TPZDohrAssembly< STATE >::Read(), TPZLadeKimThermoForceA::Read(), TPZGraphMesh::Read(), TPZYCModifiedMohrCoulomb::Read(), TPZGeoNode::Read(), TPZMGSolver< TVar >::Read(), TPZSequenceSolver< TVar >::Read(), TPZBndCondWithMem< TMEM >::Read(), TPZPorousElasticResponse::Read(), TPZGeoElement< TGeo, TRef >::Read(), TPZThermoForceA::Read(), TPZGuiInterface::Read(), TPZMatWithMem< TPZFMatrix< REAL >, TPZElasticity3D >::Read(), TPZElasticResponse::Read(), TPZLadeNelsonElasticResponse::Read(), TPZCreateApproximationSpace::Read(), TPZStructMatrixGCTP::Read(), TPZCompMeshReferred::Read(), TPZStructMatrixGC::Read(), TPZYCSandlerDimaggio::Read(), TPZGeoElSideIndex::Read(), TPZOneShapeRestraint::Read(), TPZYCLadeKim::Read(), TPZPlasticState< STATE >::Read(), TPZStructMatrixTBBFlow::Read(), TPZYCRankine< T_YCBASE >::Read(), TPZStructMatrixOT::Read(), TPZConnect::TPZDepend::Read(), TPZSandlerExtended::Read(), TPZStructMatrixBase::Read(), TPZTransform< T >::Read(), TPZAnalysis::TTablePostProcess::Read(), TPZViscoelastic::Read(), pzgeom::TPZNodeRep< 15, pztopology::TPZPrism >::Read(), TPZMaterialTest3D::Read(), TPZGeoMesh::Read(), TPZDohrStructMatrix::Read(), TPZRefPattern::SPZFatherSideInfo::Read(), TPZDruckerPrager::Read(), TPZVerySparseMatrix< TVar >::Read(), TPZYCMohrCoulombPV::Read(), TPZStepSolver< TVar >::Read(), TPZYCMohrCoulomb::Read(), TPZCompElWithMem< TBASE >::Read(), TPZDohrPrecond< TVar, TSubStruct >::Read(), TPZArtDiff::Read(), TPZAdmChunkVector< TPZGeoEl *>::Read(), TPZGeoElRefPattern< TGeo >::Read(), TPZDohrSubstructCondense< TTVar >::Read(), Read(), TFad< Num, T >::Read(), TPZAnalysis::Read(), TPZMohrCoulomb::Read(), TPZLadeKim::Read(), TPZMaterialData::Read(), TPZDohrMatrix< TVar, TSubStruct >::Read(), TPZIntelGen< TSHAPE >::Read(), TPZNullMaterial::Read(), TPZMatElastoPlastic2D< T, TMEM >::Read(), TPZSkylNSymMatrix< TVar >::Read(), pzgeom::TPZWavyLine::Read(), TPZElasticityAxiMaterial::Read(), TPZCompElHDivPressure< TSHAPE >::Read(), pzgeom::TPZTriangleTorus::Read(), TPZPostProcMat::Read(), TPZCompElHDivBound2< TSHAPE >::Read(), TPZGeoEl::Read(), TPZBlock< STATE >::Read(), TPZYCWillamWarnke::Read(), TPZPlasticStepPV< YC_t, ER_t >::Read(), TPZMatElastoPlastic< T, TMEM >::Read(), TPZBlock< TVar >::TNode::Read(), TPZVecL2::Read(), TPZMatRed< TTVar, TPZFMatrix< TTVar > >::Read(), TPZElasticityMaterial::Read(), TPZAgglomerateElement::Read(), TPZConservationLaw::Read(), TPZMatElasticity2D::Read(), pzgeom::TPZArc3D::Read(), pzgeom::TPZQuadSphere< GeomQuad >::Read(), TPZChunkVector< TPZGraphNode, 10 >::Read(), pzgeom::TPZTriangleSphere< GeomTriang >::Read(), TPZMatLaplacian::Read(), TPZTensor< STATE >::Read(), TPZElasticity3D::Read(), TPZCompElHDiv< TSHAPE >::Read(), TPZMixedElasticityMaterial::Read(), TPZLagrangeMultiplier::Read(), TPZConnect::Read(), TPZMatPoisson3d::Read(), TPZRefPattern::Read(), TPZGeoElSide::Read(), TPZInterpolationSpace::Read(), TPZInterfaceElement::Read(), TPZSubCompMesh::Read(), TPZCompElDisc::Read(), TPZFMatrix< STATE >::Read(), TPZBndCond::Read(), TPZEulerConsLaw::Read(), TPZSkylMatrix< TVar >::Read(), TPZPlasticStep< YC_t, TF_t, ER_t >::Read(), TPZCompEl::Read(), TPZMaterial::Read(), TPZCompMesh::Read(), TPZMatrix< STATE >::Read(), TPZFNMatrix< 30, std::complex< double > >::Read(), TPZChunkInTranslation::ReadFromStream(), ReadInternal(), TPZVerySparseMatrix< TVar >::ReadMap(), ReadPointers(), TPZFileStream::Write(), and ~TPZStream().

◆ Read() [2/25]

virtual void TPZStream::Read ( int *  p,
int  howMany = 1 
)
pure virtual

◆ Read() [3/25]

virtual void TPZStream::Read ( unsigned int *  p,
int  howMany = 1 
)
pure virtual

◆ Read() [4/25]

virtual void TPZStream::Read ( int64_t *  p,
int  howMany = 1 
)
pure virtual

◆ Read() [5/25]

virtual void TPZStream::Read ( uint64_t *  p,
int  howMany = 1 
)
pure virtual

◆ Read() [6/25]

virtual void TPZStream::Read ( float *  p,
int  howMany = 1 
)
pure virtual

◆ Read() [7/25]

virtual void TPZStream::Read ( double *  p,
int  howMany = 1 
)
pure virtual

◆ Read() [8/25]

void TPZStream::Read ( long double *  p,
int  howMany = 1 
)
virtual

Reimplemented in TPZMD5Stream, and TPZCircBufferedStream.

Definition at line 129 of file TPZStream.cpp.

References Read().

◆ Read() [9/25]

virtual void TPZStream::Read ( unsigned char *  p,
int  howMany = 1 
)
pure virtual

◆ Read() [10/25]

virtual void TPZStream::Read ( char *  p,
int  howMany = 1 
)
pure virtual

◆ Read() [11/25]

void TPZStream::Read ( std::string *  p,
int  howMany = 1 
)
virtual

Reimplemented in TPZMD5Stream.

Definition at line 148 of file TPZStream.cpp.

References Read().

◆ Read() [12/25]

virtual void TPZStream::Read ( std::complex< float > *  p,
int  howMany = 1 
)
pure virtual

◆ Read() [13/25]

virtual void TPZStream::Read ( std::complex< double > *  p,
int  howMany = 1 
)
pure virtual

◆ Read() [14/25]

void TPZStream::Read ( std::complex< long double > *  p,
int  howMany = 1 
)
virtual

Reads howMany complex-long double from pointer location p.

Reimplemented in TPZMD5Stream.

Definition at line 139 of file TPZStream.cpp.

References Read().

◆ Read() [15/25]

void TPZStream::Read ( TPZFlopCounter p,
int  howMany = 1 
)

Definition at line 162 of file TPZStream.cpp.

References DebugStop, Read(), and Write().

◆ Read() [16/25]

template<class T >
void TPZStream::Read ( TPZVec< T > &  vec)
inline

Definition at line 279 of file TPZStream.h.

References Read().

◆ Read() [17/25]

template<class T , typename std::enable_if<!(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void TPZStream::Read ( TPZVec< T > &  vec,
void *  context 
)
inline

Definition at line 285 of file TPZStream.h.

References Read(), and TPZVec< T >::Resize().

◆ Read() [18/25]

template<class T , typename std::enable_if<(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void TPZStream::Read ( TPZVec< T > &  vec,
void *  context 
)
inline

Definition at line 296 of file TPZStream.h.

References Read(), and TPZVec< T >::Resize().

◆ Read() [19/25]

void TPZStream::Read ( TPZVec< TPZFlopCounter > &  vec)
inline

Definition at line 314 of file TPZStream.h.

References Read(), and TPZVec< T >::Resize().

◆ Read() [20/25]

template<class T , typename std::enable_if<!(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void TPZStream::Read ( std::vector< T > &  vec,
void *  context 
)
inline

Definition at line 327 of file TPZStream.h.

References Read().

◆ Read() [21/25]

template<class T , typename std::enable_if<(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void TPZStream::Read ( std::vector< T > &  vec,
void *  context 
)
inline

Definition at line 338 of file TPZStream.h.

References Read().

◆ Read() [22/25]

template<int N>
void TPZStream::Read ( TPZManVector< REAL, N > &  vec)
inline

Definition at line 348 of file TPZStream.h.

References Read(), and TPZManVector< T, NumExtAlloc >::Resize().

◆ Read() [23/25]

template<int N>
void TPZStream::Read ( TPZManVector< int64_t, N > &  vec)
inline

Definition at line 356 of file TPZStream.h.

References Read(), and TPZManVector< T, NumExtAlloc >::Resize().

◆ Read() [24/25]

template<class T , class U >
void TPZStream::Read ( std::map< T, U > &  vec)
inline

Definition at line 363 of file TPZStream.h.

References DebugStop, TPZVec< T >::NElements(), and Read().

◆ Read() [25/25]

template<class T , typename std::enable_if<(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void TPZStream::Read ( std::set< T > &  vec)
inline

Definition at line 382 of file TPZStream.h.

References Read(), ReadPointers(), val(), and WritePointers().

◆ ReadPointers() [1/8]

template<class T >
void TPZStream::ReadPointers ( TPZVec< TPZAutoPointer< T >> &  vec)
inline

◆ ReadPointers() [2/8]

template<class T >
void TPZStream::ReadPointers ( TPZVec< T *> &  vec)

Definition at line 442 of file TPZStream.h.

References TPZPersistenceManager::GetInstance(), Read(), and TPZVec< T >::Resize().

◆ ReadPointers() [3/8]

template<class T >
void TPZStream::ReadPointers ( std::map< int, TPZAutoPointer< T > > &  vec)

◆ ReadPointers() [4/8]

template<class T >
void TPZStream::ReadPointers ( std::map< int, T *> &  vec)

Definition at line 486 of file TPZStream.h.

References TPZPersistenceManager::GetInstance(), and Read().

◆ ReadPointers() [5/8]

template<class T >
void TPZStream::ReadPointers ( std::set< T *> &  vec)

Definition at line 507 of file TPZStream.h.

References TPZPersistenceManager::GetInstance(), and Read().

◆ ReadPointers() [6/8]

template<class T , int EXP>
void TPZStream::ReadPointers ( TPZChunkVector< T *, EXP > &  vec)

◆ ReadPointers() [7/8]

template<class T , int EXP>
void TPZStream::ReadPointers ( TPZAdmChunkVector< T *, EXP > &  vec)

◆ ReadPointers() [8/8]

template<class T >
void TPZStream::ReadPointers ( std::map< int, TPZAutoPointer< T >> &  map)

Definition at line 464 of file TPZStream.h.

References TPZPersistenceManager::GetAutoPointer(), and Read().

◆ Write() [1/22]

void TPZStream::Write ( const bool  val)
virtual

Definition at line 8 of file TPZStream.cpp.

Referenced by TPZFileStream::eof(), TPZCircBufferedStream::GetDataFromBuffer(), TPZGraphMesh::Read(), TPZBFileStream::Read(), Read(), TPZYCCamClayPV::Write(), TPZPoroElastoPlasticMem::Write(), TPZElastoPlasticMem::Write(), TPZGraphNode::Write(), TPZRenumbering::Write(), TPZGraphEl::Write(), TPZPorousElastoPlasticMem::Write(), TPZPostProcVar::Write(), TPZPermutation::Write(), TPZLadeKimThermoForceA::Write(), TPZDohrAssembly< STATE >::Write(), TPZYCModifiedMohrCoulomb::Write(), TPZEquationFilter::Write(), TPZGraphMesh::Write(), TPZMGSolver< TVar >::Write(), TPZThermoForceA::Write(), TPZBndCondWithMem< TMEM >::Write(), TPZPorousElasticResponse::Write(), TPZElasticResponse::Write(), TPZSequenceSolver< TVar >::Write(), TPZLadeNelsonElasticResponse::Write(), TPZMatWithMem< TPZFMatrix< REAL >, TPZElasticity3D >::Write(), TPZGeoNode::Write(), TPZOneShapeRestraint::Write(), TPZGeoElement< TGeo, TRef >::Write(), TPZGuiInterface::Write(), TPZYCSandlerDimaggio::Write(), TPZYCLadeKim::Write(), TPZCompMeshReferred::Write(), TPZCreateApproximationSpace::Write(), TPZStructMatrixGCTP::Write(), TPZStructMatrixGC::Write(), TPZGeoElSideIndex::Write(), TPZYCRankine< T_YCBASE >::Write(), TPZStructMatrixTBBFlow::Write(), Write(), TPZStructMatrixOT::Write(), TPZConnect::TPZDepend::Write(), TPZPlasticState< STATE >::Write(), TPZStructMatrixBase::Write(), TPZSandlerExtended::Write(), TPZAnalysis::TTablePostProcess::Write(), TPZViscoelastic::Write(), TPZTransform< T >::Write(), TPZDruckerPrager::Write(), TPZMaterialTest3D::Write(), TPZDohrStructMatrix::Write(), pzgeom::TPZNodeRep< 15, pztopology::TPZPrism >::Write(), TPZGeoMesh::Write(), TPZVerySparseMatrix< TVar >::Write(), TPZMohrCoulomb::Write(), TPZRefPattern::SPZFatherSideInfo::Write(), TPZYCMohrCoulomb::Write(), TPZCompElWithMem< TBASE >::Write(), TPZStepSolver< TVar >::Write(), TPZArtDiff::Write(), TPZYCMohrCoulombPV::Write(), TPZDohrSubstructCondense< TTVar >::Write(), TPZGeoElRefPattern< TGeo >::Write(), TPZDohrPrecond< TVar, TSubStruct >::Write(), TPZLadeKim::Write(), TPZAnalysis::Write(), TPZAdmChunkVector< TPZGeoEl *>::Write(), TFad< Num, T >::Write(), TPZMaterialData::Write(), TPZIntelGen< TSHAPE >::Write(), TPZNullMaterial::Write(), TPZMatElastoPlastic2D< T, TMEM >::Write(), TPZDohrMatrix< TVar, TSubStruct >::Write(), TPZCompElHDivPressure< TSHAPE >::Write(), TPZPostProcMat::Write(), TPZElasticityAxiMaterial::Write(), TPZSkylNSymMatrix< TVar >::Write(), pzgeom::TPZWavyLine::Write(), pzgeom::TPZTriangleTorus::Write(), TPZCompElHDivBound2< TSHAPE >::Write(), TPZYCWillamWarnke::Write(), TPZGeoEl::Write(), TPZBlock< STATE >::Write(), TPZPlasticStepPV< YC_t, ER_t >::Write(), TPZMatElastoPlastic< T, TMEM >::Write(), TPZVecL2::Write(), TPZBlock< TVar >::TNode::Write(), TPZMatRed< TTVar, TPZFMatrix< TTVar > >::Write(), TPZAgglomerateElement::Write(), TPZElasticityMaterial::Write(), TPZConservationLaw::Write(), TPZMatElasticity2D::Write(), pzgeom::TPZArc3D::Write(), pzgeom::TPZQuadSphere< GeomQuad >::Write(), TPZChunkVector< TPZGraphNode, 10 >::Write(), pzgeom::TPZTriangleSphere< GeomTriang >::Write(), TPZMatLaplacian::Write(), TPZTensor< STATE >::Write(), TPZElasticity3D::Write(), TPZCompElHDiv< TSHAPE >::Write(), TPZMixedElasticityMaterial::Write(), TPZLagrangeMultiplier::Write(), TPZConnect::Write(), TPZMatPoisson3d::Write(), TPZRefPattern::Write(), TPZGeoElSide::Write(), TPZInterpolationSpace::Write(), TPZInterfaceElement::Write(), TPZSubCompMesh::Write(), TPZCompElDisc::Write(), TPZBndCond::Write(), TPZFMatrix< STATE >::Write(), TPZEulerConsLaw::Write(), TPZSkylMatrix< TVar >::Write(), TPZPlasticStep< YC_t, TF_t, ER_t >::Write(), TPZCompEl::Write(), TPZMaterial::Write(), TPZCompMesh::Write(), TPZMatrix< STATE >::Write(), TPZFNMatrix< 30, std::complex< double > >::Write(), WriteInternal(), TPZVerySparseMatrix< TVar >::WriteMap(), TPZPersistenceManager::WritePointer(), WritePointers(), and ~TPZStream().

◆ Write() [2/22]

virtual void TPZStream::Write ( const int *  p,
int  howMany = 1 
)
pure virtual

◆ Write() [3/22]

virtual void TPZStream::Write ( const unsigned int *  p,
int  howMany = 1 
)
pure virtual

◆ Write() [4/22]

virtual void TPZStream::Write ( const int64_t *  p,
int  howMany = 1 
)
pure virtual

◆ Write() [5/22]

virtual void TPZStream::Write ( const uint64_t *  p,
int  howMany = 1 
)
pure virtual

◆ Write() [6/22]

virtual void TPZStream::Write ( const float *  p,
int  howMany = 1 
)
pure virtual

◆ Write() [7/22]

virtual void TPZStream::Write ( const double *  p,
int  howMany = 1 
)
pure virtual

◆ Write() [8/22]

void TPZStream::Write ( const long double *  p,
int  howMany = 1 
)
virtual

Writes howMany floating points at pointer location p.

Reimplemented in TPZMD5Stream.

Definition at line 45 of file TPZStream.cpp.

References Write().

◆ Write() [9/22]

virtual void TPZStream::Write ( const unsigned char *  p,
int  howMany = 1 
)
pure virtual

◆ Write() [10/22]

virtual void TPZStream::Write ( const char *  p,
int  howMany = 1 
)
pure virtual

◆ Write() [11/22]

void TPZStream::Write ( const std::string *  p,
int  howMany = 1 
)
virtual

Reimplemented in TPZMD5Stream.

Definition at line 64 of file TPZStream.cpp.

References Write().

◆ Write() [12/22]

virtual void TPZStream::Write ( const std::complex< float > *  p,
int  howMany = 1 
)
pure virtual

◆ Write() [13/22]

virtual void TPZStream::Write ( const std::complex< double > *  p,
int  howMany = 1 
)
pure virtual

◆ Write() [14/22]

void TPZStream::Write ( const std::complex< long double > *  p,
int  howMany = 1 
)
virtual

Writes howMany complex-long double at pointer location p.

Reimplemented in TPZMD5Stream.

Definition at line 55 of file TPZStream.cpp.

References Write().

◆ Write() [15/22]

void TPZStream::Write ( const TPZFlopCounter p,
int  howMany = 1 
)

Definition at line 73 of file TPZStream.cpp.

References Write().

◆ Write() [16/22]

template<class T , typename std::enable_if<(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void TPZStream::Write ( const TPZVec< T > &  vec)
inline

Definition at line 197 of file TPZStream.h.

References TPZVec< T >::NElements(), and Write().

◆ Write() [17/22]

template<class T , typename std::enable_if<!(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void TPZStream::Write ( const TPZVec< T > &  vec)
inline

Definition at line 205 of file TPZStream.h.

References TPZVec< T >::NElements(), and Write().

◆ Write() [18/22]

template<class T , typename std::enable_if<(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void TPZStream::Write ( const std::vector< T > &  vec)
inline

Definition at line 224 of file TPZStream.h.

References Write().

◆ Write() [19/22]

template<class T , typename std::enable_if<!(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void TPZStream::Write ( const std::vector< T > &  vec)
inline

Definition at line 234 of file TPZStream.h.

References Write().

◆ Write() [20/22]

void TPZStream::Write ( const TPZVec< TPZFlopCounter > &  vec)
inline

Definition at line 241 of file TPZStream.h.

References TPZVec< T >::NElements(), and Write().

◆ Write() [21/22]

template<class T , class U >
void TPZStream::Write ( const std::map< T, U > &  vec)
inline

Definition at line 251 of file TPZStream.h.

References Write().

◆ Write() [22/22]

template<class T , typename std::enable_if<(std::is_same< std::string, T >::value||is_arithmetic_pz< T >::value), int >::type * = nullptr>
void TPZStream::Write ( const std::set< T > &  vec)
inline

Definition at line 267 of file TPZStream.h.

References Write().

◆ WritePointers() [1/7]

template<class T >
void TPZStream::WritePointers ( const TPZVec< TPZAutoPointer< T >> &  vec)
inline

◆ WritePointers() [2/7]

template<class T >
void TPZStream::WritePointers ( const TPZVec< T *> &  vec)

◆ WritePointers() [3/7]

template<class T >
void TPZStream::WritePointers ( const std::map< int, TPZAutoPointer< T >> &  vec)

Definition at line 452 of file TPZStream.h.

References Write(), and TPZPersistenceManager::WritePointer().

◆ WritePointers() [4/7]

template<class T >
void TPZStream::WritePointers ( const std::map< int, T *> &  vec)

Definition at line 475 of file TPZStream.h.

References Write(), and TPZPersistenceManager::WritePointer().

◆ WritePointers() [5/7]

template<class T >
void TPZStream::WritePointers ( const std::set< T *> &  vec)

Definition at line 496 of file TPZStream.h.

References Write(), and TPZPersistenceManager::WritePointer().

◆ WritePointers() [6/7]

template<class T , int EXP>
void TPZStream::WritePointers ( const TPZChunkVector< T *, EXP > &  vec)

◆ WritePointers() [7/7]

template<class T , int EXP>
void TPZStream::WritePointers ( const TPZAdmChunkVector< T *, EXP > &  vec)

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