Loading...
Searching...
No Matches
version.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
#ifndef BALL_COMMON_VERSION_H
#define BALL_COMMON_VERSION_H
#ifndef BALL_CONFIG_CONFIG_H
# include <BALL/CONFIG/config.h>
#endif
#ifndef BALL_COMMON_EXCEPTION_H
# include <BALL/COMMON/exception.h>
#endif
#ifndef BALL_COMMON_GLOBAL_H
# include <BALL/COMMON/global.h>
#endif
namespace BALL
{
class BALL_EXPORT VersionInfo
{
public:
enum Type
{
STABLE,
ALPHA,
BETA,
NONPUBLIC,
PRERELEASE,
PATCHLVL, // this can't be PATCHLEVEL due to a collision with historic Python versions (< 2.2).
UNKNOWN
};
static const char* getVersion();
static int getMajorRevision();
static int getMinorRevision();
static Type getType() ;
protected:
static const char* RELEASE_DATE_AND_TIME;
static const char* RELEASE_WHAT_STRING;
};
}
#endif // BALL_COMMON_VERSION_H
exception.h
global.h
BALL_EXPORT
#define BALL_EXPORT
Definition COMMON/global.h:50
BALL::VersionInfo
Definition version.h:33
BALL::VersionInfo::RELEASE_WHAT_STRING
static const char * RELEASE_WHAT_STRING
Definition version.h:73
BALL::VersionInfo::getVersion
static const char * getVersion()
BALL::VersionInfo::getType
static Type getType()
BALL::VersionInfo::RELEASE_DATE_AND_TIME
static const char * RELEASE_DATE_AND_TIME
Definition version.h:72
BALL::VersionInfo::Type
Type
Definition version.h:39
BALL::VersionInfo::ALPHA
@ ALPHA
Definition version.h:41
BALL::VersionInfo::BETA
@ BETA
Definition version.h:42
BALL::VersionInfo::STABLE
@ STABLE
Definition version.h:40
BALL::VersionInfo::NONPUBLIC
@ NONPUBLIC
Definition version.h:43
BALL::VersionInfo::UNKNOWN
@ UNKNOWN
Definition version.h:46
BALL::VersionInfo::PRERELEASE
@ PRERELEASE
Definition version.h:44
BALL::VersionInfo::PATCHLVL
@ PATCHLVL
Definition version.h:45
BALL::VersionInfo::getMinorRevision
static int getMinorRevision()
BALL::VersionInfo::getMajorRevision
static int getMajorRevision()
BALL
Definition constants.h:13