29#include "Configuration.h"
34constexpr int TRAX_VERSION_MAJOR = 3;
35constexpr int TRAX_VERSION_MINOR = 1;
36constexpr int TRAX_VERSION_PATCH = 0;
44 Version& operator=(
const Version& ) =
delete;
46 dclspc
static int Major() noexcept;
47 dclspc static
int Minor() noexcept;
48 dclspc static
int Patch() noexcept;
54 dclspc static
bool IsAtLeast(
int major,
int minor,
int patch ) noexcept;
70 static
bool bNeedsInit;
71 static
std::
string readable;
78 std::cerr <<
"Trax Library Version mismatch: " <<
"TRAX_VERSION_MAJOR("
79 << TRAX_VERSION_MAJOR <<
") != Version::Major()(" <<
Version::Major() <<
") " << std::endl;
83 std::cerr <<
"Trax Library Version mismatch: " <<
"TRAX_VERSION_MINOR("
84 << TRAX_VERSION_MINOR <<
") != Version::Minor()(" <<
Version::Minor() <<
") " << std::endl;
88 std::cerr <<
"Trax Library Version mismatch: " <<
"TRAX_VERSION_PATCH("
89 << TRAX_VERSION_PATCH <<
") != Version::Patch()(" <<
Version::Patch() <<
") " << std::endl;
93 std::cerr <<
"Trax Library floating point type mismatch: " <<
"sizeof(Real)"
102 inline bool CheckRuntime(){
static dclspc int SizeOfReal() noexcept
static dclspc int Patch() noexcept
Revision number.
static dclspc const char * Readable()
static dclspc int Major() noexcept
Cardinal version number.
static dclspc bool IsAtLeast(int major, int minor, int patch) noexcept
static dclspc int Minor() noexcept
Subversion number.
static dclspc const char * LongDescription() noexcept
Gives some descriptionary text about the library.
static dclspc bool HasFeature(const std::string &name) noexcept
float Real
Underlying floating point type to be used with the dim library.
Definition DimensionedValues.h:190
Namespace of all the trax track libraries classes and methods.
Definition Collection.h:17
bool CheckVersion()
Compares the version identifiers returned by the library dll with the header file's version identifie...
Definition Version.h:76