A group with all related to SWC-DB Core-Components (libswcdb_core, libswcdb_core_config, libswcdb_core_comm). More...
Namespaces | |
SWC::Comm | |
The SWC-DB Communications C++ namespace 'SWC::Comm'. | |
SWC::Condition | |
The SWC-DB Comparators C++ namespace 'SWC::Condition'. | |
SWC::Core | |
The SWC-DB Core Components C++ namespace 'SWC::Core'. | |
SWC::Config | |
The SWC-DB Configurations C++ namespace 'SWC::Config'. | |
SWC::Error | |
The SWC-DB Error C++ namespace 'SWC::Error'. | |
SWC::Serialization | |
The SWC-DB Serializations C++ namespace 'SWC::Serialization'. | |
SWC::Time | |
The SWC-DB Date and Time C++ namespace 'SWC::Time'. | |
Macros | |
#define | SWC_STRINGIFY(s) #s |
#define | SWC_ATTRIBS(attrs) __attribute__(attrs) |
#define | SWC_ATTR_NOTHROW __nothrow__ |
#define | SWC_ATTR_INLINE __always_inline__ |
#define | SWC_SHOULD_INLINE |
#define | SWC_FMT_LU SWC_STRINGIFY(%) PRIu64 |
#define | SWC_FMT_LD SWC_STRINGIFY(%) PRId64 |
#define | SWC_CAN_INLINE |
#define | SWC_CONST_FUNC SWC_ATTRIBS((const)) |
#define | SWC_PURE_FUNC SWC_ATTRIBS((pure)) |
#define | SWC_MALLOC_FUNC SWC_ATTRIBS((malloc)) |
#define | SWC_COLD_FUNC SWC_ATTRIBS((cold)) |
#define | SWC_NONULL_RET_FUNC SWC_ATTRIBS((returns_nonnull)) |
#define | SWC_HIDE SWC_ATTRIBS((visibility ("hidden"))) |
#define | SWC_ABORT std::raise(SIGABRT) |
#define | SWC_QUICK_EXIT(_CODE_) std::quick_exit(_CODE_) |
#define | SWC_DSO_EXT ".so" |
#define | SWC_CAN_QUICK_EXIT(_CODE_) SWC_QUICK_EXIT(_CODE_) |
#define | SWC_LOG_PRINTF(fmt, ...) printf(fmt, __VA_ARGS__) |
#define | SWC_PRINT |
#define | SWC_PRINT_CLOSE std::endl; } catch(...) { } } |
#define | SWC_LOG_OUT(pr, _code_) |
#define | SWC_LOGF(priority, fmt, ...) SWC_LOG_OUT(priority, SWC_LOG_PRINTF(fmt, __VA_ARGS__); ) |
#define | SWC_LOG(priority, message) |
#define | SWC_LOG_FATAL(msg) |
#define | SWC_LOG_FATALF(msg, ...) |
#define | SWC_MALLOC_NEW_ATTRIBS __attribute__((__nothrow__)) |
#define | SWC_MALLOC_ATTRIBS SWC_CAN_INLINE |
Typedefs | |
typedef Core::uint24_t | SWC::uint24_t |
typedef Core::int24_t | SWC::int24_t |
typedef Core::uint40_t | SWC::uint40_t |
typedef Core::int40_t | SWC::int40_t |
typedef Core::uint48_t | SWC::uint48_t |
typedef Core::int48_t | SWC::int48_t |
typedef Core::uint56_t | SWC::uint56_t |
typedef Core::int56_t | SWC::int56_t |
using | SWC::StaticBuffer = Core::StaticBuffer |
using | SWC::DynamicBuffer = Core::DynamicBuffer |
Enumerations | |
enum | SWC::LogPriority : uint8_t { SWC::LOG_FATAL = 0, SWC::LOG_ALERT = 1, SWC::LOG_CRIT = 2, SWC::LOG_ERROR = 3, SWC::LOG_WARN = 4, SWC::LOG_NOTICE = 5, SWC::LOG_INFO = 6, SWC::LOG_DEBUG = 7 } |
Functions | |
SWC_MALLOC_ATTRIBS void * | operator new (const size_t sz) SWC_MALLOC_NEW_ATTRIBS |
SWC_MALLOC_ATTRIBS void * | operator new[] (size_t sz) SWC_MALLOC_NEW_ATTRIBS |
SWC_MALLOC_ATTRIBS void * | operator new (size_t sz, const std::nothrow_t &) SWC_MALLOC_NEW_ATTRIBS |
SWC_MALLOC_ATTRIBS void * | operator new[] (size_t sz, const std::nothrow_t &) SWC_MALLOC_NEW_ATTRIBS |
SWC_MALLOC_ATTRIBS void * | operator new (const size_t sz, std::align_val_t al) SWC_MALLOC_NEW_ATTRIBS |
SWC_MALLOC_ATTRIBS void * | operator new[] (size_t sz, std::align_val_t al) SWC_MALLOC_NEW_ATTRIBS |
SWC_MALLOC_ATTRIBS void * | operator new (size_t sz, std::align_val_t al, const std::nothrow_t &) SWC_MALLOC_NEW_ATTRIBS |
SWC_MALLOC_ATTRIBS void * | operator new[] (size_t sz, std::align_val_t al, const std::nothrow_t &) SWC_MALLOC_NEW_ATTRIBS |
SWC_MALLOC_ATTRIBS void | operator delete (void *ptr) noexcept |
SWC_MALLOC_ATTRIBS void | operator delete[] (void *ptr) noexcept |
SWC_MALLOC_ATTRIBS void | operator delete (void *ptr, size_t sz) noexcept |
SWC_MALLOC_ATTRIBS void | operator delete[] (void *ptr, size_t sz) noexcept |
SWC_MALLOC_ATTRIBS void | operator delete (void *ptr, std::align_val_t al) noexcept |
SWC_MALLOC_ATTRIBS void | operator delete[] (void *ptr, std::align_val_t al) noexcept |
SWC_MALLOC_ATTRIBS void | operator delete (void *ptr, size_t sz, std::align_val_t al) noexcept |
SWC_MALLOC_ATTRIBS void | operator delete[] (void *ptr, size_t sz, std::align_val_t al) noexcept |
std::string | SWC::format (const char *fmt,...) __attribute__((format(printf |
template<typename SequenceT > | |
std::string SWC_PRAGMA_DIAGNOSTIC_PUSH SWC_PRAGMA_DIAGNOSTIC_IGNORED("-Wformat-nonliteral") std SWC_PRAGMA_DIAGNOSTIC_POP std::string | SWC::format_list (const SequenceT &seq, const char *sep=", ") |
Variables | |
constexpr const uint24_t | SWC::UINT24_MAX = uint24_t(UINT32_MAX >> 8) |
constexpr const uint24_t | SWC::UINT24_MIN = UINT24_MAX + 1 |
constexpr const int24_t | SWC::INT24_MAX = int24_t(UINT24_MAX / 2) |
constexpr const int24_t | SWC::INT24_MIN = INT24_MAX + 1 |
constexpr const uint40_t | SWC::UINT40_MAX = uint40_t(UINT64_MAX >> 24) |
constexpr const uint40_t | SWC::UINT40_MIN = UINT40_MAX + 1 |
constexpr const int40_t | SWC::INT40_MAX = int40_t(UINT40_MAX / 2) |
constexpr const int40_t | SWC::INT40_MIN = INT40_MAX + 1 |
constexpr const uint48_t | SWC::UINT48_MAX = uint48_t(UINT64_MAX >> 16) |
constexpr const uint48_t | SWC::UINT48_MIN = UINT48_MAX + 1 |
constexpr const int48_t | SWC::INT48_MAX = int48_t(UINT48_MAX / 2) |
constexpr const int48_t | SWC::INT48_MIN = INT48_MAX + 1 |
constexpr const uint56_t | SWC::UINT56_MAX = uint56_t(UINT64_MAX >> 8) |
constexpr const uint56_t | SWC::UINT56_MIN = UINT56_MAX + 1 |
constexpr const int56_t | SWC::INT56_MAX = int56_t(UINT56_MAX / 2) |
constexpr const int56_t | SWC::INT56_MIN = INT56_MAX + 1 |
A group with all related to SWC-DB Core-Components (libswcdb_core, libswcdb_core_config, libswcdb_core_comm).
#define SWC_ABORT std::raise(SIGABRT) |
#include <include/swcdb/core/Compat.h>
#define SWC_ATTR_INLINE __always_inline__ |
#include <include/swcdb/core/Compat.h>
#define SWC_ATTR_NOTHROW __nothrow__ |
#include <include/swcdb/core/Compat.h>
#define SWC_ATTRIBS | ( | attrs | ) | __attribute__(attrs) |
#include <include/swcdb/core/Compat.h>
#define SWC_CAN_INLINE |
#include <include/swcdb/core/Compat.h>
#define SWC_CAN_QUICK_EXIT | ( | _CODE_ | ) | SWC_QUICK_EXIT(_CODE_) |
#include <include/swcdb/core/Compat.h>
#define SWC_COLD_FUNC SWC_ATTRIBS((cold)) |
#include <include/swcdb/core/Compat.h>
#define SWC_CONST_FUNC SWC_ATTRIBS((const)) |
#include <include/swcdb/core/Compat.h>
#define SWC_DSO_EXT ".so" |
#include <include/swcdb/core/Compat.h>
#define SWC_FMT_LD SWC_STRINGIFY(%) PRId64 |
#include <include/swcdb/core/Compat.h>
#define SWC_FMT_LU SWC_STRINGIFY(%) PRIu64 |
#include <include/swcdb/core/Compat.h>
#define SWC_HIDE SWC_ATTRIBS((visibility ("hidden"))) |
#include <include/swcdb/core/Compat.h>
#define SWC_LOG | ( | priority, | |
message | |||
) |
#include <include/swcdb/core/Logger.h>
#define SWC_LOG_FATAL | ( | msg | ) |
#include <include/swcdb/core/Logger.h>
#define SWC_LOG_FATALF | ( | msg, | |
... | |||
) |
#include <include/swcdb/core/Logger.h>
#define SWC_LOG_OUT | ( | pr, | |
_code_ | |||
) |
#include <include/swcdb/core/Logger.h>
#define SWC_LOG_PRINTF | ( | fmt, | |
... | |||
) | printf(fmt, __VA_ARGS__) |
#include <include/swcdb/core/Logger.h>
#define SWC_LOGF | ( | priority, | |
fmt, | |||
... | |||
) | SWC_LOG_OUT(priority, SWC_LOG_PRINTF(fmt, __VA_ARGS__); ) |
#include <include/swcdb/core/Logger.h>
#define SWC_MALLOC_ATTRIBS SWC_CAN_INLINE |
#include <include/swcdb/core/Malloc.h>
#define SWC_MALLOC_FUNC SWC_ATTRIBS((malloc)) |
#include <include/swcdb/core/Compat.h>
#define SWC_MALLOC_NEW_ATTRIBS __attribute__((__nothrow__)) |
#include <include/swcdb/core/Malloc.h>
#define SWC_NONULL_RET_FUNC SWC_ATTRIBS((returns_nonnull)) |
#include <include/swcdb/core/Compat.h>
#define SWC_PRINT |
#include <include/swcdb/core/Logger.h>
#define SWC_PRINT_CLOSE std::endl; } catch(...) { } } |
#include <include/swcdb/core/Logger.h>
#define SWC_PURE_FUNC SWC_ATTRIBS((pure)) |
#include <include/swcdb/core/Compat.h>
#define SWC_QUICK_EXIT | ( | _CODE_ | ) | std::quick_exit(_CODE_) |
#include <include/swcdb/core/Compat.h>
#define SWC_SHOULD_INLINE |
#include <include/swcdb/core/Compat.h>
#define SWC_STRINGIFY | ( | s | ) | #s |
#include <include/swcdb/core/Compat.h>
using SWC::DynamicBuffer = typedef Core::DynamicBuffer |
#include <include/swcdb/core/Buffer.h>
typedef Core::int24_t SWC::int24_t |
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 402 of file BitFieldInt.h.
typedef Core::int40_t SWC::int40_t |
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 410 of file BitFieldInt.h.
typedef Core::int48_t SWC::int48_t |
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 418 of file BitFieldInt.h.
typedef Core::int56_t SWC::int56_t |
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 426 of file BitFieldInt.h.
using SWC::StaticBuffer = typedef Core::StaticBuffer |
#include <include/swcdb/core/Buffer.h>
typedef Core::uint24_t SWC::uint24_t |
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 401 of file BitFieldInt.h.
typedef Core::uint40_t SWC::uint40_t |
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 409 of file BitFieldInt.h.
typedef Core::uint48_t SWC::uint48_t |
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 417 of file BitFieldInt.h.
typedef Core::uint56_t SWC::uint56_t |
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 425 of file BitFieldInt.h.
enum SWC::LogPriority : uint8_t |
#include <include/swcdb/core/Logger.h>
Enumerator | |
---|---|
LOG_FATAL | |
LOG_ALERT | |
LOG_CRIT | |
LOG_ERROR | |
LOG_WARN | |
LOG_NOTICE | |
LOG_INFO | |
LOG_DEBUG |
std::string SWC::format | ( | const char * | fmt, |
... | |||
) |
#include <include/swcdb/core/String.h>
Definition at line 17 of file String.cc.
Referenced by SWC::Utils::shell::Fs::ls(), SWC::Config::ParserConfig::print(), SWC::FS::Interface::to_string(), SWC::FS::SmartFd::to_string(), SWC::FS::FileSystem::to_string(), SWC::Config::Property::Value_double::to_string(), SWC::Config::Property::Value_enum::to_string(), SWC::Config::Property::Value_enum_g::to_string(), SWC::FS::FileSystemBroker::to_string(), SWC::FS::FileSystemCeph::to_string(), SWC::FS::FileSystemHadoop::to_string(), SWC::FS::FileSystemHadoopJVM::to_string(), SWC::FS::FileSystemLocal::to_string(), and SWC::Config::Settings::usage_str().
std::string SWC_PRAGMA_DIAGNOSTIC_PUSH SWC_PRAGMA_DIAGNOSTIC_IGNORED ("-Wformat-nonliteral") std SWC_PRAGMA_DIAGNOSTIC_POP std::string SWC::format_list | ( | const SequenceT & | seq, |
const char * | sep = ", " |
||
) |
#include <include/swcdb/core/String.h>
Definition at line 34 of file String.h.
Referenced by SWC::Config::ParserConfig::print(), SWC::Config::Parser::print(), SWC::Config::Property::Value_strings::to_string(), SWC::Config::Property::Value_int64s::to_string(), SWC::Config::Property::Value_doubles::to_string(), and SWC::Config::Property::Value_strings_g::to_string().
|
noexcept |
#include <include/swcdb/core/Malloc.h>
|
noexcept |
#include <include/swcdb/core/Malloc.h>
|
noexcept |
#include <include/swcdb/core/Malloc.h>
|
noexcept |
#include <include/swcdb/core/Malloc.h>
|
noexcept |
#include <include/swcdb/core/Malloc.h>
|
noexcept |
#include <include/swcdb/core/Malloc.h>
|
noexcept |
#include <include/swcdb/core/Malloc.h>
|
noexcept |
#include <include/swcdb/core/Malloc.h>
SWC_MALLOC_ATTRIBS void * operator new | ( | const size_t | sz | ) |
#include <include/swcdb/core/Malloc.h>
Definition at line 78 of file Malloc.h.
References SWC_FMT_LU.
SWC_MALLOC_ATTRIBS void * operator new | ( | const size_t | sz, |
std::align_val_t | al | ||
) |
#include <include/swcdb/core/Malloc.h>
Definition at line 108 of file Malloc.h.
References SWC_FMT_LU.
SWC_MALLOC_ATTRIBS void * operator new | ( | size_t | sz, |
const std::nothrow_t & | |||
) |
#include <include/swcdb/core/Malloc.h>
SWC_MALLOC_ATTRIBS void * operator new | ( | size_t | sz, |
std::align_val_t | al, | ||
const std::nothrow_t & | |||
) |
#include <include/swcdb/core/Malloc.h>
SWC_MALLOC_ATTRIBS void * operator new[] | ( | size_t | sz | ) |
#include <include/swcdb/core/Malloc.h>
SWC_MALLOC_ATTRIBS void * operator new[] | ( | size_t | sz, |
const std::nothrow_t & | |||
) |
#include <include/swcdb/core/Malloc.h>
SWC_MALLOC_ATTRIBS void * operator new[] | ( | size_t | sz, |
std::align_val_t | al | ||
) |
#include <include/swcdb/core/Malloc.h>
SWC_MALLOC_ATTRIBS void * operator new[] | ( | size_t | sz, |
std::align_val_t | al, | ||
const std::nothrow_t & | |||
) |
#include <include/swcdb/core/Malloc.h>
|
constexpr |
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 405 of file BitFieldInt.h.
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 406 of file BitFieldInt.h.
Referenced by SWC::client::SQL::Reader::read_uint24_t(), and SWC::DB::Cell::Serial::Value::FieldUpdate_LIST::set_op().
|
constexpr |
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 413 of file BitFieldInt.h.
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 414 of file BitFieldInt.h.
|
constexpr |
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 421 of file BitFieldInt.h.
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 422 of file BitFieldInt.h.
|
constexpr |
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 429 of file BitFieldInt.h.
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 430 of file BitFieldInt.h.
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 403 of file BitFieldInt.h.
Referenced by SWC::client::SQL::Reader::read_uint24_t(), and SWC::DB::Cell::Serial::Value::FieldUpdate_LIST::set_op().
|
constexpr |
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 404 of file BitFieldInt.h.
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 411 of file BitFieldInt.h.
|
constexpr |
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 412 of file BitFieldInt.h.
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 419 of file BitFieldInt.h.
|
constexpr |
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 420 of file BitFieldInt.h.
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 427 of file BitFieldInt.h.
|
constexpr |
#include <include/swcdb/core/BitFieldInt.h>
Definition at line 428 of file BitFieldInt.h.