BALL::VersionInfo Class Reference
[Common Definitions]

#include <BALL/COMMON/version.h>

List of all members.


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

Detailed Description

Version information class. The BALL release, release data and related version can be retrieved by these methods.

Stable releases are designated with numbers only.
Alpha, beta, nonpublic, or prereleases are suffixed as "alpha", "beta", "nonpublic", and "pre", respectively.
The VersionInfo class contains only static methods that can be used to retrieve the desired information.

Member Enumeration Documentation

Enumeration of all possible release types.

Enumerator:
STABLE 
ALPHA 
BETA 
NONPUBLIC 
PRERELEASE 
PATCHLVL 
UNKNOWN 

Member Function Documentation

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


Member Data Documentation

const char* BALL::VersionInfo::RELEASE_DATE_AND_TIME [static, protected]
const char* BALL::VersionInfo::RELEASE_WHAT_STRING [static, protected]