#include <Version.h>
|
static int | GetMajor () |
| Return the major version number.
|
|
static int | GetMinor () |
| Return the minor version number.
|
|
static int | GetMinorMinor () |
| Return the sub minor version number.
|
|
static string | GetRC () |
| Return the sub minor version number.
|
|
static string | GetBuildType () |
|
static const string & | GetVersionString () |
|
static const string & | GetFullVersionString () |
|
static const string | GetBuildHash () |
| Return the git hash of the current build.
|
|
static const string & | GetDateString () |
|
static void | Parse (std::string ver, int &major, int &minor, int &minorminor, string &rc) |
|
static int | Compare (int major, int minor, int minorminor) |
|
static int | Compare (std::string ver1, std::string ver2) |
|
static void | SetErrMsg (const char *format,...) |
| Record a formatted error message.
|
|
static void | SetErrMsg (int errcode, const char *format,...) |
| Record a formatted error message and an error code.
|
|
static const char * | GetErrMsg () |
|
static void | SetErrCode (int err_code) |
| Record an error code.
|
|
static int | GetErrCode () |
| Retrieve the current error code.
|
|
static void | SetErrMsgCB (ErrMsgCB_T cb) |
|
static ErrMsgCB_T | GetErrMsgCB () |
|
static void | SetErrMsgFilePtr (FILE *fp) |
|
static const FILE * | SetErrMsgFilePtr () |
|
static void | SetDiagMsg (const char *format,...) |
| Record a formatted diagnostic message.
|
|
static const char * | GetDiagMsg () |
|
static void | SetDiagMsgCB (DiagMsgCB_T cb) |
|
static DiagMsgCB_T | GetDiagMsgCB () |
|
static void | SetDiagMsgFilePtr (FILE *fp) |
|
static bool | EnableErrMsg (bool enable) |
|
static bool | GetEnableErrMsg () |
|
Definition at line 42 of file Version.h.
◆ Compare() [1/2]
static int Wasp::Version::Compare |
( |
int |
major, |
|
|
int |
minor, |
|
|
int |
minorminor |
|
) |
| |
|
static |
◆ Compare() [2/2]
static int Wasp::Version::Compare |
( |
std::string |
ver1, |
|
|
std::string |
ver2 |
|
) |
| |
|
static |
◆ GetBuildHash()
static const string Wasp::Version::GetBuildHash |
( |
| ) |
|
|
static |
Return the git hash of the current build.
◆ GetBuildType()
static string Wasp::Version::GetBuildType |
( |
| ) |
|
|
inlinestatic |
◆ GetDateString()
static const string & Wasp::Version::GetDateString |
( |
| ) |
|
|
inlinestatic |
Return a string containing the date associated with the version number
This method returns the value of the RCS Date
keyword. In general, this should corespond to the date that the version number was last advanced.
Definition at line 87 of file Version.h.
References VERSION_DATE.
◆ GetFullVersionString()
static const string & Wasp::Version::GetFullVersionString |
( |
| ) |
|
|
static |
Return the full version as a formatted string
Return the version as a formatted string of the form: MAJOR.MINOR.MICRO.RC.COMMIT
◆ GetMajor()
static int Wasp::Version::GetMajor |
( |
| ) |
|
|
inlinestatic |
Return the major version number.
Definition at line 46 of file Version.h.
◆ GetMinor()
static int Wasp::Version::GetMinor |
( |
| ) |
|
|
inlinestatic |
Return the minor version number.
Definition at line 50 of file Version.h.
◆ GetMinorMinor()
static int Wasp::Version::GetMinorMinor |
( |
| ) |
|
|
inlinestatic |
Return the sub minor version number.
Definition at line 54 of file Version.h.
◆ GetRC()
static string Wasp::Version::GetRC |
( |
| ) |
|
|
inlinestatic |
◆ GetVersionString()
static const string & Wasp::Version::GetVersionString |
( |
| ) |
|
|
static |
Return the canonical version number as a formatted string
Return the canonical version number as a formatted string of the form: X.Y.Z, where X
is the major version number, Y
is the minor version number, and Z
is the sub minor version number.
◆ Parse()
static void Wasp::Version::Parse |
( |
std::string |
ver, |
|
|
int & |
major, |
|
|
int & |
minor, |
|
|
int & |
minorminor, |
|
|
string & |
rc |
|
) |
| |
|
static |
Parse a version string into it's component major, minor, and minorminor numbers
The documentation for this class was generated from the following file: