|
Sharg 1.2.0-rc.2
The argument parser for bio-c++ tools.
|
Provides SHARG version macros and global variables. More...
Include dependency graph for version.hpp:Go to the source code of this file.
Macros | |
| #define | SHARG_VERSION_MAJOR 1 |
| The major version as MACRO. | |
| #define | SHARG_VERSION_MINOR 2 |
| The minor version as MACRO. | |
| #define | SHARG_VERSION_PATCH 0 |
| The patch version as MACRO. | |
| #define | SHARG_RELEASE_CANDIDATE 2 |
| The release candidate number. 0 means stable release, >= 1 means release candidate. | |
| #define | SHARG_VERSION (SHARG_VERSION_MAJOR * 10000 + SHARG_VERSION_MINOR * 100 + SHARG_VERSION_PATCH) |
| The full version as MACRO (number). | |
| #define | SHARG_VERSION_CSTRING_HELPER_STR(str) #str |
| Converts a number to a string. Preprocessor needs this indirection to properly expand the values to strings. | |
| #define | SHARG_VERSION_CSTRING_HELPER_FUNC(MAJOR, MINOR, PATCH) |
| Converts version numbers to string. | |
| #define | SHARG_RELEASE_CANDIDATE_HELPER(RC) "" |
| A helper function that expands to a suitable release candidate suffix. | |
| #define | SHARG_VERSION_CSTRING |
| The full version as null terminated string. | |
Variables | |
| constexpr uint8_t | sharg::sharg_version_major = SHARG_VERSION_MAJOR |
| The major version. | |
| constexpr uint8_t | sharg::sharg_version_minor = SHARG_VERSION_MINOR |
| The minor version. | |
| constexpr uint8_t | sharg::sharg_version_patch = SHARG_VERSION_PATCH |
| The patch version. | |
| constexpr std::size_t | sharg::sharg_version = SHARG_VERSION |
The full version as std::size_t. | |
| constexpr char const * | sharg::sharg_version_cstring = SHARG_VERSION_CSTRING |
| The full version as null terminated string. | |
Provides SHARG version macros and global variables.
| #define SHARG_VERSION_CSTRING |
The full version as null terminated string.
| #define SHARG_VERSION_CSTRING_HELPER_FUNC | ( | MAJOR, | |
| MINOR, | |||
| PATCH ) |
Converts version numbers to string.