![]() |
KSquare Utilities
|
#include <RBTree.h>
Public Types | |
| typedef Entry * | EntryPtr |
| typedef Iterator< Entry, CompareNodes, KeyType > * | IteratorPtr |
| typedef RBnode< Entry > | Node |
| typedef Node * | NodePtr |
| typedef RBTree< Entry, CompareNodes, KeyType > | Tree |
| typedef Tree * | TreePtr |
Public Member Functions | |
| RBTree (CompareNodes &_comparator, bool _owner) | |
| RBTree (RBTree &tree) | |
| ~RBTree () | |
| void | CalcTreeStats () |
| bool | CompareToTree (TreePtr tree) |
| void | DeleteCurrentNode () |
| void | DeleteEntry (EntryPtr e) |
| EntryPtr | GetEqual (const KeyType &key) |
| EntryPtr | GetFirst () |
| EntryPtr | GetGreater (const KeyType &key) |
| EntryPtr | GetGreaterOrEqual (const KeyType &key) |
| EntryPtr | GetLast () |
| EntryPtr | GetLess (const KeyType &key) |
| EntryPtr | GetNext () |
| EntryPtr | GetPrev () |
| EntryPtr | Predecessor () |
| NodePtr | RBInsert (EntryPtr e) |
| kkuint32 | Size () |
| EntryPtr | Successor () |
| bool | Validate () |
| void | WalkTree () |
Friends | |
| class | Iterator< Entry, CompareNodes, KeyType > |
| typedef Entry* KKB::RBTree< Entry, CompareNodes, KeyType >::EntryPtr |
| typedef Iterator<Entry,CompareNodes,KeyType>* KKB::RBTree< Entry, CompareNodes, KeyType >::IteratorPtr |
| typedef RBnode<Entry> KKB::RBTree< Entry, CompareNodes, KeyType >::Node |
| typedef Node* KKB::RBTree< Entry, CompareNodes, KeyType >::NodePtr |
| typedef RBTree<Entry,CompareNodes,KeyType> KKB::RBTree< Entry, CompareNodes, KeyType >::Tree |
| typedef Tree* KKB::RBTree< Entry, CompareNodes, KeyType >::TreePtr |
| KKB::RBTree< Entry, CompareNodes, KeyType >::RBTree | ( | CompareNodes & | _comparator, |
| bool | _owner | ||
| ) |
Definition at line 298 of file RBTree.h.
| KKB::RBTree< Entry, CompareNodes, KeyType >::RBTree | ( | RBTree< Entry, CompareNodes, KeyType > & | tree | ) |
Definition at line 319 of file RBTree.h.
| KKB::RBTree< Entry, CompareNodes, KeyType >::~RBTree | ( | ) |
| void KKB::RBTree< Entry, CompareNodes, KeyType >::CalcTreeStats | ( | ) |
Definition at line 1393 of file RBTree.h.
| bool KKB::RBTree< Entry, CompareNodes, KeyType >::CompareToTree | ( | TreePtr | tree | ) |
| void KKB::RBTree< Entry, CompareNodes, KeyType >::DeleteCurrentNode | ( | ) |
| void KKB::RBTree< Entry, CompareNodes, KeyType >::DeleteEntry | ( | EntryPtr | e | ) |
Definition at line 1382 of file RBTree.h.
| Entry * KKB::RBTree< Entry, CompareNodes, KeyType >::GetEqual | ( | const KeyType & | key | ) |
| Entry * KKB::RBTree< Entry, CompareNodes, KeyType >::GetFirst | ( | ) |
| Entry * KKB::RBTree< Entry, CompareNodes, KeyType >::GetGreater | ( | const KeyType & | key | ) |
| Entry * KKB::RBTree< Entry, CompareNodes, KeyType >::GetGreaterOrEqual | ( | const KeyType & | key | ) |
Definition at line 608 of file RBTree.h.
| Entry * KKB::RBTree< Entry, CompareNodes, KeyType >::GetLast | ( | ) |
| Entry * KKB::RBTree< Entry, CompareNodes, KeyType >::GetLess | ( | const KeyType & | key | ) |
|
inline |
|
inline |
| Entry * KKB::RBTree< Entry, CompareNodes, KeyType >::Predecessor | ( | ) |
| KKB::RBnode< Entry > * KKB::RBTree< Entry, CompareNodes, KeyType >::RBInsert | ( | EntryPtr | e | ) |
|
inline |
| Entry * KKB::RBTree< Entry, CompareNodes, KeyType >::Successor | ( | ) |
| bool KKB::RBTree< Entry, CompareNodes, KeyType >::Validate | ( | ) |
|
inline |
|
friend |