#include <BALL/COMMON/version.h>
Public Types | |
enum | Type { STABLE, ALPHA, BETA, NONPUBLIC, PRERELEASE, PATCHLVL, UNKNOWN } |
Static Public Member Functions | |
static const char * | getVersion () |
static int | getMajorRevision () throw (Exception::InvalidFormat) |
static int | getMinorRevision () throw (Exception::InvalidFormat) |
static Type | getType () |
Static Protected Attributes | |
static const char * | RELEASE_DATE_AND_TIME |
static const char * | RELEASE_WHAT_STRING |
Version information class. The BALL release, release data and related version can be retrieved by these methods.
static int BALL::VersionInfo::getMajorRevision | ( | ) | throw (Exception::InvalidFormat) [static] |
Return the major revision number. (The part of the release number before the point)
static int BALL::VersionInfo::getMinorRevision | ( | ) | throw (Exception::InvalidFormat) [static] |
Return the minor revision number. (The part of the release number after the point)
static Type BALL::VersionInfo::getType | ( | ) | [static] |
Return the type of release: ALPHA, BETA, NONPUPLIC, STABLE, PRERELEASE, PATCHLVL, UNKNOWN.
static const char* BALL::VersionInfo::getVersion | ( | ) | [static] |
Return the version number, which is defined in BALL_RELEASE_STRING
const char* BALL::VersionInfo::RELEASE_DATE_AND_TIME [static, protected] |
const char* BALL::VersionInfo::RELEASE_WHAT_STRING [static, protected] |