Compare version strings Simple class that allow comparing two version number.
More...
#include <version.hpp>
Compare version strings Simple class that allow comparing two version number.
Definition at line 35 of file version.hpp.
qi::version::Version::Version |
( |
| ) |
|
These constructors are implicit by design.
qi::version::Version::Version |
( |
const Version & |
other | ) |
|
qi::version::Version::Version |
( |
const std::string & |
version | ) |
|
Constructor converting a string.
qi::version::Version::Version |
( |
const char * |
version | ) |
|
Constructor converting a char*.
qi::version::Version::~Version |
( |
| ) |
|
qi::version::Version::operator const std::string & |
( |
| ) |
const |
Converting the Version to a String.
bool qi::version::Version::operator!= |
( |
const Version & |
pi | ) |
const |
operator !=
- Parameters
-
- Returns
- true if pi is different
bool qi::version::Version::operator< |
( |
const Version & |
pi | ) |
const |
operator <
- Parameters
-
- Returns
- true if pi is superior
bool qi::version::Version::operator<= |
( |
const Version & |
pi | ) |
const |
operator <=
- Parameters
-
- Returns
- true if pi is superior or equal
bool qi::version::Version::operator== |
( |
const Version & |
pi | ) |
const |
operator ==
- Parameters
-
- Returns
- true if pi is equal
bool qi::version::Version::operator> |
( |
const Version & |
pi | ) |
const |
operator >
- Parameters
-
- Returns
- true if pi is inferior
bool qi::version::Version::operator>= |
( |
const Version & |
pi | ) |
const |
operator >=
- Parameters
-
- Returns
- true if pi is inferior or equal
The documentation for this class was generated from the following file:
- /home/opennao/work/release-2.8/sdk/libqi/qi/version.hpp