|
vitrio 0.1.4
High-throughput image I/O for Cryo-Electron Microscopy (CryoEM)
|
A version number of three components. More...
#include <vitrio/version.hpp>
Public Member Functions | |
| constexpr | version (std::uint32_t major, std::uint32_t minor, std::uint32_t patch) noexcept |
| Construct a version from its components. | |
| version (const version &other)=default | |
| version & | operator= (const version &other)=default |
| constexpr std::uint32_t | get_major () const noexcept |
| Get the major component. | |
| constexpr std::uint32_t | get_minor () const noexcept |
| Get the minor component. | |
| constexpr std::uint32_t | get_patch () const noexcept |
| Get the patch component. | |
Friends | |
| constexpr bool | operator== (const version &lhs, const version &rhs) noexcept |
| constexpr bool | operator!= (const version &lhs, const version &rhs) noexcept |
| constexpr bool | operator< (const version &lhs, const version &rhs) noexcept |
| constexpr bool | operator<= (const version &lhs, const version &rhs) noexcept |
| constexpr bool | operator> (const version &lhs, const version &rhs) noexcept |
| constexpr bool | operator>= (const version &lhs, const version &rhs) noexcept |
| template<typename T > | |
| std::basic_ostream< T > & | operator<< (std::basic_ostream< T > &os, const version &ver) |
A version number of three components.
Versions are ordered by their major component, then by their minor component, then by their patch component.
|
constexprnoexcept |
Construct a version from its components.
| major | The major component. |
| minor | The minor component. |
| patch | The patch component. |
|
constexprnoexcept |
Get the major component.
|
constexprnoexcept |
Get the minor component.
|
constexprnoexcept |
Get the patch component.