MongoDB C++ Driver 4.1.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
version.hpp File Reference

Description

Provides macros describing the mongocxx library version.

Warning
This header is not standalone includable!

Go to the source code of this file.

Macros

#define MONGOCXX_VERSION_EXTRA
 This library's API version number suffix if any as raw text (e.g. -extra).
 
#define MONGOCXX_VERSION_MAJOR
 This library's API major version number as an integer literal (e.g. 1).
 
#define MONGOCXX_VERSION_MINOR
 This library's API minor version number as an integer literal (e.g. 2).
 
#define MONGOCXX_VERSION_PATCH
 This library's API patch version number as an integer literal (e.g. 3).
 
#define MONGOCXX_VERSION_STRING
 This library's full version number as a string literal (e.g. "1.2.3-extra").
 

Macro Definition Documentation

◆ MONGOCXX_VERSION_EXTRA

#define MONGOCXX_VERSION_EXTRA

This library's API version number suffix if any as raw text (e.g. -extra).

This value is derived from the BUILD_VERSION variable during configuration.

◆ MONGOCXX_VERSION_MAJOR

#define MONGOCXX_VERSION_MAJOR

This library's API major version number as an integer literal (e.g. 1).

This value is derived from the BUILD_VERSION variable during configuration.

◆ MONGOCXX_VERSION_MINOR

#define MONGOCXX_VERSION_MINOR

This library's API minor version number as an integer literal (e.g. 2).

This value is derived from the BUILD_VERSION variable during configuration.

◆ MONGOCXX_VERSION_PATCH

#define MONGOCXX_VERSION_PATCH

This library's API patch version number as an integer literal (e.g. 3).

This value is derived from the BUILD_VERSION variable during configuration.

◆ MONGOCXX_VERSION_STRING

#define MONGOCXX_VERSION_STRING

This library's full version number as a string literal (e.g. "1.2.3-extra").

This value is derived from the BUILD_VERSION variable during configuration.