|
Base Module
VST 3.6.5
SDK for developing VST Plug-in
|
Iterator for the BTree template. More...
#include <tbtree.h>
Inheritance diagram for TBTreeIterator< T >:Public Member Functions | |
| TBTreeIterator (const TBTree< T > &) | |
| Iterator constructor. More... | |
| virtual bool | done () const |
| Check if at end. More... | |
| virtual T & | next () |
| Return and advance. More... | |
| virtual T & | previous () |
| Return and backup. More... | |
| virtual T & | current () const |
| Get current item. More... | |
| virtual void | first () |
| Move to first item. More... | |
| virtual void | last () |
| Move to last item. More... | |
| const TBTree< T > & | tree () const |
| Return tree reference. More... | |
Public Member Functions inherited from TIterator< T > | |
| TIterator (const TContainer< T > &cont) | |
| virtual | ~TIterator () |
| T & | next (const T &) |
| Advance to next equal. More... | |
| T & | previous (const T &) |
| Backup to previous equal. More... | |
| const TContainer< T > & | container () const |
| Return container reference. More... | |
| operator int32 () const | |
| Check if not end. More... | |
| T & | operator++ () |
| Advance the iterator to the next item and return it. More... | |
| T & | operator++ (int) |
| Return the current item and advance the iterator to the next. More... | |
| T & | operator+= (int32 n) |
| Advance the iterator n places and returns the item. More... | |
| T & | operator-- () |
| Decrement the iterator by one and return the item. More... | |
| T & | operator-- (int) |
| Return the current item and decrement the iterator by one. More... | |
| T & | operator-= (int32) |
| Decrement the iterator n places and returns the item. More... | |
| T & | operator() () const |
| Return current item. More... | |
Protected Member Functions | |
| void | setCurrent (TBTreeNode< T > *node, int32 index2) |
Additional Inherited Members | |
Protected Attributes inherited from TIterator< T > | |
| const TContainer< T > & | _container |
| Iterated container. More... | |
Iterator for the BTree template.
Iterator for a BTree
| TBTreeIterator | ( | const TBTree< T > & | Tr | ) |
Iterator constructor.
|
virtual |
Check if at end.
Implements TIterator< T >.
|
virtual |
Return and advance.
Implements TIterator< T >.
|
virtual |
Return and backup.
Implements TIterator< T >.
|
virtual |
Get current item.
Implements TIterator< T >.
|
virtual |
Move to first item.
Implements TIterator< T >.
|
virtual |
Move to last item.
Implements TIterator< T >.
| const TBTree< T > & tree | ( | ) | const |
Return tree reference.
|
inlineprotected |