Code::Blocks
SVN r11506
|
This class is used to access items of the tree, each node may contains a lot of items, E.g. More...
#include <searchtree.h>
Public Member Functions | |
SearchTreePoint () | |
At what depth is the string's end located? More... | |
SearchTreePoint (nSearchTreeNode nn, size_t dd) | |
Public Attributes | |
nSearchTreeNode | n |
size_t | depth |
Which node are we pointing to? More... | |
This class is used to access items of the tree, each node may contains a lot of items, E.g.
In the above tree, we have totally 6 nodes, each node can have an items map such as the node (2), we may have a item map with up to 4 elements
the value of the item map is not the string, but an size_t value (item number) To access one item, we can use a SearchTreePoint,
Definition at line 127 of file searchtree.h.
|
inline |
At what depth is the string's end located?
Definition at line 132 of file searchtree.h.
|
inline |
Definition at line 133 of file searchtree.h.
size_t SearchTreePoint::depth |
Which node are we pointing to?
Definition at line 131 of file searchtree.h.
Referenced by BasicSearchTree::AddNode(), BasicSearchTree::FindNode(), BasicSearchTree::GetItemNo(), BasicSearchTree::GetString(), and BasicSearchTree::insert().
nSearchTreeNode SearchTreePoint::n |
Definition at line 130 of file searchtree.h.
Referenced by BasicSearchTree::AddNode(), BasicSearchTree::FindNode(), BasicSearchTree::GetItemNo(), BasicSearchTree::GetString(), and BasicSearchTree::insert().