Software version object. More...
#include <Version.h>
Public Member Functions | |
operator bool () const | |
Whether this version is valid. | |
bool | operator!= (const Version &) const |
Inequality operator. | |
bool | operator< (const Version &) const |
Less operator. | |
bool | operator<= (const Version &) const |
Less or equal operator. | |
Version & | operator= (const Version &) |
Assignment operator. | |
bool | operator== (const Version &) const |
Equality operator. | |
bool | operator> (const Version &) const |
Greater operator. | |
bool | operator>= (const Version &) const |
Greater or equal operator. | |
string | ToString () const |
Get version information as string. | |
Version (unsigned int major=0u, unsigned int minor=0u, unsigned int patch=0u) | |
Constructor. | |
Version (int major, int minor=0, int patch=0) | |
Constructor. | |
Version (const char *) | |
Constructor. | |
Version (const Version &) | |
Copy constructor. | |
Public Member Functions inherited from mirtk::Object | |
virtual const char * | NameOfClass () const =0 |
Get name of class, which this object is an instance of. | |
virtual ParameterList | Parameter () const |
Get parameter name/value pairs. | |
bool | Parameter (const ParameterList &) |
Set parameters from name/value pairs. | |
virtual bool | Set (const char *name, const char *value) |
virtual | ~Object () |
Destructor. | |
Additional Inherited Members | |
Static Public Member Functions inherited from mirtk::Object | |
static const char * | NameOfType () |
Get name of this class type. | |
Protected Member Functions inherited from mirtk::Object | |
template<typename... Args> | |
void | Throw (ErrorType err, const char *func, Args... args) const |
Static Protected Member Functions inherited from mirtk::Object | |
template<typename... Args> | |
static void | ThrowStatic (ErrorType err, const char *cls, const char *func, Args... args) |