Trax3 3.1.0
trax track library
Loading...
Searching...
No Matches
trax::Version Class Reference

Class for versioning the trax library. More...

#include <C:/Trend/Development/Trax3/Code/trax/Version.h>

Public Member Functions

Version & operator= (const Version &)=delete

Static Public Member Functions

static dclspc int Major () noexcept
 Cardinal version number.
static dclspc int Minor () noexcept
 Subversion number.
static dclspc int Patch () noexcept
 Revision number.
static dclspc const char * Readable ()
static dclspc bool IsAtLeast (int major, int minor, int patch) noexcept
static dclspc bool HasFeature (const std::string &name) noexcept
static dclspc int SizeOfReal () noexcept
static dclspc const char * LongDescription () noexcept
 Gives some descriptionary text about the library.

Detailed Description

Class for versioning the trax library.

Member Function Documentation

◆ HasFeature()

dclspc bool trax::Version::HasFeature ( const std::string & name)
staticnoexcept
Returns
true if a named feature is available with the library.

◆ IsAtLeast()

dclspc bool trax::Version::IsAtLeast ( int major,
int minor,
int patch )
staticnoexcept
Returns
true if the library has the specified version or grater.

◆ LongDescription()

dclspc const char * trax::Version::LongDescription ( )
staticnoexcept

Gives some descriptionary text about the library.

Use this also to check wether the standard library runtime is linked via dll. If the destructor of the std::string crashes this is not he case.

Returns
A description of the library.

◆ Readable()

dclspc const char * trax::Version::Readable ( )
static
Returns
A human readable string containing the version numbers.

◆ SizeOfReal()

dclspc int trax::Version::SizeOfReal ( )
staticnoexcept
Returns
the bytesize of the internally used floating point type.

The documentation for this class was generated from the following file:
  • C:/Trend/Development/Trax3/Code/trax/Version.h