Version information.
More...
#include <Version.h>
|
| Version ()=default |
| Default constructor.
|
|
| Version (int major, int minor, int patch) |
| Constructor with three integer input parameters.
|
|
| Version (const std::string &version) |
| Constructor with a string input parameter.
|
|
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 another.
|
|
std::string | toString () const |
| Converts a Version object to string.
|
|
void | fromString (const std::string &version) |
| Converts a string of version to a Version object.
|
|
bool | isEmpty () const |
| Checks if a Version object is empty.
|
|
Version information.
Definition at line 15 of file Version.h.
◆ Version() [1/2]
mmind::eye::Version::Version |
( |
int |
major, |
|
|
int |
minor, |
|
|
int |
patch |
|
) |
| |
|
inline |
Constructor with three integer input parameters.
Definition at line 27 of file Version.h.
◆ Version() [2/2]
mmind::eye::Version::Version |
( |
const std::string & |
version | ) |
|
|
inlineexplicit |
Constructor with a string input parameter.
Definition at line 32 of file Version.h.
◆ fromString()
void mmind::eye::Version::fromString |
( |
const std::string & |
version | ) |
|
|
inline |
Converts a string of version to a Version object.
Definition at line 77 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 42 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 57 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 another.
Definition at line 62 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 37 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 47 of file Version.h.
◆ toString()
std::string mmind::eye::Version::toString |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: