#include <VersionInfo.h>

Public Member Functions | |
| TVersionInfo () | |
| TVersionInfo (Uint uiMajorVersion, Uint uiSubVersion) | |
| TVersionInfo (Uint uiMajorVersion, Uint uiSubVersion, Uint uiRelease, Uint uiBuild) | |
| TVersionInfo (const IString &rVersion) | |
| TVersionInfo (const TVersionInfo &rVersion) | |
| virtual | ~TVersionInfo () |
| bool | assign (const IString &rVersion) |
| bool | assign (const TVersionInfo &rVersion) |
| bool | assign (const wchar_t *pVersion) |
| bool | equals (const IString &rVersion) const |
| bool | equals (const TVersionInfo &rVersion) const |
| bool | equals (const wchar_t *pVersion) const |
| Uint | getMajorVersion () const |
| returns the major version | |
| Uint | getSubVersion () const |
| returns the sub version | |
| Uint | getRelease () const |
| returns the release number | |
| Uint | getBuild () const |
| returns the built number | |
| void | setMajorVersion (Uint uiValue) |
| returns the major version | |
| void | setSubVersion (Uint uiValue) |
| returns the sub version | |
| void | setRelease (Uint uiValue) |
| returns the release number | |
| void | setBuild (Uint uiValue) |
| returns the built number | |
| TVersionInfo & | operator= (const TVersionInfo &rVersion) |
| TVersionInfo & | operator= (const IString &rVersion) |
| TVersionInfo & | operator= (const wchar_t *pVersion) |
| bool | operator== (const TVersionInfo &rVersion) const |
| bool | operator== (const IString &rVersion) const |
| bool | operator== (const wchar_t *pVersion) const |
| TString | toString () const |
| TString | convertToString (bool bIncludeRelease=false, bool bIncludeBuild=false) const |
Static Public Member Functions | |
| static TVersionInfo | getFileVersion (const IString &rFileName) |
Protected Attributes | |
| Uint | m_uiMajorVersion |
| Major version number. | |
| Uint | m_uiSubVersion |
| Sub version number. | |
| Uint | m_uiRelease |
| release number | |
| Uint | m_uiBuild |
| build number | |
| TVersionInfo::TVersionInfo | ( | ) |
Creates an empty version
| TVersionInfo::TVersionInfo | ( | Uint | uiMajorVersion, | |
| Uint | uiSubVersion | |||
| ) |
Creates a version out of major and sub version
| TVersionInfo::TVersionInfo | ( | Uint | uiMajorVersion, | |
| Uint | uiSubVersion, | |||
| Uint | uiRelease, | |||
| Uint | uiBuild | |||
| ) |
Creates a version out of numbers
| TVersionInfo::TVersionInfo | ( | const IString & | rVersion | ) |
Creates a version out of a string
| rVersion | : Version coded as String like 1.1.3.4 |
| TVersionInfo::TVersionInfo | ( | const TVersionInfo & | rVersion | ) |
Copy constructor
| rVersion | : Version object |
| TVersionInfo::~TVersionInfo | ( | ) | [virtual] |
Destroys the version
| bool TVersionInfo::assign | ( | const IString & | rVersion | ) |
assigns the version as string
| rVersion | : Version coded as String like 1.1.3.4 |
| true | : String assigned | |
| false,: | The string does not contain a version |
| bool TVersionInfo::assign | ( | const TVersionInfo & | rVersion | ) |
Assigns a version information
| rVersion | : information to assign |
| bool zeus::TVersionInfo::assign | ( | const wchar_t * | pVersion | ) | [inline] |
| bool zeus::TVersionInfo::equals | ( | const IString & | rVersion | ) | const [inline] |
Checks if the version information equals an other version information
| rVersion | : information to check |
| bool zeus::TVersionInfo::equals | ( | const TVersionInfo & | rVersion | ) | const [inline] |
Checks if the version information equals an other version information
| rVersion | : information to check |
| bool zeus::TVersionInfo::equals | ( | const wchar_t * | pVersion | ) | const [inline] |
| Uint zeus::TVersionInfo::getMajorVersion | ( | ) | const [inline] |
returns the major version
| Uint zeus::TVersionInfo::getSubVersion | ( | ) | const [inline] |
returns the sub version
| Uint zeus::TVersionInfo::getRelease | ( | ) | const [inline] |
returns the release number
| Uint zeus::TVersionInfo::getBuild | ( | ) | const [inline] |
returns the built number
| void zeus::TVersionInfo::setMajorVersion | ( | Uint | uiValue | ) | [inline] |
returns the major version
| void zeus::TVersionInfo::setSubVersion | ( | Uint | uiValue | ) | [inline] |
returns the sub version
| void zeus::TVersionInfo::setRelease | ( | Uint | uiValue | ) | [inline] |
returns the release number
| void zeus::TVersionInfo::setBuild | ( | Uint | uiValue | ) | [inline] |
returns the built number
| TVersionInfo& zeus::TVersionInfo::operator= | ( | const TVersionInfo & | rVersion | ) | [inline] |
| TVersionInfo& zeus::TVersionInfo::operator= | ( | const IString & | rVersion | ) | [inline] |
| TVersionInfo& zeus::TVersionInfo::operator= | ( | const wchar_t * | pVersion | ) | [inline] |
| bool zeus::TVersionInfo::operator== | ( | const TVersionInfo & | rVersion | ) | const [inline] |
| bool zeus::TVersionInfo::operator== | ( | const IString & | rVersion | ) | const [inline] |
| bool zeus::TVersionInfo::operator== | ( | const wchar_t * | pVersion | ) | const [inline] |
| TString zeus::TVersionInfo::toString | ( | ) | const [inline] |
returns the version as a string
Reimplemented from zeus::TZObject.
| TString TVersionInfo::convertToString | ( | bool | bIncludeRelease = false, |
|
| bool | bIncludeBuild = false | |||
| ) | const |
Converts the version info into a string notation
| TVersionInfo TVersionInfo::getFileVersion | ( | const IString & | rFileName | ) | [static] |
reads a file version.
| rFileName | : File name |
Uint zeus::TVersionInfo::m_uiMajorVersion [protected] |
Major version number.
Uint zeus::TVersionInfo::m_uiSubVersion [protected] |
Sub version number.
Uint zeus::TVersionInfo::m_uiRelease [protected] |
release number
Uint zeus::TVersionInfo::m_uiBuild [protected] |
build number