#include <cstddef>
#include <string.h>
#include <algorithm>
Go to the source code of this file.
Data Structures | |
class | Version |
Defines | |
#define | INCLUDED_VERSIONLIB_H |
Functions | |
bool | operator< (const Version &version, const Version &other) |
bool | version_compatible (const Version &version, const Version &other) |
Returns true if version (code) is compatible with other (data). | |
int | string_range_parse_unsigned_decimal_integer (const char *first, const char *last) |
Version | version_parse (const std::string &versionString) |
#define INCLUDED_VERSIONLIB_H |
Definition at line 23 of file versionlib.h.
Definition at line 36 of file versionlib.h.
References Version::major, and Version::minor.
int string_range_parse_unsigned_decimal_integer | ( | const char * | first, | |
const char * | last | |||
) | [inline] |
Definition at line 48 of file versionlib.h.
Referenced by version_parse().
Returns true if version
(code) is compatible with other
(data).
Definition at line 42 of file versionlib.h.
References Version::major, and Version::minor.
Referenced by XMLPreferenceDictionaryImporter::pushElement().
Version version_parse | ( | const std::string & | versionString | ) | [inline] |
Definition at line 58 of file versionlib.h.
References Version::major, Version::minor, and string_range_parse_unsigned_decimal_integer().
Referenced by XMLPreferenceDictionaryImporter::pushElement().