MongoDB C++ Driver mongocxx-3.11.0
Loading...
Searching...
No Matches
mongocxx/v_noabi/mongocxx/config/export.hpp

Description

This page documents macros provided by the generated header mongocxx/v_noabi/mongocxx/config/export.hpp.

mongocxx/v_noabi/mongocxx/config/export.hpp

These macros are provided by export.hpp, NOT by fwd.hpp (where this is documented)!

#define MONGOCXX_ABI_EXPORT
 Exports the associated entity as part of the ABI.
 
#define MONGOCXX_ABI_NO_EXPORT
 Excludes the associated entity from being part of the ABI.
 
#define MONGOCXX_ABI_CDECL
 Expands to __cdecl when built with MSVC on Windows.
 
#define MONGOCXX_ABI_EXPORT_CDECL(...)
 Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
 
#define MONGOCXX_API   MONGOCXX_ABI_EXPORT
 Equivalent to MONGOCXX_ABI_EXPORT.
 
#define MONGOCXX_PRIVATE   inline MONGOCXX_ABI_NO_EXPORT
 Equivalent to inline with MONGOCXX_ABI_NO_EXPORT.
 
#define MONGOCXX_DEPRECATED
 Declares the associated entity as deprecated.
 
#define MONGOCXX_DEPRECATED_EXPORT
 Equivalent to MONGOCXX_API and MONGOCXX_DEPRECATED.
 
#define MONGOCXX_DEPRECATED_NO_EXPORT
 Equivalent to MONGOCXX_PRIVATE and MONGOCXX_DEPRECATED.
 

Macro Definition Documentation

◆ MONGOCXX_ABI_CDECL

#define MONGOCXX_ABI_CDECL

Expands to __cdecl when built with MSVC on Windows.

Warning
For internal use only!

◆ MONGOCXX_ABI_EXPORT

#define MONGOCXX_ABI_EXPORT

Exports the associated entity as part of the ABI.

Warning
For internal use only!

◆ MONGOCXX_ABI_EXPORT_CDECL

#define MONGOCXX_ABI_EXPORT_CDECL ( ...)
Value:
#define MONGOCXX_ABI_CDECL
Expands to __cdecl when built with MSVC on Windows.
Definition fwd.hpp:214
#define MONGOCXX_ABI_EXPORT
Exports the associated entity as part of the ABI.
Definition fwd.hpp:198

Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.

Warning
For internal use only!

◆ MONGOCXX_ABI_NO_EXPORT

#define MONGOCXX_ABI_NO_EXPORT

Excludes the associated entity from being part of the ABI.

Warning
For internal use only!

◆ MONGOCXX_API

#define MONGOCXX_API   MONGOCXX_ABI_EXPORT

Equivalent to MONGOCXX_ABI_EXPORT.

Warning
For internal use only!
Note
This is a symbol visibility control macro, NOT a declaration of public API. Public API vs. private API is determined by the placement of the entity being declared (e.g. in a public header, as a public class member, etc.) or by documentation (e.g. absence of "For internal use only!" warnings). See API and ABI Versioning.

◆ MONGOCXX_DEPRECATED

#define MONGOCXX_DEPRECATED

Declares the associated entity as deprecated.

Warning
For internal use only!

◆ MONGOCXX_DEPRECATED_EXPORT

#define MONGOCXX_DEPRECATED_EXPORT

Equivalent to MONGOCXX_API and MONGOCXX_DEPRECATED.

Warning
For internal use only!

◆ MONGOCXX_DEPRECATED_NO_EXPORT

#define MONGOCXX_DEPRECATED_NO_EXPORT

Equivalent to MONGOCXX_PRIVATE and MONGOCXX_DEPRECATED.

Warning
For internal use only!

◆ MONGOCXX_PRIVATE

#define MONGOCXX_PRIVATE   inline MONGOCXX_ABI_NO_EXPORT

Equivalent to inline with MONGOCXX_ABI_NO_EXPORT.

Warning
For internal use only!
Note
This is a symbol visibility control macro, NOT a declaration of private API. Public API vs. private API is determined by the placement of the entity being declared (e.g. in a detail header, as a private class member, etc.) or by documentation (e.g. "For internal use only!", absence of documentation, etc.). See API and ABI Versioning.