|
Gromacs
2023.4
|
#include <gromacs/mdtypes/checkpointdata.h>
Holder for read checkpoint data.
A ReadCheckpointDataHolder object is passed to the checkpoint reading functionality, and then passed into the SimulatorBuilder object. It holds the KV-tree read from file and dispatches CheckpointData objects to the checkpoint clients.
Public Member Functions | |
| bool | keyExists (const std::string &key) const |
| Check whether a key exists. | |
| std::vector< std::string > | keys () const |
| Return vector of existing keys. | |
| void | deserialize (ISerializer *serializer) |
| Deserialize serializer content into the CheckpointData object. | |
| ReadCheckpointData | checkpointData (const std::string &key) const |
| Return a subset of the current CheckpointData. More... | |
| void | dump (FILE *out) const |
| Write the contents of the Checkpoint to file. | |
| ReadCheckpointData gmx::ReadCheckpointDataHolder::checkpointData | ( | const std::string & | key | ) | const |
Return a subset of the current CheckpointData.
| key | The key to [read|write] the sub data [from|to] |
1.8.5