|
xmlwrapp
Lightweight C++ XML parsing library
|
This file contains the XMLWRAPP_CHECK_VERSION macro. More...
#include "xmlwrapp/export.h"
Include dependency graph for version.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| namespace | xml |
| XML library namespace. | |
Macros | |
| #define | XMLWRAPP_VERSION_MAJOR 0 |
| Compile-time major version of the library. | |
| #define | XMLWRAPP_VERSION_MINOR 10 |
| Compile-time minor version of the library. | |
| #define | XMLWRAPP_VERSION_MICRO 0 |
| Compile-time micro version of the library. | |
| #define | XMLWRAPP_VERSION_STRING |
| Compile-time version of the library as a string. | |
| #define | XMLWRAPP_CHECK_VERSION(major, minor, micro) |
| Checks if xmlwrapp version is at least major. | |
Functions | |
| int | xml::get_major_version () |
| Return major runtime version of xmlwrapp library. | |
| int | xml::get_minor_version () |
| Return minor runtime version of xmlwrapp library. | |
| int | xml::get_micro_version () |
| Return micro runtime version of xmlwrapp library. | |
| const char * | xml::get_version_string () |
| Return the full runtime version of xmlwrapp library. | |
| bool | xml::check_version (int major, int minor, int micro) |
| Check that the library version is at least the given one. | |
This file contains the XMLWRAPP_CHECK_VERSION macro.
| #define XMLWRAPP_CHECK_VERSION | ( | major, | |
| minor, | |||
| micro | |||
| ) |
Checks if xmlwrapp version is at least major.
minor.micro.
This is a compile-time check, see check_version() for a runtime check.
| #define XMLWRAPP_VERSION_MAJOR 0 |
Compile-time major version of the library.
This is the first version component.
| #define XMLWRAPP_VERSION_MICRO 0 |
Compile-time micro version of the library.
This is the third version component.
| #define XMLWRAPP_VERSION_MINOR 10 |
Compile-time minor version of the library.
This is the second version component.
| #define XMLWRAPP_VERSION_STRING |
Compile-time version of the library as a string.
This is a string in the form "major.minor.micro".