#include <buildfptree.hpp>
Public Member Functions | |
template<class CALLBACK> | |
void | initBuildTree (buildtree_t &tree, item_t maxitem, CALLBACK &cb) |
template<class T, class CALLBACK> | |
void | addTransToTree (T &trans, size_t length, buildtree_t &tree, counter_t count, CALLBACK &cb) |
Protected Types | |
typedef NONORDFP_CHILDMAP< item_t, void * > | childmap_t |
Protected Member Functions | |
void * | allocateInternalNode (counter_t cnt) |
storenode_t | allocateLeafNode (counter_t cnt, uint32_t len) |
Static Protected Member Functions | |
static bool DINLINE | isLeaf (counter_t cnt) |
static counter_t DINLINE | origCounter (counter_t cnt) |
static counter_t DINLINE | counterToLeaf (counter_t cnt) |
static counter_t DINLINE | counterToNode (counter_t cnt) |
static int DINLINE | leafAllocSize (int itemcnt) |
Protected Attributes | |
blockalloc< internalnode_t, 10 *1024 > | nodeallocator |
blockalloc< uint32_t, 100 *1024 > | rawallocator |
Static Protected Attributes | |
static const counter_t | leafbit = 1<<30 |
static const int | internal_node_allocsize = (sizeof(childmap_t)+sizeof(counter_t) + sizeof(uint32_t)-1 )/sizeof(uint32_t) |
Classes | |
class | buildtree_t |
class | endnode_t |
class | internalnode_t |
class | node_t |
class | nodeiter_t |
class | nodeptr_t |
class | storenode_t |
This is the node of an internal point. More... |
Definition at line 209 of file buildfptree.hpp.
|
Definition at line 229 of file buildfptree.hpp. |
|
|
|
|
Definition at line 220 of file buildfptree.hpp. References bracz::EndPatriciaBuildTree< ENDONLY >::leafbit. Referenced by bracz::EndPatriciaBuildTree< ENDONLY >::allocateLeafNode(), and bracz::EndPatriciaBuildTree< ENDONLY >::node_t::setCounter(). |
|
Definition at line 224 of file buildfptree.hpp. Referenced by bracz::EndPatriciaBuildTree< ENDONLY >::addTransToTree(), bracz::EndPatriciaBuildTree< ENDONLY >::allocateInternalNode(), and bracz::EndPatriciaBuildTree< ENDONLY >::node_t::setCounter(). |
|
Definition at line 468 of file buildfptree.hpp. References bracz::EndPatriciaBuildTree< ENDONLY >::allocateInternalNode(), and bracz::EndPatriciaBuildTree< ENDONLY >::buildtree_t::root. |
|
Definition at line 213 of file buildfptree.hpp. References bracz::EndPatriciaBuildTree< ENDONLY >::leafbit. Referenced by bracz::EndPatriciaBuildTree< ENDONLY >::storenode_t::isLeaf(). |
|
Definition at line 233 of file buildfptree.hpp. Referenced by bracz::EndPatriciaBuildTree< ENDONLY >::allocateLeafNode(). |
|
Definition at line 216 of file buildfptree.hpp. References bracz::EndPatriciaBuildTree< ENDONLY >::leafbit. Referenced by bracz::EndPatriciaBuildTree< ENDONLY >::node_t::getCounter(), and bracz::EndPatriciaBuildTree< ENDONLY >::storenode_t::getCounter(). |
|
Definition at line 231 of file buildfptree.hpp. |
|
Definition at line 211 of file buildfptree.hpp. Referenced by bracz::EndPatriciaBuildTree< ENDONLY >::counterToLeaf(), bracz::EndPatriciaBuildTree< ENDONLY >::isLeaf(), and bracz::EndPatriciaBuildTree< ENDONLY >::origCounter(). |
|
Definition at line 261 of file buildfptree.hpp. Referenced by bracz::EndPatriciaBuildTree< ENDONLY >::addTransToTree(), and bracz::EndPatriciaBuildTree< ENDONLY >::allocateInternalNode(). |
|
Definition at line 263 of file buildfptree.hpp. Referenced by bracz::EndPatriciaBuildTree< ENDONLY >::allocateLeafNode(). |