#include <Compare.hpp>
Public Member Functions | |
boost::optional< int > | build () const |
bool | fidelityEqual (const VersionString &other) const |
bool | isNextVersion (const VersionString &nextVersionCandidate) const |
Returns true if it is plausible for nextVersionCandidate to be the next version after this one. More... | |
int | major () const |
int | minor () const |
bool | operator!= (const VersionString &other) const |
bool | operator< (const VersionString &other) const |
bool | operator<= (const VersionString &other) const |
bool | operator== (const VersionString &other) const |
bool | operator> (const VersionString &other) const |
bool | operator>= (const VersionString &other) const |
boost::optional< int > | patch () const |
std::string | str () const |
VersionString (const std::string &version) | |
VersionString (int major, int minor) | |
VersionString (int major, int minor, int patch) | |
VersionString (int major, int minor, int patch, int build) | |
|
explicit |
boost::optional<int> openstudio::VersionString::build | ( | ) | const |
bool openstudio::VersionString::fidelityEqual | ( | const VersionString & | other | ) | const |
bool openstudio::VersionString::isNextVersion | ( | const VersionString & | nextVersionCandidate | ) | const |
Returns true if it is plausible for nextVersionCandidate to be the next version after this one.
int openstudio::VersionString::major | ( | ) | const |
int openstudio::VersionString::minor | ( | ) | const |
bool openstudio::VersionString::operator!= | ( | const VersionString & | other | ) | const |
bool openstudio::VersionString::operator< | ( | const VersionString & | other | ) | const |
bool openstudio::VersionString::operator<= | ( | const VersionString & | other | ) | const |
bool openstudio::VersionString::operator== | ( | const VersionString & | other | ) | const |
bool openstudio::VersionString::operator> | ( | const VersionString & | other | ) | const |
bool openstudio::VersionString::operator>= | ( | const VersionString & | other | ) | const |
boost::optional<int> openstudio::VersionString::patch | ( | ) | const |
std::string openstudio::VersionString::str | ( | ) | const |