|
h5cpp
0.6.0
A modern C++ wrapper for the HDF5 C library
|
a 3 number version class More...
#include <version.hpp>
Public Types | |
| using | NumberType = unsigned long |
| the number type used to represent version numbers More... | |
Public Member Functions | |
| Version () noexcept | |
| default constructor More... | |
| Version (NumberType major_number, NumberType minor_number, NumberType patch) noexcept | |
| constructor More... | |
| NumberType | major_number () const noexcept |
| return the major version number More... | |
| NumberType | minor_number () const noexcept |
| return the minor version number More... | |
| NumberType | patch_number () const noexcept |
| return the patch version number More... | |
Static Public Member Functions | |
| static std::string | to_string (const Version &version) |
| convert a Version to a string More... | |
Describes a version number.
| using hdf5::Version::NumberType = unsigned long |
|
noexcept |
Set all three version numbers to 0
|
noexcept |
| major_number | the major version number |
| minor_number | the minor version number |
| patch | the patch version number |
|
noexcept |
|
noexcept |
|
noexcept |
|
static |
The result is a string with the format MAJOR.MINOR.PATCH.
| version | reference to a instance of Version |