nsol  0.4.1
Nsol - Neuroscience Objects Library
version.h File Reference

Defines version macros and class for library nsol. More...

#include <nsol/api.h>
#include <string>
+ 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.

Classes

class  nsol::Version
 Information about the current nsol version. More...
 

Macros

#define NSOL_VERSION_MAJOR   0
 The current major version. More...
 
#define NSOL_VERSION_MINOR   4
 The current minor version. More...
 
#define NSOL_VERSION_PATCH   1
 The current patch level. More...
 
#define NSOL_VERSION_REVISION   0xdbd12fc
 The current SCM revision. More...
 
#define NSOL_VERSION_ABI   4ull
 The current binary interface. More...
 
#define NSOL_VERSION_STRING   "0.4.1"
 The current major.minor.version as a string. More...
 
#define NSOL_REV_STRING   "0.4.1.0xdbd12fc"
 The current major.minor.version.revision as a string. More...
 
#define NSOL_VERSION_GT(MAJOR, MINOR, PATCH)
 True if the current version is newer than the given one. More...
 
#define NSOL_VERSION_GE(MAJOR, MINOR, PATCH)
 True if the current version is equal or newer to the given. More...
 
#define NSOL_VERSION_LT(MAJOR, MINOR, PATCH)
 True if the current version is older than the given one. More...
 
#define NSOL_VERSION_LE(MAJOR, MINOR, PATCH)
 True if the current version is older or equal to the given. More...
 

Detailed Description

Defines version macros and class for library nsol.

Definition in file version.h.

Macro Definition Documentation

#define NSOL_REV_STRING   "0.4.1.0xdbd12fc"

The current major.minor.version.revision as a string.

Definition at line 36 of file version.h.

#define NSOL_VERSION_ABI   4ull

The current binary interface.

Definition at line 29 of file version.h.

#define NSOL_VERSION_GE (   MAJOR,
  MINOR,
  PATCH 
)
Value:
( (NSOL_VERSION_MAJOR>MAJOR) || \
(NSOL_VERSION_MAJOR==MAJOR && (NSOL_VERSION_MINOR>MINOR || \
(NSOL_VERSION_MINOR==MINOR && NSOL_VERSION_PATCH>=PATCH))))
#define NSOL_VERSION_MINOR
The current minor version.
Definition: version.h:20
#define NSOL_VERSION_MAJOR
The current major version.
Definition: version.h:17
#define NSOL_VERSION_PATCH
The current patch level.
Definition: version.h:23

True if the current version is equal or newer to the given.

Definition at line 46 of file version.h.

#define NSOL_VERSION_GT (   MAJOR,
  MINOR,
  PATCH 
)
Value:
( (NSOL_VERSION_MAJOR>MAJOR) || \
(NSOL_VERSION_MAJOR==MAJOR && (NSOL_VERSION_MINOR>MINOR || \
#define NSOL_VERSION_MINOR
The current minor version.
Definition: version.h:20
#define NSOL_VERSION_MAJOR
The current major version.
Definition: version.h:17
#define NSOL_VERSION_PATCH
The current patch level.
Definition: version.h:23

True if the current version is newer than the given one.

Definition at line 40 of file version.h.

#define NSOL_VERSION_LE (   MAJOR,
  MINOR,
  PATCH 
)
Value:
( (NSOL_VERSION_MAJOR<MAJOR) || \
(NSOL_VERSION_MAJOR==MAJOR && (NSOL_VERSION_MINOR<MINOR || \
(NSOL_VERSION_MINOR==MINOR && NSOL_VERSION_PATCH<=PATCH))))
#define NSOL_VERSION_MINOR
The current minor version.
Definition: version.h:20
#define NSOL_VERSION_MAJOR
The current major version.
Definition: version.h:17
#define NSOL_VERSION_PATCH
The current patch level.
Definition: version.h:23

True if the current version is older or equal to the given.

Definition at line 58 of file version.h.

#define NSOL_VERSION_LT (   MAJOR,
  MINOR,
  PATCH 
)
Value:
( (NSOL_VERSION_MAJOR<MAJOR) || \
(NSOL_VERSION_MAJOR==MAJOR && (NSOL_VERSION_MINOR<MINOR || \
#define NSOL_VERSION_MINOR
The current minor version.
Definition: version.h:20
#define NSOL_VERSION_MAJOR
The current major version.
Definition: version.h:17
#define NSOL_VERSION_PATCH
The current patch level.
Definition: version.h:23

True if the current version is older than the given one.

Definition at line 52 of file version.h.

#define NSOL_VERSION_MAJOR   0

The current major version.

Definition at line 17 of file version.h.

Referenced by nsol::Version::check().

#define NSOL_VERSION_MINOR   4

The current minor version.

Definition at line 20 of file version.h.

Referenced by nsol::Version::check().

#define NSOL_VERSION_PATCH   1

The current patch level.

Definition at line 23 of file version.h.

#define NSOL_VERSION_REVISION   0xdbd12fc

The current SCM revision.

Definition at line 26 of file version.h.

#define NSOL_VERSION_STRING   "0.4.1"

The current major.minor.version as a string.

Definition at line 32 of file version.h.