Wire Sysio Wire Sysion 1.0.0
|
Classes | |
class | abstract_index |
class | abstract_session |
class | chainbase_error_category |
class | chainbase_node_allocator |
class | database |
struct | db_header |
struct | environment |
struct | get_index_type |
struct | get_key |
class | index |
class | index_impl |
struct | index_tag_impl |
struct | index_tag_impl< Index< boost::multi_index::tag< Tag >, T... > > |
class | int_incrementer |
struct | mi_to_ui_ii |
struct | mi_to_ui_ii< T, boost::mp11::mp_list< I... >, A > |
struct | multi_index_to_undo_index_impl |
struct | multi_index_to_undo_index_impl< boost::multi_index_container< T, I, A > > |
struct | object |
struct | offset_node_base |
struct | offset_node_traits |
struct | offset_node_value_traits |
class | oid |
class | pinnable_mapped_file |
class | read_write_mutex_manager |
struct | scope_exit |
class | session_impl |
struct | set_impl |
class | shared_cow_string |
struct | to_mp11 |
class | undo_index |
struct | value_holder |
Typedefs | |
template<typename T > | |
using | allocator = bip::allocator<T, pinnable_mapped_file::segment_manager> |
template<typename T > | |
using | node_allocator = chainbase_node_allocator<T, pinnable_mapped_file::segment_manager> |
using | shared_string = shared_cow_string |
typedef boost::interprocess::interprocess_sharable_mutex | read_write_mutex |
typedef boost::interprocess::sharable_lock< read_write_mutex > | read_lock |
template<typename MultiIndexType > | |
using | generic_index = multi_index_to_undo_index<MultiIndexType> |
template<typename Object , typename... Args> | |
using | shared_multi_index_container = boost::multi_index_container<Object,Args..., chainbase::node_allocator<Object> > |
template<typename Allocator , typename T > | |
using | rebind_alloc_t = typename std::allocator_traits<Allocator>::template rebind_alloc<T> |
template<typename Index > | |
using | index_tag = typename index_tag_impl<Index>::type |
template<typename Tag , typename... Indices> | |
using | find_tag = boost::mp11::mp_find<boost::mp11::mp_list<index_tag<Indices>...>, Tag> |
template<typename K , typename Allocator > | |
using | hook = offset_node_base<K> |
template<typename Node , typename OrderedIndex > | |
using | set_base |
template<typename Node , typename Tag > | |
using | list_base |
template<typename MultiIndexContainer > | |
using | multi_index_to_undo_index = typename multi_index_to_undo_index_impl<MultiIndexContainer>::type |
Enumerations | |
enum | db_error_code { ok = 0 , dirty , incompatible , incorrect_db_version , not_found , bad_size , unsupported_win32_mode , bad_header , no_access , aborted , no_mlock } |
Functions | |
template<typename DataStream , typename OidType > | |
DataStream & | operator<< (DataStream &ds, const oid< OidType > &oid) |
template<typename DataStream , typename OidType > | |
DataStream & | operator>> (DataStream &ds, oid< OidType > &oid) |
template<typename DataStream > | |
DataStream & | operator<< (DataStream &s, const chainbase::shared_cow_string &v) |
template<typename DataStream > | |
DataStream & | operator>> (DataStream &s, chainbase::shared_cow_string &v) |
struct chainbase::environment | __attribute__ ((packed)) |
std::ostream & | operator<< (std::ostream &os, const chainbase::environment &dt) |
const std::error_category & | chainbase_error_category () |
std::error_code | make_error_code (db_error_code e) noexcept |
std::istream & | operator>> (std::istream &in, pinnable_mapped_file::map_mode &runtime) |
std::ostream & | operator<< (std::ostream &osm, pinnable_mapped_file::map_mode m) |
template<typename L , typename It , typename Pred , typename Disposer > | |
void | remove_if_after_and_dispose (L &l, It it, It end, Pred &&p, Disposer &&d) |
template<template< typename > class A, typename T > | |
auto & | propagate_allocator (A< T > &a) |
template<typename T , typename S > | |
auto & | propagate_allocator (boost::interprocess::allocator< T, S > &a) |
template<typename T , typename S , std::size_t N> | |
auto | propagate_allocator (boost::interprocess::node_allocator< T, S, N > &a) |
template<typename T , typename S , std::size_t N> | |
auto | propagate_allocator (boost::interprocess::private_node_allocator< T, S, N > &a) |
template<typename T , typename S > | |
auto | propagate_allocator (chainbase::chainbase_node_allocator< T, S > &a) |
Variables | |
constexpr size_t | header_size = 1024 |
constexpr uint64_t | header_id = 0x3242444f49534f45ULL |
constexpr size_t | header_dirty_bit_offset = offsetof(db_header, dirty) |
template<typename OrderedIndex > | |
constexpr bool | is_valid_index = false |
using chainbase::allocator = bip::allocator<T, pinnable_mapped_file::segment_manager> |
Definition at line 56 of file chainbase.hpp.
using chainbase::find_tag = boost::mp11::mp_find<boost::mp11::mp_list<index_tag<Indices>...>, Tag> |
Definition at line 150 of file undo_index.hpp.
using chainbase::generic_index = multi_index_to_undo_index<MultiIndexType> |
Definition at line 136 of file chainbase.hpp.
using chainbase::hook = offset_node_base<K> |
Definition at line 153 of file undo_index.hpp.
using chainbase::index_tag = typename index_tag_impl<Index>::type |
Definition at line 147 of file undo_index.hpp.
using chainbase::list_base |
Definition at line 168 of file undo_index.hpp.
using chainbase::multi_index_to_undo_index = typename multi_index_to_undo_index_impl<MultiIndexContainer>::type |
Definition at line 929 of file undo_index.hpp.
using chainbase::node_allocator = chainbase_node_allocator<T, pinnable_mapped_file::segment_manager> |
Definition at line 59 of file chainbase.hpp.
typedef boost::interprocess::sharable_lock< read_write_mutex > chainbase::read_lock |
Definition at line 64 of file chainbase.hpp.
typedef boost::interprocess::interprocess_sharable_mutex chainbase::read_write_mutex |
Definition at line 63 of file chainbase.hpp.
using chainbase::rebind_alloc_t = typename std::allocator_traits<Allocator>::template rebind_alloc<T> |
Definition at line 140 of file undo_index.hpp.
using chainbase::set_base |
Definition at line 156 of file undo_index.hpp.
using chainbase::shared_multi_index_container = boost::multi_index_container<Object,Args..., chainbase::node_allocator<Object> > |
Definition at line 558 of file chainbase.hpp.
Definition at line 61 of file chainbase.hpp.
Enumerator | |
---|---|
ok | |
dirty | |
incompatible | |
incorrect_db_version | |
not_found | |
bad_size | |
unsupported_win32_mode | |
bad_header | |
no_access | |
aborted | |
no_mlock |
Definition at line 14 of file pinnable_mapped_file.hpp.
struct chainbase::db_header chainbase::__attribute__ | ( | (packed) | ) |
const std::error_category & chainbase::chainbase_error_category | ( | ) |
Definition at line 48 of file pinnable_mapped_file.cpp.
|
inlinenoexcept |
Definition at line 30 of file pinnable_mapped_file.hpp.
DataStream & chainbase::operator<< | ( | DataStream & | ds, |
const oid< OidType > & | oid ) |
Definition at line 216 of file database_utils.hpp.
|
inline |
Definition at line 392 of file types.hpp.
std::ostream & chainbase::operator<< | ( | std::ostream & | os, |
const chainbase::environment & | dt ) |
Definition at line 377 of file pinnable_mapped_file.cpp.
std::ostream & chainbase::operator<< | ( | std::ostream & | osm, |
pinnable_mapped_file::map_mode | m ) |
Definition at line 347 of file pinnable_mapped_file.cpp.
DataStream & chainbase::operator>> | ( | DataStream & | ds, |
oid< OidType > & | oid ) |
Definition at line 222 of file database_utils.hpp.
|
inline |
std::istream & chainbase::operator>> | ( | std::istream & | in, |
pinnable_mapped_file::map_mode & | runtime ) |
Definition at line 333 of file pinnable_mapped_file.cpp.
Definition at line 224 of file undo_index.hpp.
Definition at line 226 of file undo_index.hpp.
Definition at line 228 of file undo_index.hpp.
auto chainbase::propagate_allocator | ( | chainbase::chainbase_node_allocator< T, S > & | a | ) |
Definition at line 230 of file undo_index.hpp.
void chainbase::remove_if_after_and_dispose | ( | L & | l, |
It | it, | ||
It | end, | ||
Pred && | p, | ||
Disposer && | d ) |
Definition at line 173 of file undo_index.hpp.
Definition at line 73 of file environment.hpp.
|
constexpr |
Definition at line 8 of file environment.hpp.
|
constexpr |
Definition at line 7 of file environment.hpp.
|
constexpr |
Definition at line 163 of file undo_index.hpp.