|
Aleph-w 3.0
A C++ Library for Data Structures and Algorithms
|
#include <tpl_dynSetTree.H>
Public Member Functions | |
| ArenaTreeAllocator (const size_t &sz=1024 *1024) | |
| ArenaTreeAllocator (const char *base_addr, const size_t &sz) | |
| Node * | alloc_lval (const typename Node::key_type &key) override |
| Node * | alloc_rval (typename Node::key_type &&key) override |
| void | unalloc (Node *p) override |
| size_t | allocated_size () const noexcept |
| size_t | available_size () const noexcept |
| ~ArenaTreeAllocator ()=default | |
Public Member Functions inherited from Aleph::AbstractTreeNodeAllocator< Node > | |
| AbstractTreeNodeAllocator ()=default | |
| virtual | ~AbstractTreeNodeAllocator ()=default |
Public Attributes | |
| AhArenaAllocator | arena |
Definition at line 119 of file tpl_dynSetTree.H.
|
inline |
Definition at line 123 of file tpl_dynSetTree.H.
|
inline |
Definition at line 129 of file tpl_dynSetTree.H.
|
default |
|
inlineoverridevirtual |
Implements Aleph::AbstractTreeNodeAllocator< Node >.
Definition at line 135 of file tpl_dynSetTree.H.
References ah_bad_alloc_if, Aleph::ArenaTreeAllocator< Node >::arena, and Aleph::maps().
|
inlineoverridevirtual |
Implements Aleph::AbstractTreeNodeAllocator< Node >.
Definition at line 142 of file tpl_dynSetTree.H.
References ah_bad_alloc_if, Aleph::ArenaTreeAllocator< Node >::arena, and Aleph::maps().
|
inlinenoexcept |
Definition at line 155 of file tpl_dynSetTree.H.
References Aleph::AhArenaAllocator::allocated_size(), and Aleph::ArenaTreeAllocator< Node >::arena.
|
inlinenoexcept |
Definition at line 160 of file tpl_dynSetTree.H.
References Aleph::ArenaTreeAllocator< Node >::arena, and Aleph::AhArenaAllocator::available_size().
|
inlineoverridevirtual |
Implements Aleph::AbstractTreeNodeAllocator< Node >.
Definition at line 150 of file tpl_dynSetTree.H.
References Aleph::ArenaTreeAllocator< Node >::arena, and Aleph::maps().
| AhArenaAllocator Aleph::ArenaTreeAllocator< Node >::arena |
Definition at line 121 of file tpl_dynSetTree.H.
Referenced by Aleph::ArenaTreeAllocator< Node >::alloc_lval(), Aleph::ArenaTreeAllocator< Node >::alloc_rval(), Aleph::ArenaTreeAllocator< Node >::allocated_size(), Aleph::ArenaTreeAllocator< Node >::available_size(), and Aleph::ArenaTreeAllocator< Node >::unalloc().