|
OpenSDN source code
|
#include <patricia.h>


Classes | |
| class | Iterator |
Public Member Functions | |
| Tree () | |
| Iterator | begin () |
| Iterator | end () |
| Iterator | LowerBound (D *data) |
| std::size_t | Size () |
| bool | Insert (D *data) |
| bool | Remove (D *data) |
| D * | Find (const D *data) |
| D * | FindNext (const D *data) |
| D * | LPMFind (const D *data) |
| D * | GetNext (D *data) |
| D * | GetPrev (const D *data) |
| D * | GetLast () |
Private Member Functions | |
| const Node * | DataToNode (const D *data) |
| Node * | DataToNode (D *data) |
| const D * | NodeToData (const Node *node) |
| D * | NodeToData (Node *node) |
| bool | InsertNode (Node *node) |
| bool | RemoveNode (Node *node) |
| Node * | FindNode (const Node *node) |
| Node * | FindNextNode (const Node *node) |
| Node * | FindBestMatchNode (const Node *node) |
| Node * | GetNextNode (Node *node) |
| Node * | GetPrevNode (const Node *node) |
| Node * | GetLastNode () |
| bool | GetBit (const Node *node, std::size_t pos) |
| bool | Compare (const Node *node_left, const Node *node_right) |
| bool | Compare (const Node *node_left, const Node *node_right, std::size_t start, std::size_t &pos) |
| Node * | RewireRightMost (Node *p, Node *x) |
Private Member Functions inherited from Patricia::TreeBase | |
| TreeBase () | |
Additional Inherited Members | |
Private Attributes inherited from Patricia::TreeBase | |
| int | nodes_ |
| int | int_nodes_ |
| Node * | root_ |
Definition at line 45 of file patricia.h.
|
inline |
Definition at line 47 of file patricia.h.
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
Definition at line 124 of file patricia.h.
|
inlineprivate |
Definition at line 132 of file patricia.h.
|
inline |
Definition at line 79 of file patricia.h.
|
inline |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inlineprivate |
|
inlineprivate |
|
inline |
|
inlineprivate |
Definition at line 602 of file patricia.h.
|
inline |
|
inlineprivate |
Definition at line 510 of file patricia.h.
|
inline |
|
inlineprivate |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inlineprivate |
Definition at line 140 of file patricia.h.
|
inlineprivate |
Definition at line 148 of file patricia.h.
|
inline |
|
inlineprivate |
|
inlineprivate |
Definition at line 702 of file patricia.h.
|
inline |
Definition at line 87 of file patricia.h.