Space‐efficient associative container mapping string keys to t_VALUE.
Synopsis
Declared in <ball_categorymanager_radixtree.h>
template<class t_VALUE>
class CategoryManager_RadixTree;
Description
This class template implements a space‐efficient associative container that maps string keys to values of the specified t_VALUE type. The container uses a radix tree (compressed trie) data structure, which shares common prefixes among keys. The container provides O(k) insertion, lookup, and removal operations, where k is the key length.
Type Aliases
Name |
Description |
Result of emplacing a value into the tree. |
|
Type for immutable access to the optional value. Used also as return type for immutable finders where empty optional signifies "not found". |
|
Type for mutable access to the optional value. Used also as return type for mutable finders where empty optional signifies "not found". |
|
|
|
|
|
|
Member Functions
Name |
Description |
|
Constructors |
Assignment operators |
|
Remove all entries from this tree. After this call |
|
Return |
|
Return the total number of nodes in this tree. |
|
Insert an entry with the specified |
|
Return |
|
Remove from this tree the entry with the specified |
|
Remove all children of the entry matching the specified |
|
Remove all entries with keys that have the specified |
|
|
|
Return the longest matching key prefix with an associated value. |
|
Call the specified |
|
Call |
|
Return the allocator used by this object to supply memory. |
|
Write this object to the specified |
|
Return the number of entries in this tree. |
|
Efficiently exchange the value of this object with that of |
Friends
Name |
Description |
Exchange the values of the specified trees. |
|
Return |
Non-Member Functions
Name |
Description |
Return |
|
Return |
|
Exchange the values of the specified |
Created with MrDocs