itom
Loading...
Searching...
No Matches
ito::SemVerVersion Class Reference

provides version string parsing and comparison based on semantic versioning More...

Public Member Functions

 SemVerVersion (int major, int minor, int patch=0)
 
QString toString () const
 
int toInt () const
 
bool operator== (const SemVerVersion &other) const
 
bool isCompatible (const SemVerVersion &other) const
 
bool isValid () const
 
bool operator>= (const SemVerVersion &other) const
 
bool operator> (const SemVerVersion &other) const
 
bool operator<= (const SemVerVersion &other) const
 
bool operator< (const SemVerVersion &other) const
 
int svMajor () const
 
int svMinor () const
 
int svPatch () const
 

Static Public Member Functions

static SemVerVersion fromString (const QString &versionString, bool *ok=NULL)
 
static SemVerVersion fromInt (int versionNumber)
 

Private Attributes

int m_major
 
int m_minor
 
int m_patch
 

Detailed Description

provides version string parsing and comparison based on semantic versioning


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