#include <Version.h>
|
static int | GetMajor () |
| Return the major version number. More...
|
|
static int | GetMinor () |
| Return the minor version number. More...
|
|
static int | GetMinorMinor () |
| Return the sub minor version number. More...
|
|
static string | GetRC () |
| Return the sub minor version number. More...
|
|
static const string & | GetVersionString () |
|
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. More...
|
|
static void | SetErrMsg (int errcode, const char *format,...) |
| Record a formatted error message and an error code. More...
|
|
static const char * | GetErrMsg () |
|
static void | SetErrCode (int err_code) |
| Record an error code. More...
|
|
static int | GetErrCode () |
| Retrieve the current error code. More...
|
|
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. More...
|
|
static const char * | GetDiagMsg () |
|
static void | SetDiagMsgCB (DiagMsgCB_T cb) |
|
static DiagMsgCB_T | GetDiagMsgCB () |
|
static void | SetDiagMsgFilePtr (FILE *fp) |
|
static bool | EnableErrMsg (bool enable) |
|
Definition at line 47 of file Version.h.
static int VetsUtil::Version::Compare |
( |
int |
major, |
|
|
int |
minor, |
|
|
int |
minorminor |
|
) |
| |
|
static |
static int VetsUtil::Version::Compare |
( |
std::string |
ver1, |
|
|
std::string |
ver2 |
|
) |
| |
|
static |
static const string& VetsUtil::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 80 of file Version.h.
static int VetsUtil::Version::GetMajor |
( |
| ) |
|
|
inlinestatic |
Return the major version number.
Definition at line 52 of file Version.h.
static int VetsUtil::Version::GetMinor |
( |
| ) |
|
|
inlinestatic |
Return the minor version number.
Definition at line 56 of file Version.h.
static int VetsUtil::Version::GetMinorMinor |
( |
| ) |
|
|
inlinestatic |
Return the sub minor version number.
Definition at line 60 of file Version.h.
static string VetsUtil::Version::GetRC |
( |
| ) |
|
|
inlinestatic |
Return the sub minor version number.
Definition at line 64 of file Version.h.
static const string& VetsUtil::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.
static void VetsUtil::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: