Describes the version information.
More...
#include <Version.h>
|
| 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.
Definition at line 18 of file Version.h.
◆ Version() [1/2]
mmind::eye::Version::Version |
( |
int | major, |
|
|
int | minor, |
|
|
int | patch ) |
|
inline |
◆ Version() [2/2]
mmind::eye::Version::Version |
( |
const std::string & | version | ) |
|
|
inlineexplicit |
◆ fromString()
void mmind::eye::Version::fromString |
( |
const std::string & | version | ) |
|
|
inline |
Converts a version in the string format to a Version object.
Definition at line 81 of file Version.h.
◆ isEmpty()
bool mmind::eye::Version::isEmpty |
( |
| ) |
const |
|
inline |
◆ operator!=()
bool mmind::eye::Version::operator!= |
( |
const Version & | other | ) |
const |
|
inline |
Overloads the != operator to determine if two Version objects are unequal.
Definition at line 44 of file Version.h.
◆ operator<()
bool mmind::eye::Version::operator< |
( |
const Version & | other | ) |
const |
|
inline |
Overloads the < operator to determine if one Version object is smaller than the other.
Definition at line 60 of file Version.h.
◆ operator<=()
bool mmind::eye::Version::operator<= |
( |
const Version & | other | ) |
const |
|
inline |
Overloads the <= operator to determine if one Version object is smaller than or equal to the other.
Definition at line 66 of file Version.h.
◆ operator==()
bool mmind::eye::Version::operator== |
( |
const Version & | other | ) |
const |
|
inline |
Overloads the == operator to determine if two Version objects are equal.
Definition at line 39 of file Version.h.
◆ operator>=()
bool mmind::eye::Version::operator>= |
( |
const Version & | other | ) |
const |
|
inline |
Overloads the >= operator to determine if one Version object is greater than or equal to the other.
Definition at line 50 of file Version.h.
◆ toString()
std::string mmind::eye::Version::toString |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: