NIM 跨平台 C++ SDK
|
#include <btree.h>
Public 类型 | |
enum | { kTargetNodeSize = TargetNodeSize , kNodeSlotSpace } |
using | key_compare = typename key_compare_to_adapter< Compare >::type |
using | is_key_compare_to = btree_is_key_compare_to< key_compare, Key > |
using | allocator_type = Alloc |
using | key_type = Key |
using | size_type = std::size_t |
using | difference_type = ptrdiff_t |
using | is_multi_container = std::integral_constant< bool, Multi > |
using | slot_policy = SlotPolicy |
using | slot_type = typename slot_policy::slot_type |
using | value_type = typename slot_policy::value_type |
using | init_type = typename slot_policy::mutable_value_type |
using | pointer = value_type * |
using | const_pointer = const value_type * |
using | reference = value_type & |
using | const_reference = const value_type & |
using | node_count_type = phmap::conditional_t<(kNodeSlotSpace/sizeof(slot_type) >(std::numeric_limits< uint8_t >::max)()), uint16_t, uint8_t > |
静态 Public 成员函数 | |
static value_type & | element (slot_type *slot) |
static const value_type & | element (const slot_type *slot) |
template<class... Args> | |
static void | construct (Alloc *alloc, slot_type *slot, Args &&... args) |
static void | construct (Alloc *alloc, slot_type *slot, slot_type *other) |
static void | destroy (Alloc *alloc, slot_type *slot) |
static void | transfer (Alloc *alloc, slot_type *new_slot, slot_type *old_slot) |
static void | swap (Alloc *alloc, slot_type *a, slot_type *b) |
static void | move (Alloc *alloc, slot_type *src, slot_type *dest) |
static void | move (Alloc *alloc, slot_type *first, slot_type *last, slot_type *result) |
using phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, SlotPolicy >::allocator_type = Alloc |
using phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, SlotPolicy >::const_pointer = const value_type * |
using phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, SlotPolicy >::const_reference = const value_type & |
using phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, SlotPolicy >::difference_type = ptrdiff_t |
using phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, SlotPolicy >::init_type = typename slot_policy::mutable_value_type |
using phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, SlotPolicy >::is_key_compare_to = btree_is_key_compare_to<key_compare, Key> |
using phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, SlotPolicy >::is_multi_container = std::integral_constant<bool, Multi> |
using phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, SlotPolicy >::key_compare = typename key_compare_to_adapter<Compare>::type |
using phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, SlotPolicy >::key_type = Key |
using phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, SlotPolicy >::node_count_type = phmap::conditional_t<(kNodeSlotSpace / sizeof(slot_type) > (std::numeric_limits<uint8_t>::max)()), uint16_t, uint8_t> |
using phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, SlotPolicy >::pointer = value_type * |
using phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, SlotPolicy >::reference = value_type & |
using phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, SlotPolicy >::size_type = std::size_t |
using phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, SlotPolicy >::slot_policy = SlotPolicy |
using phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, SlotPolicy >::slot_type = typename slot_policy::slot_type |
using phmap::priv::common_params< Key, Compare, Alloc, TargetNodeSize, Multi, SlotPolicy >::value_type = typename slot_policy::value_type |
anonymous enum |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |