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

Iterator for single linked template list. More...

#include <tlist.h>

+ Inheritance diagram for TLinkedListIterator< T >:

Public Member Functions

 TLinkedListIterator (const TLinkedList< T > &)
 
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 TLinkedList< T > & list () const
 Return list 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...
 

Detailed Description

template<class T>
class Steinberg::TLinkedListIterator< T >

Iterator for single linked template list.

See also
TLinkedList

Constructor & Destructor Documentation

TLinkedListIterator ( const TLinkedList< T > &  L)

Member Function Documentation

bool done ( ) const
virtual

Check if end of container is reached.

Implements TIterator< T >.

T & next ( )
virtual

Returns the current data and advances the iterator. postfix as in t = c++;.

Implements TIterator< T >.

T & previous ( )
virtual

Returns the current data and backup. postfix as in t = c–;.

Implements TIterator< T >.

T & current ( ) const
virtual

Returns the current data.

Implements TIterator< T >.

void first ( )
virtual

Move to first data.

Implements TIterator< T >.

void last ( )
virtual

Move to last data.

Implements TIterator< T >.

const TLinkedList< T > & list ( ) const

Return list reference.

Empty

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