Component information.
More...
#include <base/Version.h>
Inherits DynamicObject.
Component information.
This class returns information concerning some component (default is this framework).
- Version
- 1.0
- Examples
- testsuite/Version.cpp.
◆ getBanner()
virtual String Version::getBanner |
( |
| ) |
const |
|
virtualnoexcept |
◆ getBranch()
virtual String Version::getBranch |
( |
| ) |
const |
|
virtualnoexcept |
Returns the source control branch.
◆ getCommit()
virtual String Version::getCommit |
( |
| ) |
const |
|
virtualnoexcept |
Returns the full commit id.
◆ getCommitShort()
virtual String Version::getCommitShort |
( |
| ) |
const |
|
virtualnoexcept |
Returns the short commit id.
◆ getDefine_COM_AZURE_DEV__BASE__DEBUG()
static bool Version::getDefine_COM_AZURE_DEV__BASE__DEBUG |
( |
| ) |
|
|
staticnoexcept |
Returns true if _COM_AZURE_DEV__BASE__DEBUG was defined for the Base Framework. _COM_AZURE_DEV__BASE__DEBUG influences class state and must be set identical for dependent projects.
◆ getDefine_DEBUG()
static bool Version::getDefine_DEBUG |
( |
| ) |
|
|
staticnoexcept |
Returns true if DEBUG, _DEBUG, or _COM_AZURE_DEV__BASE__DEBUG were defined for the Base Framework.
◆ getDynamicObjectSize()
static MemorySize Version::getDynamicObjectSize |
( |
| ) |
|
|
staticnoexcept |
◆ getMajorVersion()
virtual unsigned int Version::getMajorVersion |
( |
| ) |
const |
|
virtualnoexcept |
Returns the major version of the framework.
◆ getMicroVersion()
virtual unsigned int Version::getMicroVersion |
( |
| ) |
const |
|
virtualnoexcept |
Returns the micro version of the framework.
◆ getMinorVersion()
virtual unsigned int Version::getMinorVersion |
( |
| ) |
const |
|
virtualnoexcept |
Returns the minor version of the framework. By convention equal and unequal numbers indicate a final and a debug release, respectively.
◆ getRelease()
virtual String Version::getRelease |
( |
| ) |
const |
|
virtualnoexcept |
Returns the release of the framework as a string. The format of the string is unspecified.
◆ getRemoteUrl()
virtual String Version::getRemoteUrl |
( |
| ) |
const |
|
virtualnoexcept |
Returns the source control remote url.
◆ getRevision()
virtual unsigned int Version::getRevision |
( |
| ) |
const |
|
virtualnoexcept |
Returns the revision of the framework.
◆ getVersion()
virtual String Version::getVersion |
( |
| ) |
const |
|
virtualnoexcept |
Returns the version of the framework as a string. The recommended format is 'major.minor.micro suffix' where suffix could be anything.
◆ isBuildCompatible()
static bool Version::isBuildCompatible |
( |
| ) |
|
|
inlinestatic |
Returns true if the project is built with the correct defines as the Base Framework. Raises exception on conflict.
◆ printSystem()
static void Version::printSystem |
( |
| ) |
|
|
static |