Public Member Functions | List of all members
mirtk::Version Class Reference

Software version object. More...

#include <Version.h>

Inheritance diagram for mirtk::Version:
Inheritance graph
Collaboration diagram for mirtk::Version:
Collaboration graph

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.
 
Versionoperator= (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)
 

Detailed Description

Software version object.

Definition at line 34 of file Version.h.


The documentation for this class was generated from the following file: