EHS
|
A helper class for storing version major, minor and patch. More...
#include <Version.h>
Public Member Functions | |
Version () | |
Default members initialization. More... | |
Version (const UInt_32 major, const UInt_32 minor, const UInt_32 patch) | |
Version (const Version &version) | |
Version & | operator= (const Version &version) |
bool | operator== (const Version &version) const |
bool | operator!= (const Version &version) const |
unsigned int | operator[] (const UInt_32 i) const |
unsigned int & | operator[] (const UInt_32 i) |
Public Attributes | |
UInt_32 | major |
UInt_32 | minor |
UInt_32 | patch |
A helper class for storing version major, minor and patch.
ehs::Version::Version | ( | ) |
Default members initialization.
Initializes members with given major, minor and patch.
[in] | major | The major version. |
[in] | minor | The minor version. |
[in] | patch | The patch version. |
ehs::Version::Version | ( | const Version & | version | ) |
Copies all members from the given version object.
[in] | version | The version object to copy from. |
bool ehs::Version::operator!= | ( | const Version & | version | ) | const |
Copies all members from the given version object.
[in] | version | The version object to copy from. |
bool ehs::Version::operator== | ( | const Version & | version | ) | const |
unsigned int & ehs::Version::operator[] | ( | const UInt_32 | i | ) |
unsigned int ehs::Version::operator[] | ( | const UInt_32 | i | ) | const |
UInt_32 ehs::Version::major |
UInt_32 ehs::Version::minor |
UInt_32 ehs::Version::patch |