HIBF 1.0.0-rc.1
All Classes Namespaces Files Functions Variables Typedefs Friends Macros Modules Pages Concepts
version.hpp File Reference

Provides version macros and global variables. More...

#include <cstddef>
#include <cstdint>
+ Include dependency graph for version.hpp:

Go to the source code of this file.

Macros

#define HIBF_RELEASE_CANDIDATE   1
 The release candidate number. 0 means stable release, >= 1 means release candidate.
 
#define HIBF_RELEASE_CANDIDATE_HELPER(RC)   ""
 A helper function that expands to a suitable release candidate suffix.
 
#define HIBF_VERSION   (HIBF_VERSION_MAJOR * 10000 + HIBF_VERSION_MINOR * 100 + HIBF_VERSION_PATCH)
 The full version as MACRO (number).
 
#define HIBF_VERSION_CSTRING
 The full version as null terminated string.
 
#define HIBF_VERSION_CSTRING_HELPER_FUNC(MAJOR, MINOR, PATCH)
 Converts version numbers to string.
 
#define HIBF_VERSION_CSTRING_HELPER_STR(str)   #str
 Converts a number to a string. Preprocessor needs this indirection to properly expand the values to strings.
 
#define HIBF_VERSION_MAJOR   1
 The major version as MACRO.
 
#define HIBF_VERSION_MINOR   0
 The minor version as MACRO.
 
#define HIBF_VERSION_PATCH   0
 The patch version as MACRO.
 

Variables

constexpr std::size_t seqan::hibf::hibf_version = HIBF_VERSION
 The full version as std::size_t.
 
constexpr char const * seqan::hibf::hibf_version_cstring = HIBF_VERSION_CSTRING
 The full version as null terminated string.
 
constexpr uint8_t seqan::hibf::hibf_version_major = HIBF_VERSION_MAJOR
 The major version.
 
constexpr uint8_t seqan::hibf::hibf_version_minor = HIBF_VERSION_MINOR
 The minor version.
 
constexpr uint8_t seqan::hibf::hibf_version_patch = HIBF_VERSION_PATCH
 The patch version.
 

Detailed Description

Provides version macros and global variables.

Author
Enrico Seiler <enrico.seiler AT fu-berlin.de>

Macro Definition Documentation

◆ HIBF_VERSION_CSTRING_HELPER_FUNC

#define HIBF_VERSION_CSTRING_HELPER_FUNC ( MAJOR,
MINOR,
PATCH )
Value:
#define HIBF_VERSION_CSTRING_HELPER_STR(str)
Converts a number to a string. Preprocessor needs this indirection to properly expand the values to s...
Definition version.hpp:32

Converts version numbers to string.

◆ HIBF_VERSION_CSTRING

#define HIBF_VERSION_CSTRING
Value:
HIBF_RELEASE_CANDIDATE_HELPER(HIBF_RELEASE_CANDIDATE)
#define HIBF_RELEASE_CANDIDATE
The release candidate number. 0 means stable release, >= 1 means release candidate.
Definition version.hpp:24
#define HIBF_VERSION_CSTRING_HELPER_FUNC(MAJOR, MINOR, PATCH)
Converts version numbers to string.
Definition version.hpp:35
#define HIBF_VERSION_MINOR
The minor version as MACRO.
Definition version.hpp:20
#define HIBF_VERSION_PATCH
The patch version as MACRO.
Definition version.hpp:22
#define HIBF_VERSION_MAJOR
The major version as MACRO.
Definition version.hpp:18

The full version as null terminated string.