§tiro::version

Represents a library version.

#include "tiropp/version.hpp"

§Public Attributes

Name
uint32_tversion_number
The full version number (see TIRO_MAKE_VERSION).
uint32_tmajor
The major version extracted from the version number.
uint32_tminor
The minor version extracted from the version number.
uint32_tpatch
The patch version extracted from the version number.
const char *version
The library's version as a string.
const char *source_id
The library's source id (build system identifier).
const char *full_version
The library's full version as a string.

§Public Attributes Documentation

§variable version_number

uint32_t version_number = 0;

The full version number (see TIRO_MAKE_VERSION).

§variable major

uint32_t major = 0;

The major version extracted from the version number.

§variable minor

uint32_t minor = 0;

The minor version extracted from the version number.

§variable patch

uint32_t patch = 0;

The patch version extracted from the version number.

§variable version

const char * version = "";

The library's version as a string.

Points into static storage if this object was returned by this libray.

§variable source_id

const char * source_id = "";

The library's source id (build system identifier).

Points into static storage if this object was returned by this libray.

§variable full_version

const char * full_version = "";

The library's full version as a string.

Points into static storage if this object was returned by this libray.


Updated on 2022-02-27 at 21:17:13 +0100