8 #ifndef CHECKPOINTENTRY_HPP_ 9 #define CHECKPOINTENTRY_HPP_ 11 #include "structures/MPIBlock.hpp" 19 : mName(name), mMPIBlock(mpiBlock) {}
21 std::string
const &objName,
22 std::string
const &dataName,
25 if (!(objName.empty() || dataName.empty())) {
28 mName.append(dataName);
32 write(std::string
const &checkpointDirectory,
double simTime,
bool verifyWritesFlag)
const {
35 virtual void read(std::string
const &checkpointDirectory,
double *simTimePtr)
const {
return; }
36 virtual void remove(std::string
const &checkpointDirectory)
const {
return; }
37 std::string
const &getName()
const {
return mName; }
41 generatePath(std::string
const &checkpointDirectory, std::string
const &extension)
const;
42 void deleteFile(std::string
const &checkpointDirectory, std::string
const &extension)
const;
43 MPIBlock const *getMPIBlock()
const {
return mMPIBlock; }
53 #endif // CHECKPOINTENTRY_HPP_