5 #ifndef PZCHECKCONSISTENCY 6 #define PZCHECKCONSISTENCY Contains declaration of the TPZSavable class which defines the interface to save and restore objects ...
std::string fPath
Path where the file will be stored. If CHECKPATH is defined then this will be used as the file path...
bool fOverWrite
Boolean indicating whether the objects should be overwritten or not.
void SetReadMode()
Set the read mode. No write.
void SetWriteMode()
Set the write mode.
int fCounter
A counter which will be used to compose the file name.
TPZCheckConsistency(const std::string &filename)
Constructor indicating the root filename.
void SetOverWrite(bool flag=true)
Set the overwrite flag.
Implements an interface to check the consistency of two implementations. Utility. ...
bool CheckObject(TPZSavable &obj)
Reads or writes depending on the compiler directive.
bool fWriteFlag
Boolean indicating whether the object will write the objects to disk or read them.
std::string fFileName
base file name. This name has to be unique to avoid overwrites
This class defines the interface to save and restore objects from TPZStream objects. Persistency.