Compares string versions.
More...
#include <VersionChecker.h>
|
static bool | NewerThanCurrent (const std::string ¤t, const std::string &other) |
|
|
static void | parseVersion (int result[3], const std::string &input) |
|
Compares string versions.
static bool VersionCompare::NewerThanCurrent |
( |
const std::string & |
current, |
|
|
const std::string & |
other |
|
) |
| |
|
inlinestatic |
Compares two string versions.
- Parameters
-
current | Current string version. |
other | String version to compare. |
static void VersionCompare::parseVersion |
( |
int |
result[3], |
|
|
const std::string & |
input |
|
) |
| |
|
inlinestaticprivate |
Converts version string into comparable integer array.
- Parameters
-
result | Integer array for the comparable result. |
input | String input to be parsed. |
The documentation for this class was generated from the following file: