LLFIO  v2.00
Configuration macros

Macros

#define LLFIO_VERSION_MAJOR   2
 Major version for cmake and DLL version stamping.
 
#define LLFIO_VERSION_MINOR   0
 Minor version for cmake and DLL version stamping.
 
#define LLFIO_VERSION_PATCH   0
 Patch version for cmake and DLL version stamping.
 
#define LLFIO_VERSION_REVISION   0
 Revision version for cmake and DLL version stamping.
 
#define LLFIO_UNSTABLE_VERSION
 Defined between stable releases of LLFIO. It means the inline namespace will be permuted per-commit to ensure ABI uniqueness.
 
#define KVSTORE_V1   (QUICKCPPLIB_BIND_NAMESPACE_VERSION(kvstore_v1))
 The namespace configuration of this kv store v1. Consists of a sequence of bracketed tokens later fused by the preprocessor into namespace and C++ module names.
 
#define KVSTORE_V1_NAMESPACE   kvstore_v1_xxx
 The namespace of this kv store v1 which will be some unknown inline namespace starting with v1_ inside the kvstore namespace.
 
#define KVSTORE_V1_NAMESPACE_BEGIN
 Expands into the appropriate namespace markup to enter the kv store v1 namespace. More...
 
#define KVSTORE_V1_NAMESPACE_EXPORT_BEGIN
 Expands into the appropriate namespace markup to enter the C++ module exported kv store v1 namespace. More...
 
#define KVSTORE_V1_NAMESPACE_END   }
 Expands into the appropriate namespace markup to exit the kv store v1 namespace.
 
#define LLFIO_HEADERS_ONLY   1
 Whether LLFIO is a headers only library. Defaults to 1.
 
#define LLFIO_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 LLFIO_LOG_BACKTRACE_LEVELS   ((1U << 1U) | (1U << 2U) | (1U << 3U))
 Bit mask of which log levels should be stack backtraced which will slow those logs thirty fold or so. Defaults to (1U<<1U)|(1U<<2U)|(1U<<3U) i.e. stack backtrace on fatal, error and warn logs.
 
#define LLFIO_LOGGING_MEMORY   (1024 * 1024)
 How much memory to use for the log. Defaults to 4Kb if NDEBUG defined, else 1Mb.
 
#define LLFIO_V2   (QUICKCPPLIB_BIND_NAMESPACE_VERSION(llfio_v2))
 The namespace configuration of this LLFIO v2. Consists of a sequence of bracketed tokens later fused by the preprocessor into namespace and C++ module names.
 
#define LLFIO_V2_NAMESPACE   llfio_v2_xxx
 The namespace of this LLFIO v2 which will be some unknown inline namespace starting with v2_ inside the boost::llfio namespace.
 
#define LLFIO_V2_NAMESPACE_BEGIN
 Expands into the appropriate namespace markup to enter the LLFIO v2 namespace. More...
 
#define LLFIO_V2_NAMESPACE_EXPORT_BEGIN
 Expands into the appropriate namespace markup to enter the C++ module exported LLFIO v2 namespace. More...
 
#define LLFIO_V2_NAMESPACE_END   }
 Expands into the appropriate namespace markup to exit the LLFIO v2 namespace.
 
#define LLFIO_HEADERS_ONLY_FUNC_SPEC   inline
 Expands into the appropriate markup to declare an extern function exported from the LLFIO DLL if not building headers only.
 
#define LLFIO_HEADERS_ONLY_MEMFUNC_SPEC   inline
 Expands into the appropriate markup to declare a class member function exported from the LLFIO DLL if not building headers only.
 
#define LLFIO_HEADERS_ONLY_VIRTUAL_SPEC   inline virtual
 Expands into the appropriate markup to declare a virtual class member function exported from the LLFIO DLL if not building headers only.
 

Detailed Description

Macro Definition Documentation

◆ KVSTORE_V1_NAMESPACE_BEGIN

#define KVSTORE_V1_NAMESPACE_BEGIN
Value:
namespace kvstore_v1_xxx \
{
The kv store namespace.
Definition: kvstore.hpp:48

Expands into the appropriate namespace markup to enter the kv store v1 namespace.

◆ KVSTORE_V1_NAMESPACE_EXPORT_BEGIN

#define KVSTORE_V1_NAMESPACE_EXPORT_BEGIN
Value:
export namespace kvstore_v1_xxx \
{

Expands into the appropriate namespace markup to enter the C++ module exported kv store v1 namespace.

◆ LLFIO_V2_NAMESPACE_BEGIN

#define LLFIO_V2_NAMESPACE_BEGIN
Value:
namespace llfio_v2_xxx \
{
The LLFIO namespace.
Definition: byte_io_handle.hpp:37

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

◆ LLFIO_V2_NAMESPACE_EXPORT_BEGIN

#define LLFIO_V2_NAMESPACE_EXPORT_BEGIN
Value:
export namespace llfio_v2_xxx \
{

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