Class for holding vg version and build environment information.
More...
#include <version.hpp>
|
static string | get_version () |
| Get only the version (like v1.7.0-68-g224e7625).
|
|
static string | get_release () |
|
static string | get_codename () |
| Get the codename of our released version.
|
|
static string | get_short () |
| Get a short one-line description of the current version of vg with no terminating newline.
|
|
static string | get_long () |
|
|
static const unordered_map< string, string > | codenames |
| Store all the codenames by major version.
|
|
Class for holding vg version and build environment information.
◆ Version()
◆ get_codename()
string vg::Version::get_codename |
( |
| ) |
|
|
static |
Get the codename of our released version.
◆ get_long()
string vg::Version::get_long |
( |
| ) |
|
|
static |
Get a long, potentially multi-line description of the current version of vg with no terminating newline.
◆ get_release()
string vg::Version::get_release |
( |
| ) |
|
|
static |
Get the release Git tag version of vg that the current version is based on (e.g. v1.7.0-68-g224e7625 will report v1.7.0).
◆ get_short()
string vg::Version::get_short |
( |
| ) |
|
|
static |
Get a short one-line description of the current version of vg with no terminating newline.
◆ get_version()
string vg::Version::get_version |
( |
| ) |
|
|
static |
Get only the version (like v1.7.0-68-g224e7625).
◆ BUILD_HOST
const string vg::Version::BUILD_HOST = VG_BUILD_HOST |
|
static |
◆ BUILD_USER
const string vg::Version::BUILD_USER = VG_BUILD_USER |
|
static |
◆ codenames
const unordered_map< string, string > vg::Version::codenames |
|
staticprivate |
Store all the codenames by major version.
◆ COMPILER
const string vg::Version::COMPILER = VG_COMPILER_VERSION |
|
static |
The compiler used to build vg.
◆ OS
const string vg::Version::OS = VG_OS |
|
static |
The OS that vg was built on.
◆ STANDARD_LIBRARY
◆ VERSION
The Git version description of this build of vg.
The documentation for this class was generated from the following files: