Public Member Functions | List of all members
h5::Version Class Reference

Used to store the version of the file. More...

#include <Version.hpp>

Public Member Functions

uint32_t get_version () const noexcept
 

Detailed Description

Used to store the version of the file.

A Version object should be stored inside each H5 object that is to represent a file, e.g. Dat, or Text.

Example

To write the version use:

my_file.insert<h5::Version>("/the_version", version_number);

To read the version use:

const auto& const_version = my_file.get<h5::Version>("/the_version");

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