Gromacs  2025.0-dev-20241009-5c23d5f
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::H5md Class Reference

#include <gromacs/fileio/h5md.h>

Description

Manager of an H5MD filehandle. The class is designed to read/write data according to de Buyl et al., 2014 (https://doi.org/10.1016/j.cpc.2014.01.018) and https://www.nongnu.org/h5md/h5md.html.

Public Member Functions

 H5md (const std::filesystem::path &fileName, const H5mdFileMode mode)
 Open an H5MD file and manage its filehandle. More...
 
 H5md (const H5md &)=delete
 
H5mdoperator= (const H5md &)=delete
 
 H5md (H5md &&)=delete
 
H5mdoperator= (H5md &&)=delete
 

Constructor & Destructor Documentation

gmx::H5md::H5md ( const std::filesystem::path &  fileName,
const H5mdFileMode  mode 
)

Open an H5MD file and manage its filehandle.

Parameters
[in]fileNameName of the file to open. The same as the file path.
[in]modeThe mode to open the file.
Exceptions
FileIOErrorif fileName is specified and the file cannot be opened.

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