#include <boost/interprocess/managed_mapped_file.hpp>
#include <boost/interprocess/containers/map.hpp>
#include <boost/interprocess/containers/set.hpp>
#include <boost/interprocess/containers/flat_map.hpp>
#include <boost/interprocess/containers/deque.hpp>
#include <boost/interprocess/containers/string.hpp>
#include <boost/interprocess/allocators/allocator.hpp>
#include <boost/interprocess/sync/interprocess_sharable_mutex.hpp>
#include <boost/interprocess/sync/sharable_lock.hpp>
#include <boost/core/demangle.hpp>
#include <boost/multi_index_container.hpp>
#include <boost/chrono.hpp>
#include <boost/config.hpp>
#include <boost/filesystem.hpp>
#include <boost/lexical_cast.hpp>
#include <boost/throw_exception.hpp>
#include <array>
#include <atomic>
#include <fstream>
#include <iostream>
#include <stdexcept>
#include <typeindex>
#include <typeinfo>
#include <set>
#include <chainbase/pinnable_mapped_file.hpp>
#include <chainbase/shared_cow_string.hpp>
#include <chainbase/chainbase_node_allocator.hpp>
#include <chainbase/undo_index.hpp>
Go to the source code of this file.
◆ CHAINBASE_DEFAULT_CONSTRUCTOR
#define CHAINBASE_DEFAULT_CONSTRUCTOR |
( |
| OBJECT_TYPE | ) |
|
Value:
Concept for allocating, resizing and freeing memory block.
yubihsm_pkcs11_object_template template
Definition at line 108 of file chainbase.hpp.
108 #define CHAINBASE_DEFAULT_CONSTRUCTOR( OBJECT_TYPE ) \
109 template<typename Constructor, typename Allocator> \
110 OBJECT_TYPE( Constructor&& c, Allocator&& ) { c(*this); }
◆ CHAINBASE_NUM_RW_LOCKS
#define CHAINBASE_NUM_RW_LOCKS 10 |
◆ CHAINBASE_REQUIRE_READ_LOCK
#define CHAINBASE_REQUIRE_READ_LOCK |
( |
| m, |
|
|
| t ) |
◆ CHAINBASE_REQUIRE_WRITE_LOCK
#define CHAINBASE_REQUIRE_WRITE_LOCK |
( |
| m, |
|
|
| t ) |
◆ CHAINBASE_SET_INDEX_TYPE
#define CHAINBASE_SET_INDEX_TYPE |
( |
| OBJECT_TYPE, |
|
|
| INDEX_TYPE ) |
Value: namespace chainbase {
template<>
struct get_index_type<OBJECT_TYPE> {
typedef INDEX_TYPE
type; }; }
This macro must be used at global scope and OBJECT_TYPE and INDEX_TYPE must be fully qualified
Definition at line 105 of file chainbase.hpp.
105 #define CHAINBASE_SET_INDEX_TYPE( OBJECT_TYPE, INDEX_TYPE ) \
106 namespace chainbase { template<> struct get_index_type<OBJECT_TYPE> { typedef INDEX_TYPE type; }; }