Version Class Reference
#include <DataTypes.h>
Public Types | |
| enum | STATUS { ALPHA = 0, BETA = 1, DEFAULT = 2 } |
Public Member Functions | |
| Version () | |
| Version (int majorVersion, int minorVersion, STATUS status=DEFAULT, int additionalVersion=0) | |
| Version (std::string versionString) | |
| bool | operator== (const Version &rhs) const |
| bool | operator!= (const Version &rhs) const |
| bool | operator< (const Version &rhs) const |
| bool | operator<= (const Version &rhs) const |
| bool | operator> (const Version &rhs) const |
| bool | operator>= (const Version &rhs) const |
| bool | parse (std::string versionString) |
| void | setMajorVersion (int majorVersion) |
| void | setMinorVersion (int minorVersion) |
| void | setStatus (STATUS status) |
| void | setAdditionalVersion (int additionalVersion) |
| int | getMajorVersion () const |
| int | getMinorVersion () const |
| STATUS | getStatus () const |
| int | getAdditionalVersion () const |
| std::string | toString () const |
Private Attributes | |
| int | majorVersion |
| int | minorVersion |
| STATUS | status |
| int | additionalVersion |
Detailed Description
Class for storing the inVRs versionMember Enumeration Documentation
| enum Version::STATUS |
Constructor & Destructor Documentation
| Version::Version | ( | ) |
| Version::Version | ( | int | majorVersion, | |
| int | minorVersion, | |||
| STATUS | status = DEFAULT, |
|||
| int | additionalVersion = 0 | |||
| ) |
| Version::Version | ( | std::string | versionString | ) |
Member Function Documentation
| int Version::getAdditionalVersion | ( | ) | const |
| int Version::getMajorVersion | ( | ) | const |
| int Version::getMinorVersion | ( | ) | const |
| Version::STATUS Version::getStatus | ( | ) | const |
| bool Version::operator!= | ( | const Version & | rhs | ) | const |
| bool Version::operator< | ( | const Version & | rhs | ) | const |
| bool Version::operator<= | ( | const Version & | rhs | ) | const |
| bool Version::operator== | ( | const Version & | rhs | ) | const |
| bool Version::operator> | ( | const Version & | rhs | ) | const |
| bool Version::operator>= | ( | const Version & | rhs | ) | const |
| bool Version::parse | ( | std::string | versionString | ) |
| void Version::setAdditionalVersion | ( | int | additionalVersion | ) |
| void Version::setMajorVersion | ( | int | majorVersion | ) |
| void Version::setMinorVersion | ( | int | minorVersion | ) |
| void Version::setStatus | ( | STATUS | status | ) |
| std::string Version::toString | ( | ) | const |
Member Data Documentation
int Version::additionalVersion [private] |
int Version::majorVersion [private] |
int Version::minorVersion [private] |
STATUS Version::status [private] |
The documentation for this class was generated from the following files:
- src/inVRs/SystemCore/DataTypes.h
- src/inVRs/SystemCore/DataTypes.cpp
Generated on Wed Oct 20 16:12:02 2010 for inVRs by
1.5.8