versionlib.h File Reference

#include <cstddef>
#include <string.h>
#include <algorithm>
Include dependency graph for versionlib.h:
This graph shows which files directly or indirectly include this file:

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 Documentation

#define INCLUDED_VERSIONLIB_H

Definition at line 23 of file versionlib.h.


Function Documentation

bool operator< ( const Version version,
const Version other 
) [inline]

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

bool version_compatible ( const Version version,
const Version other 
) [inline]

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]

Generated by  doxygen 1.6.2