|
Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
|
Preprocessor macros for configuring library functionality. \detail Define these before including toml++ to alter the way it functions. More...
Macros | |
| #define | TOML_SHARED_LIB 0 |
| #define | TOML_HEADER_ONLY 1 |
Sets whether the library is entirely inline. \detail Defaults to 1. | |
| #define | TOML_IMPLEMENTATION 1 |
| Enables the library's implementation when TOML_HEADER_ONLY is disabled. \detail Not defined by default. Meaningless when TOML_HEADER_ONLY is enabled. | |
| #define | TOML_EXPORTED_CLASS |
| An 'export' annotation to add to classes. \detail Not defined by default. | |
| #define | TOML_EXPORTED_MEMBER_FUNCTION |
| An 'export' annotation to add to non-static class member functions. \detail Not defined by default. | |
| #define | TOML_EXPORTED_STATIC_FUNCTION |
An 'export' annotation to add to static class member functions. \detail Not defined by default. | |
| #define | TOML_EXPORTED_FREE_FUNCTION |
| An 'export' annotation to add to free functions. \detail Not defined by default. | |
| #define | TOML_ENABLE_UNRELEASED_FEATURES 0 |
Enables support for unreleased TOML language features not yet part of a numbered version. \detail Defaults to 0. | |
| #define | TOML_ENABLE_PARSER 1 |
Sets whether the parser-related parts of the library are included. \detail Defaults to 1. | |
| #define | TOML_ENABLE_FORMATTERS 1 |
Sets whether the various formatter classes are enabled. \detail Defaults to 1. | |
| #define | TOML_ENABLE_SIMD 1 |
| #define | TOML_ENABLE_WINDOWS_COMPAT 1 |
Enables the use of wide strings (wchar_t, std::wstring) in various places throughout the library when building for Windows. \detail Defaults to 1 when building for Windows, 0 otherwise. Has no effect when building for anything other than Windows. | |
| #define | TOML_INCLUDE_WINDOWS_H 0 |
| #define | TOML_HAS_CUSTOM_OPTIONAL_TYPE 0 |
| #define | TOML_EXCEPTIONS 0 |
Sets whether the library uses exceptions to report parsing failures. \detail Defaults to 1 or 0 according to your compiler's exception mode. | |
| #define | TOML_CALLCONV |
| Calling convention to apply to exported free/static functions. \detail Not defined by default (let the compiler decide). | |
| #define | TOML_UNDEF_MACROS 1 |
| #define | TOML_MAX_NESTED_VALUES 256 |
| #define | TOML_LIFETIME_HOOKS 0 |
| #define | TOML_ASSERT(expr) assert(expr) |
Sets the assert function used by the library. \detail Defaults to the standard C assert(). | |
| #define | TOML_ASSERT_ASSUME(expr) TOML_ASSERT(expr) |
| #define | TOML_ENABLE_FLOAT16 0 |
Enable support for the built-in _Float16 type. \detail Defaults to 0. | |
Variables | |
| TOML_DISABLE_WARNINGS | |
| TOML_ENABLE_WARNINGS | |
Preprocessor macros for configuring library functionality. \detail Define these before including toml++ to alter the way it functions.
| #define TOML_ASSERT | ( | expr | ) | assert(expr) |
Sets the assert function used by the library. \detail Defaults to the standard C assert().
Definition at line 1170 of file preprocessor.hpp.
| #define TOML_ASSERT_ASSUME | ( | expr | ) | TOML_ASSERT(expr) |
Definition at line 1175 of file preprocessor.hpp.
| #define TOML_CALLCONV |
Calling convention to apply to exported free/static functions. \detail Not defined by default (let the compiler decide).
Definition at line 1117 of file preprocessor.hpp.
| #define TOML_ENABLE_FLOAT16 0 |
Enable support for the built-in _Float16 type. \detail Defaults to 0.
Definition at line 1192 of file preprocessor.hpp.
| #define TOML_ENABLE_FORMATTERS 1 |
Sets whether the various formatter classes are enabled. \detail Defaults to 1.
TOML_ENABLE_FORMATTERS to 0 can improve compilation speed and reduce binary size. Definition at line 1031 of file preprocessor.hpp.
| #define TOML_ENABLE_PARSER 1 |
Sets whether the parser-related parts of the library are included. \detail Defaults to 1.
TOML_ENABLE_PARSER to 0 can improve compilation speed and reduce binary size. Definition at line 1019 of file preprocessor.hpp.
| #define TOML_ENABLE_SIMD 1 |
Definition at line 1047 of file preprocessor.hpp.
| #define TOML_ENABLE_UNRELEASED_FEATURES 0 |
Enables support for unreleased TOML language features not yet part of a numbered version. \detail Defaults to 0.
Definition at line 1003 of file preprocessor.hpp.
| #define TOML_ENABLE_WINDOWS_COMPAT 1 |
Enables the use of wide strings (wchar_t, std::wstring) in various places throughout the library when building for Windows. \detail Defaults to 1 when building for Windows, 0 otherwise. Has no effect when building for anything other than Windows.
0. Definition at line 1058 of file preprocessor.hpp.
| #define TOML_EXCEPTIONS 0 |
Sets whether the library uses exceptions to report parsing failures. \detail Defaults to 1 or 0 according to your compiler's exception mode.
Definition at line 1109 of file preprocessor.hpp.
| #define TOML_EXPORTED_CLASS |
An 'export' annotation to add to classes. \detail Not defined by default.
__declspec(dllexport) if you were building the library into the public API of a DLL on Windows. Definition at line 956 of file preprocessor.hpp.
| #define TOML_EXPORTED_FREE_FUNCTION |
An 'export' annotation to add to free functions. \detail Not defined by default.
__declspec(dllexport) if you were building the library into the public API of a DLL on Windows. Definition at line 965 of file preprocessor.hpp.
| #define TOML_EXPORTED_MEMBER_FUNCTION |
An 'export' annotation to add to non-static class member functions. \detail Not defined by default.
__declspec(dllexport) if you were building the library into the public API of a DLL on Windows. Definition at line 959 of file preprocessor.hpp.
| #define TOML_EXPORTED_STATIC_FUNCTION |
An 'export' annotation to add to static class member functions. \detail Not defined by default.
__declspec(dllexport) if you were building the library into the public API of a DLL on Windows. Definition at line 962 of file preprocessor.hpp.
| #define TOML_HAS_CUSTOM_OPTIONAL_TYPE 0 |
Definition at line 1084 of file preprocessor.hpp.
| #define TOML_HEADER_ONLY 1 |
Sets whether the library is entirely inline. \detail Defaults to 1.
// some_code_file.cpp #define TOML_IMPLEMENTATION #include "global_header_that_includes_toml++.h" \ecpp
Definition at line 890 of file preprocessor.hpp.
| #define TOML_IMPLEMENTATION 1 |
Enables the library's implementation when TOML_HEADER_ONLY is disabled. \detail Not defined by default. Meaningless when TOML_HEADER_ONLY is enabled.
Definition at line 914 of file preprocessor.hpp.
| #define TOML_INCLUDE_WINDOWS_H 0 |
Definition at line 1067 of file preprocessor.hpp.
| #define TOML_LIFETIME_HOOKS 0 |
Definition at line 1157 of file preprocessor.hpp.
| #define TOML_MAX_NESTED_VALUES 256 |
Definition at line 1138 of file preprocessor.hpp.
| #define TOML_SHARED_LIB 0 |
Definition at line 880 of file preprocessor.hpp.
| #define TOML_UNDEF_MACROS 1 |
Definition at line 1134 of file preprocessor.hpp.
| TOML_DISABLE_WARNINGS |
Definition at line 1166 of file preprocessor.hpp.
| TOML_ENABLE_WARNINGS |
Definition at line 1168 of file preprocessor.hpp.