|
| Version ()=default |
| Default constructor.
|
|
| Version (int major, int minor, int patch) |
| Constructor.
|
|
| Version (const std::string &version) |
| Constructor.
|
|
bool | operator== (const Version &other) const |
| Overloads the == operator to determine if two Version objects are equal.
|
|
bool | operator!= (const Version &other) const |
| Overloads the != operator to determine if two Version objects are unequal.
|
|
bool | operator>= (const Version &other) const |
| Overloads the >= operator to determine if one Version object is greater than or equal to the other.
|
|
bool | operator< (const Version &other) const |
| Overloads the < operator to determine if one Version object is smaller than the other.
|
|
bool | operator<= (const Version &other) const |
| Overloads the <= operator to determine if one Version object is smaller than or equal to the other.
|
|
std::string | toString () const |
| Converts a Version object to a string.
|
|
void | fromString (const std::string &version) |
| Converts a version in the string format to a Version object.
|
|
bool | isEmpty () const |
| Checks if a Version object is empty.
|
|
Describes the version information.