#include <string>
Go to the source code of this file.
Namespaces | |
namespace | theplu |
The Department of Theoretical Physics namespace as we define it. | |
namespace | theplu::yat |
yat project namespace. | |
namespace | theplu::yat::utility |
Miscellaneous functionality. | |
Defines | |
#define | YAT_MAJOR_VERSION 0 |
#define | YAT_MINOR_VERSION 7 |
#define | YAT_PATCH_VERSION 4 |
#define | YAT_VERSION "0.7.4pre" |
#define | YAT_DEV_BUILD true |
#define | YAT_VERSION_AT_LEAST(major, minor, patch) |
Functions | |
unsigned int | theplu::yat::utility::major_version (void) |
unsigned int | theplu::yat::utility::minor_version (void) |
unsigned int | theplu::yat::utility::patch_version (void) |
std::string | theplu::yat::utility::version (void) |
#define YAT_DEV_BUILD true |
DEV_BUILD
Is set to false in releases
#define YAT_MAJOR_VERSION 0 |
MAJOR version
No compatibility is guarenteed between MAJOR versions.
#define YAT_MINOR_VERSION 7 |
MINOR version
Minor API changes that do not cause binary compatibility problems. Reset to 0 when upgrading YAT_MAJOR_VERSION
#define YAT_PATCH_VERSION 4 |
PATCH version
The Patch level never includes API changes, simply bug fixes. Reset to 0 when upgrading YAT_MINOR_VERSION
#define YAT_VERSION "0.7.4pre" |
VERSION
The version of yat in string format
#define YAT_VERSION_AT_LEAST | ( | major, | |||
minor, | |||||
patch | ) |
Value:
(((major) < YAT_MAJOR_VERSION) || \ ((major) == YAT_MAJOR_VERSION && (minor) < YAT_MINOR_VERSION) || \ ((major) == YAT_MAJOR_VERSION && (minor) == YAT_MINOR_VERSION &&\ (patch) <= YAT_PATCH_VERSION))
major | The major version component of the version checked for (e.g., the "0" of "0.5.1"). | |
minor | The minor version component of the version checked for (e.g., the "5" of "0.5.1"). | |
patch | The patch level component of the version checked for (e.g., the "1" of "0.5.1"). |