Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages | Examples

DWFCore::DWFSortedList< T, E, L, Z >::Iterator Class Reference

#include "dwfcore/SkipList.h"

Inheritance diagram for DWFCore::DWFSortedList< T, E, L, Z >::Iterator:

Inheritance graph
[legend]
Collaboration diagram for DWFCore::DWFSortedList< T, E, L, Z >::Iterator:

Collaboration graph
[legend]
List of all members.

Detailed Description

template<class T, class E = tDWFCompareEqual<T>, class L = tDWFCompareLess<T>, class Z = tDWFDefinedEmpty<T>>
class DWFCore::DWFSortedList< T, E, L, Z >::Iterator

An implementation of the iterator for sorted lists.
Since:
1.0.1.

Definition at line 1067 of file SkipList.h.

Public Member Functions

 Iterator (tListIterator *pIterator) throw ()
virtual ~Iterator () throw ()
virtual void reset () throw ()
virtual bool valid () throw ()
virtual bool next () throw ()
virtual T & get () throw ()


Constructor & Destructor Documentation

template<class T, class E = tDWFCompareEqual<T>, class L = tDWFCompareLess<T>, class Z = tDWFDefinedEmpty<T>>
DWFCore::DWFSortedList< T, E, L, Z >::Iterator::Iterator tListIterator pIterator  )  throw () [inline]
 

Constructor

Parameters:
pIterator The inner skip list iterator that provides the data for this class.
Exceptions:
None 

Definition at line 1079 of file SkipList.h.

template<class T, class E = tDWFCompareEqual<T>, class L = tDWFCompareLess<T>, class Z = tDWFDefinedEmpty<T>>
virtual DWFCore::DWFSortedList< T, E, L, Z >::Iterator::~Iterator  )  throw () [inline, virtual]
 

Destructor

Exceptions:
None 

Definition at line 1089 of file SkipList.h.


Member Function Documentation

template<class T, class E = tDWFCompareEqual<T>, class L = tDWFCompareLess<T>, class Z = tDWFDefinedEmpty<T>>
virtual T& DWFCore::DWFSortedList< T, E, L, Z >::Iterator::get  )  throw () [inline, virtual]
 

Returns the element at the current position.

Returns:
The current element.
Exceptions:
DWFException 

Implements DWFCore::DWFIterator< T >.

Definition at line 1113 of file SkipList.h.

template<class T, class E = tDWFCompareEqual<T>, class L = tDWFCompareLess<T>, class Z = tDWFDefinedEmpty<T>>
virtual bool DWFCore::DWFSortedList< T, E, L, Z >::Iterator::next  )  throw () [inline, virtual]
 

Move the iterator forward one element.

Returns:
true if the iterator points to a valid element, false if the end of the iterator has been reached.
Exceptions:
None 

Implements DWFCore::DWFIterator< T >.

Definition at line 1107 of file SkipList.h.

template<class T, class E = tDWFCompareEqual<T>, class L = tDWFCompareLess<T>, class Z = tDWFDefinedEmpty<T>>
virtual void DWFCore::DWFSortedList< T, E, L, Z >::Iterator::reset  )  throw () [inline, virtual]
 

Reset the iterator back to its initial position

Exceptions:
None 

Implements DWFCore::DWFIterator< T >.

Definition at line 1095 of file SkipList.h.

template<class T, class E = tDWFCompareEqual<T>, class L = tDWFCompareLess<T>, class Z = tDWFDefinedEmpty<T>>
virtual bool DWFCore::DWFSortedList< T, E, L, Z >::Iterator::valid  )  throw () [inline, virtual]
 

Determines if the iterator points to a valid element.

Returns:
true if get() returns a valid element, false if the end of the iterator has been reached.
Exceptions:
None 

Implements DWFCore::DWFIterator< T >.

Definition at line 1101 of file SkipList.h.


The documentation for this class was generated from the following file:
Generated on Tue May 17 12:05:21 2005 for Autodesk DWF Core Library by  doxygen 1.4.1