C++ Utilities
4.17.0
Useful C++ classes and routines such as argument parser, IO and conversion utilities
|
Go to the source code of this file.
Macros | |
#define | LIB_EXPORT __attribute__((visibility("default"))) |
Marks a symbol for shared library export. More... | |
#define | LIB_IMPORT __attribute__((visibility("default"))) |
Declares a symbol to be an import from a shared library. More... | |
#define | LIB_HIDDEN __attribute__((visibility("hidden"))) |
Hidden visibility indicates that the symbol will not be placed into the dynamic symbol table, so no other module (executable or shared library) can reference it directly. More... | |
#define | USE_NOTHROW throw() |
Marks a function as never throwing, under no circumstances. More... | |
#define | DECLARE_ENUM(name, base) enum name : base |
Declares an enum without preventing lupdate to parse the file correctly. More... | |
#define | DECLARE_ENUM_CLASS(name, base) enum class name : base |
Declares an enum without preventing lupdate to parse the file correctly. More... | |
#define | VAR_UNUSED(x) (void)x; |
Prevents warnings about unused variables. More... | |
#define | IF_DEBUG_BUILD(x) |
Wraps debug-only lines conveniently. More... | |
#define | FALLTHROUGH |
Prevents clang from warning about missing break in switch-case. More... | |
#define | APPLICATION_UTILITIES_GLOBAL_H |
#define | LIB_EXPORT __attribute__((visibility("default"))) |
#define | LIB_IMPORT __attribute__((visibility("default"))) |
#define | LIB_HIDDEN __attribute__((visibility("hidden"))) |
#define | DECLARE_ENUM(name, base) enum name : base |
#define | DECLARE_ENUM_CLASS(name, base) enum class name : base |
#define | VAR_UNUSED(x) (void)x; |
#define | IF_DEBUG_BUILD(x) |
#define | FALLTHROUGH |
#define APPLICATION_UTILITIES_GLOBAL_H |
Definition at line 3 of file binaryconversion.h.
#define DECLARE_ENUM | ( | name, | |
base | |||
) | enum name : base |
Declares an enum without preventing lupdate to parse the file correctly.
Definition at line 107 of file binaryconversion.h.
#define DECLARE_ENUM | ( | name, | |
base | |||
) | enum name : base |
#define DECLARE_ENUM_CLASS | ( | name, | |
base | |||
) | enum class name : base |
Declares an enum without preventing lupdate to parse the file correctly.
Definition at line 114 of file binaryconversion.h.
#define DECLARE_ENUM_CLASS | ( | name, | |
base | |||
) | enum class name : base |
#define FALLTHROUGH |
#define FALLTHROUGH |
Prevents clang from warning about missing break in switch-case.
Definition at line 143 of file binaryconversion.h.
#define IF_DEBUG_BUILD | ( | x | ) |
#define IF_DEBUG_BUILD | ( | x | ) |
Wraps debug-only lines conveniently.
Definition at line 131 of file binaryconversion.h.
#define LIB_EXPORT __attribute__((visibility("default"))) |
Marks a symbol for shared library export.
Definition at line 83 of file binaryconversion.h.
#define LIB_EXPORT __attribute__((visibility("default"))) |
#define LIB_HIDDEN __attribute__((visibility("hidden"))) |
Hidden visibility indicates that the symbol will not be placed into the dynamic symbol table, so no other module (executable or shared library) can reference it directly.
Definition at line 85 of file binaryconversion.h.
#define LIB_HIDDEN __attribute__((visibility("hidden"))) |
#define LIB_IMPORT __attribute__((visibility("default"))) |
#define LIB_IMPORT __attribute__((visibility("default"))) |
Declares a symbol to be an import from a shared library.
Definition at line 84 of file binaryconversion.h.
#define USE_NOTHROW throw() |
Marks a function as never throwing, under no circumstances.
#define VAR_UNUSED | ( | x | ) | (void)x; |
#define VAR_UNUSED | ( | x | ) | (void)x; |
Prevents warnings about unused variables.
Definition at line 121 of file binaryconversion.h.