|
Base Module
VST 3.6.5
SDK for developing VST Plug-in
|
Iterator for array template container. More...
#include <tarray.h>
Inheritance diagram for TArrayIterator< T >:Public Member Functions | |
| TArrayIterator (const TArrayBase< T > &arr) | |
| Iterator constructor. More... | |
| virtual bool | done () const |
| Check if end of container is reached. More... | |
| virtual T & | next () |
| Returns the current data and advances the iterator. postfix as in t = c++;. More... | |
| virtual T & | previous () |
| Returns the current data and backup. postfix as in t = c–;. More... | |
| virtual T & | current () const |
| Returns the current data. More... | |
| virtual void | first () |
| Move to first data. More... | |
| virtual void | last () |
| Move to last data. More... | |
| const TArrayBase< T > & | array () const |
| Return array 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... | |
Additional Inherited Members | |
Protected Attributes inherited from TIterator< T > | |
| const TContainer< T > & | _container |
| Iterated container. More... | |
Iterator for array template container.
|
inline |
Iterator constructor.
|
virtual |
Check if end of container is reached.
"done" returns whether or not this iterator can advance any further.
Implements TIterator< T >.
|
virtual |
Returns the current data and advances the iterator. postfix as in t = c++;.
"next" returns the current item in the array and advances the iterator to the next item.
Implements TIterator< T >.
|
virtual |
Returns the current data and backup. postfix as in t = c–;.
"previous" returns the current item in the array and decrements the iterator to the previous item.
Implements TIterator< T >.
|
virtual |
|
virtual |
|
virtual |
| const TArrayBase< T > & array | ( | ) | const |
Return array reference.
"array" returns a reference to the array being iterated.