49 int major=0, minor=0, revision=0, build=0;
50 std::sscanf(version.c_str(),
"%d.%d.%d.%d", &major, &minor, &revision, &build);
64 std::stringstream sstr;
89 return ((*
this > comparison) || (*
this == comparison));
107 return ((*
this < comparison) || (*
this == comparison));
bool operator>(const Version &comparison) const
std::string const & getVersionString() const
bool operator==(const Version &comparison) const
Version class containing the version information and helpers for comparison.
bool operator>=(const Version &comparison) const
bool operator<=(const Version &comparison) const
void setVersion(int major, int minor, int revision, int build)
bool operator<(const Version &comparison) const