Base Module  VST 3.6.5
SDK for developing VST Plug-in
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Public Member Functions | Protected Member Functions
TBTreeIterator< T > Class Template Reference

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...
 

Detailed Description

template<class T>
class Steinberg::TBTreeIterator< T >

Iterator for the BTree template.

Iterator for a BTree

Constructor & Destructor Documentation

TBTreeIterator ( const TBTree< T > &  Tr)

Iterator constructor.

Member Function Documentation

bool done ( ) const
virtual

Check if at end.

Implements TIterator< T >.

T & next ( )
virtual

Return and advance.

Implements TIterator< T >.

T & previous ( )
virtual

Return and backup.

Implements TIterator< T >.

T & current ( ) const
virtual

Get current item.

Implements TIterator< T >.

void first ( )
virtual

Move to first item.

Implements TIterator< T >.

void last ( )
virtual

Move to last item.

Implements TIterator< T >.

const TBTree< T > & tree ( ) const

Return tree reference.

void setCurrent ( TBTreeNode< T > *  node,
int32  index2 
)
inlineprotected
Empty

Copyright ©2015 Steinberg Media Technologies GmbH. All Rights Reserved.