TBTreeIterator< T > Class Template Reference
[Template Containers]

Iterator for the BTree template. More...

#include <tbtree.h>

Inheritance diagram for TBTreeIterator< T >:
Inheritance graph
[legend]

Public Member Functions

 TBTreeIterator (const TBTree< T > &)
 Iterator constructor.
virtual bool done () const
 Check if at end.
virtual T & next ()
 Return and advance.
virtual T & previous ()
 Return and backup.
virtual T & current () const
 Get current item.
virtual void first ()
 Move to first item.
virtual void last ()
 Move to last item.
const TBTree< T > & tree () const
 Return tree reference.

Protected Member Functions

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

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  )  [inline]

Iterator constructor.


Member Function Documentation

bool done (  )  const [inline, virtual]

Check if at end.

Implements TIterator< T >.

T & next (  )  [inline, virtual]

Return and advance.

Implements TIterator< T >.

T & previous (  )  [inline, virtual]

Return and backup.

Implements TIterator< T >.

T & current (  )  const [inline, virtual]

Get current item.

Implements TIterator< T >.

void first (  )  [inline, virtual]

Move to first item.

Implements TIterator< T >.

void last (  )  [inline, virtual]

Move to last item.

Implements TIterator< T >.

const TBTree< T > & tree (  )  const [inline]

Return tree reference.

void setCurrent ( TBTreeNode< T > *  node,
int32  index2 
) [inline, protected]
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
Empty

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