A semantic version structure providing comparison operators and conversion to and from std::string. More...
#include <Metadata.h>
Public Member Functions | |
bool | operator!= (const Version &) const |
bool | operator< (const Version &) const |
bool | operator<= (const Version &) const |
bool | operator== (const Version &) const |
bool | operator> (const Version &) const |
bool | operator>= (const Version &) const |
std::string | str () const |
Version () | |
Version (const std::string &semanticString) | |
Version (int major, int minor=0, int patch=0, const std::string &suffix=std::string()) | |
Public Attributes | |
int | major |
int | minor |
int | patch |
std::string | suffix |
A semantic version structure providing comparison operators and conversion to and from std::string.
Meta::Version::Version | ( | ) |
Meta::Version::Version | ( | int | major, |
int | minor = 0 , |
||
int | patch = 0 , |
||
const std::string & | suffix = std::string() |
||
) |
|
explicit |
std::string Meta::Version::str | ( | ) | const |
Referenced by Gui::Dialog::AboutDialog::on_copyButton_clicked().
int App::Meta::Version::major |
Referenced by operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=(), and Version().
int App::Meta::Version::minor |
Referenced by operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=(), and Version().
int App::Meta::Version::patch |
Referenced by operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=(), and Version().
std::string App::Meta::Version::suffix |
Referenced by operator!=(), operator<(), operator<=(), operator==(), operator>(), operator>=(), and Version().