Bayeux  3.4.1
Core Foundation library for SuperNEMO
Classes | Namespaces | Macros
version.h File Reference

Describe the geomtools API version. More...

#include <string>

Go to the source code of this file.

Classes

struct  geomtools::version
 Describe the geomtools API version and features. More...
 

Namespaces

 geomtools
 Top-level namespace of the Bayeux/geomtools module library.
 

Macros

#define GEOMTOOLS_VERSION_MAJOR   5
 Major version number of geomtools. More...
 
#define GEOMTOOLS_VERSION_MINOR   2
 Minor version number of geomtools. More...
 
#define GEOMTOOLS_VERSION_PATCH   0
 Patch version number of geomtools. More...
 
#define GEOMTOOLS_ENCODE_VERSION(major, minor, patch)
 Encode geomtools to ordered integer available at compile time. More...
 
#define GEOMTOOLS_VERSION
 Integer encoded geomtools version available at compile time. More...
 
#define GEOMTOOLS_LIB_VERSION   "5.2.0"
 String encoded full version number, e.g. "1.2.3", available at compile time. More...
 
#define GEOMTOOLS_IS_AT_LEAST(major, minor, patch)
 Check current version >= (major, minor, patch) at compile time. More...
 

Detailed Description

Describe the geomtools API version.

Querying the version of geomtools is needed at both compile and runtime by clients so that they may adjust their usage.

Macro Definition Documentation

◆ GEOMTOOLS_ENCODE_VERSION

#define GEOMTOOLS_ENCODE_VERSION (   major,
  minor,
  patch 
)
Value:
( \
((major) * 10000) \
+ ((minor) * 100) \
+ ((patch) * 1))

Encode geomtools to ordered integer available at compile time.

◆ GEOMTOOLS_IS_AT_LEAST

#define GEOMTOOLS_IS_AT_LEAST (   major,
  minor,
  patch 
)
Value:
( \
GEOMTOOLS_VERSION >= \
GEOMTOOLS_ENCODE_VERSION(major,minor,patch))

Check current version >= (major, minor, patch) at compile time.

◆ GEOMTOOLS_LIB_VERSION

#define GEOMTOOLS_LIB_VERSION   "5.2.0"

String encoded full version number, e.g. "1.2.3", available at compile time.

◆ GEOMTOOLS_VERSION

#define GEOMTOOLS_VERSION
Value:
#define GEOMTOOLS_VERSION_MAJOR
Major version number of geomtools.
Definition: version.h:34
#define GEOMTOOLS_VERSION_MINOR
Minor version number of geomtools.
Definition: version.h:37
#define GEOMTOOLS_VERSION_PATCH
Patch version number of geomtools.
Definition: version.h:40
#define GEOMTOOLS_ENCODE_VERSION(major, minor, patch)
Encode geomtools to ordered integer available at compile time.
Definition: version.h:43

Integer encoded geomtools version available at compile time.

◆ GEOMTOOLS_VERSION_MAJOR

#define GEOMTOOLS_VERSION_MAJOR   5

Major version number of geomtools.

◆ GEOMTOOLS_VERSION_MINOR

#define GEOMTOOLS_VERSION_MINOR   2

Minor version number of geomtools.

◆ GEOMTOOLS_VERSION_PATCH

#define GEOMTOOLS_VERSION_PATCH   0

Patch version number of geomtools.