Gromacs  2021.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::WriteCheckpointDataHolder Class Reference

#include <gromacs/mdtypes/checkpointdata.h>

Description

Holder for write checkpoint data.

The WriteCheckpointDataHolder object holds the KV-tree builder and dispatches CheckpointData objects to the checkpoint clients to save their respective data. It is then passed to the checkpoint writing functionality.

Public Member Functions

void serialize (ISerializer *serializer)
 Serialize the content of the CheckpointData object.
 
WriteCheckpointData checkpointData (const std::string &key)
 Return a subset of the current CheckpointData. More...
 
bool empty () const
 

Member Function Documentation

WriteCheckpointData gmx::WriteCheckpointDataHolder::checkpointData ( const std::string &  key)

Return a subset of the current CheckpointData.

Parameters
keyThe key to [read|write] the sub data [from|to]
Returns
A CheckpointData object representing a subset of the current object

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