BALL::VersionInfo Class Reference
[Common Definitions]

Version information class. More...

#include <version.h>

List of all members.


Public Types

enum Type {
STABLE, ALPHA, BETA, NONPUBLIC,
PRERELEASE, PATCHLVL, UNKNOWN
}
Enumeration of all possible release types.

Static Public Member Functions

static const char * getVersion ()
Return the version number, which is defined in BALL_RELEASE_STRING.
static int getMajorRevision () throw (Exception::InvalidFormat)
Return the major revision number.
static int getMinorRevision () throw (Exception::InvalidFormat)
Return the minor revision number.
static Type getType ()
Return the type of release: ALPHA, BETA, NONPUPLIC, STABLE, PRERELEASE, PATCHLVL, UNKNOWN.

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 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)


Generated on Thu Aug 6 18:30:25 2009 for BALL by doxygen 1.5.8