Mania++
 All Classes Functions Variables Pages
Static Public Member Functions | Static Private Member Functions | List of all members
VersionCompare Class Reference

Compares string versions. More...

#include <VersionChecker.h>

Static Public Member Functions

static bool NewerThanCurrent (const std::string &current, const std::string &other)
 

Static Private Member Functions

static void parseVersion (int result[3], const std::string &input)
 

Detailed Description

Compares string versions.

Member Function Documentation

static bool VersionCompare::NewerThanCurrent ( const std::string &  current,
const std::string &  other 
)
inlinestatic

Compares two string versions.

Parameters
currentCurrent string version.
otherString version to compare.
static void VersionCompare::parseVersion ( int  result[3],
const std::string &  input 
)
inlinestaticprivate

Converts version string into comparable integer array.

Parameters
resultInteger array for the comparable result.
inputString input to be parsed.

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