ZeroBuf  0.1.0
ZeroBuf is a replacement for FlatBuffers
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
version.h File Reference

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

#include <zerobuf/api.h>
#include <string>
+ Include dependency graph for version.h:

Go to the source code of this file.

Classes

class  zerobuf::Version
 Information about the current ZeroBuf version. More...
 

Namespaces

 zerobuf
 ZeroBuf is a replacement for FlatBuffers/protobuf.
 

Macros

#define ZEROBUF_VERSION_MAJOR   0
 The current major version. More...
 
#define ZEROBUF_VERSION_MINOR   1
 The current minor version. More...
 
#define ZEROBUF_VERSION_PATCH   0
 The current patch level. More...
 
#define ZEROBUF_VERSION_REVISION   0x3385a50
 The current SCM revision. More...
 
#define ZEROBUF_VERSION_ABI   1
 The current binary interface. More...
 
#define ZEROBUF_VERSION_GT(MAJOR, MINOR, PATCH)
 True if the current version is newer than the given one. More...
 
#define ZEROBUF_VERSION_GE(MAJOR, MINOR, PATCH)
 True if the current version is equal or newer to the given. More...
 
#define ZEROBUF_VERSION_LT(MAJOR, MINOR, PATCH)
 True if the current version is older than the given one. More...
 
#define ZEROBUF_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 ZeroBuf.

Definition in file version.h.

Macro Definition Documentation

#define ZEROBUF_VERSION_ABI   1

The current binary interface.

Definition at line 29 of file version.h.

#define ZEROBUF_VERSION_GE (   MAJOR,
  MINOR,
  PATCH 
)
Value:
( (ZEROBUF_VERSION_MAJOR>MAJOR) || \
#define ZEROBUF_VERSION_MAJOR
The current major version.
Definition: version.h:17
#define ZEROBUF_VERSION_MINOR
The current minor version.
Definition: version.h:20
#define ZEROBUF_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 38 of file version.h.

#define ZEROBUF_VERSION_GT (   MAJOR,
  MINOR,
  PATCH 
)
Value:
( (ZEROBUF_VERSION_MAJOR>MAJOR) || \
#define ZEROBUF_VERSION_MAJOR
The current major version.
Definition: version.h:17
#define ZEROBUF_VERSION_MINOR
The current minor version.
Definition: version.h:20
#define ZEROBUF_VERSION_PATCH
The current patch level.
Definition: version.h:23

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

Definition at line 32 of file version.h.

#define ZEROBUF_VERSION_LE (   MAJOR,
  MINOR,
  PATCH 
)
Value:
( (ZEROBUF_VERSION_MAJOR<MAJOR) || \
#define ZEROBUF_VERSION_MAJOR
The current major version.
Definition: version.h:17
#define ZEROBUF_VERSION_MINOR
The current minor version.
Definition: version.h:20
#define ZEROBUF_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 50 of file version.h.

#define ZEROBUF_VERSION_LT (   MAJOR,
  MINOR,
  PATCH 
)
Value:
( (ZEROBUF_VERSION_MAJOR<MAJOR) || \
#define ZEROBUF_VERSION_MAJOR
The current major version.
Definition: version.h:17
#define ZEROBUF_VERSION_MINOR
The current minor version.
Definition: version.h:20
#define ZEROBUF_VERSION_PATCH
The current patch level.
Definition: version.h:23

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

Definition at line 44 of file version.h.

#define ZEROBUF_VERSION_MAJOR   0

The current major version.

Definition at line 17 of file version.h.

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

#define ZEROBUF_VERSION_MINOR   1

The current minor version.

Definition at line 20 of file version.h.

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

#define ZEROBUF_VERSION_PATCH   0

The current patch level.

Definition at line 23 of file version.h.

#define ZEROBUF_VERSION_REVISION   0x3385a50

The current SCM revision.

Definition at line 26 of file version.h.