58 Version(
int major,
int minor,
int build,
const std::string& dev);
94 const std::string&
str()
const;
A model for a version number.
Definition version.h:37
Version(const std::string &version)
Constructs a Version.
bool operator<=(const Version &compare) const
Compares Version objects via <= operator.
Version()
Constructs a Version.
const std::string & str() const
Gets a string representation of the Version.
bool empty() const
Gets whether or not the Version object is empty.
int getBuild() const
Gets the build number of the version.
VersionType getVersionType() const
Gets the type of the version.
Version(int major, int minor, int build)
Constructs a Version.
Version(int major, int minor, int build, const std::string &dev)
Constructs a Version.
int getMajor() const
Gets the major number of the version.
int getMinor() const
Gets the minor number of the version.
bool operator==(const Version &compare) const
Compares Version objects via == operator.
bool operator>=(const Version &compare) const
Compares Version objects via >= operator.
const std::string & getDev() const
Gets the dev string of the version.
friend std::ostream & operator<<(std::ostream &os, const Version &version)
Outputs the Version object.
bool operator>(const Version &compare) const
Compares Version objects via > operator.
bool operator!=(const Version &compare) const
Compares Version objects via != operator.
bool operator<(const Version &compare) const
Compares Version objects via < operator.
VersionType
Types of a version.
Definition versiontype.h:32