29#ifndef NOMLIB_VERSION_HPP
30#define NOMLIB_VERSION_HPP
38#include "nomlib/config.hpp"
94std::ostream& operator <<(std::ostream& os,
const VersionInfo& v);
133std::string revision();
Container for x.x.x version schemes.
int major() const
Get the major version.
static bool convert_version_string(const std::string &ver_string, VersionInfo &info)
Convert a version string to major, minor and patch integers.
int minor() const
Get the minor revision version.
int patch() const
Get the patch level version.
VersionInfo(int major, int minor, int patch)
Construct an object with specified version fields.
VersionInfo()
Default constructor; initialize version fields to zero (0).
std::string version_string() const
Get the full version as a string.
~VersionInfo()
Destructor.