AFIO  v2.00 late alpha
Configuration macros

Macros

#define AFIO_VERSION_MAJOR   2
 Major version for cmake and DLL version stamping.
 
#define AFIO_VERSION_MINOR   0
 Minor version for cmake and DLL version stamping.
 
#define AFIO_VERSION_PATCH   0
 Patch version for cmake and DLL version stamping.
 
#define AFIO_VERSION_REVISION   0
 Revision version for cmake and DLL version stamping.
 
#define AFIO_UNSTABLE_VERSION
 Defined between stable releases of AFIO. It means the inline namespace will be permuted per-commit to ensure ABI uniqueness.
 
#define AFIO_HEADERS_ONLY   1
 Whether AFIO is a headers only library. Defaults to 1 unless BOOST_ALL_DYN_LINK is defined.
 
#define AFIO_LOGGING_LEVEL   3
 How much detail to log. 0=disabled, 1=fatal, 2=error, 3=warn, 4=info, 5=debug, 6=all. Defaults to error level.
 
#define AFIO_LOG_BACKTRACE_LEVELS   ((1 << 1) | (1 << 2) | (1 << 3))
 Bit mask of which log levels should be stack backtraced which will slow those logs thirty fold or so. Defaults to (1<<1)|(1<<2)|(1<<3) i.e. stack backtrace on fatal, error and warn logs.
 
#define AFIO_LOGGING_MEMORY   (1024 * 1024)
 How much memory to use for the log. Defaults to 4Kb if NDEBUG defined, else 1Mb.
 
#define AFIO_V2   (QUICKCPPLIB_BIND_NAMESPACE_VERSION(afio_v2))
 The namespace configuration of this AFIO v2. Consists of a sequence of bracketed tokens later fused by the preprocessor into namespace and C++ module names.
 
#define AFIO_V2_NAMESPACE   afio_v2_xxx
 The namespace of this AFIO v2 which will be some unknown inline namespace starting with v2_ inside the boost::afio namespace.
 
#define AFIO_V2_NAMESPACE_BEGIN
 Expands into the appropriate namespace markup to enter the AFIO v2 namespace. More...
 
#define AFIO_V2_NAMESPACE_EXPORT_BEGIN
 Expands into the appropriate namespace markup to enter the C++ module exported AFIO v2 namespace. More...
 
#define AFIO_V2_NAMESPACE_END   }
 Expands into the appropriate namespace markup to exit the AFIO v2 namespace.
 
#define AFIO_HEADERS_ONLY_FUNC_SPEC   inline
 Expands into the appropriate markup to declare an extern function exported from the AFIO DLL if not building headers only.
 
#define AFIO_HEADERS_ONLY_MEMFUNC_SPEC   inline
 Expands into the appropriate markup to declare a class member function exported from the AFIO DLL if not building headers only.
 
#define AFIO_HEADERS_ONLY_VIRTUAL_SPEC   inline virtual
 Expands into the appropriate markup to declare a virtual class member function exported from the AFIO DLL if not building headers only.
 

Detailed Description

Macro Definition Documentation

◆ AFIO_V2_NAMESPACE_BEGIN

#define AFIO_V2_NAMESPACE_BEGIN
Value:
namespace afio_v2_xxx \
{
The AFIO namespace.
Definition: async_file_handle.hpp:33

Expands into the appropriate namespace markup to enter the AFIO v2 namespace.

◆ AFIO_V2_NAMESPACE_EXPORT_BEGIN

#define AFIO_V2_NAMESPACE_EXPORT_BEGIN
Value:
export namespace afio_v2_xxx \
{
The AFIO namespace.
Definition: async_file_handle.hpp:33

Expands into the appropriate namespace markup to enter the C++ module exported AFIO v2 namespace.