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

#include "dwfcore/SkipList.h"

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

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

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 >::ConstIterator

An implementation of the const iterator for sorted lists.

Since:
1.2

Definition at line 1371 of file SkipList.h.

Public Member Functions

 ConstIterator (tListConstIterator *pConstIterator) throw ()
virtual ~ConstIterator () throw ()
virtual void reset () throw ()
virtual bool valid () const throw ()
virtual bool next () throw ()
virtual const T & get () const throw ( DWFException )


Constructor & Destructor Documentation

template<class T, class E = tDWFCompareEqual<T>, class L = tDWFCompareLess<T>, class Z = tDWFDefinedEmpty<T>>
DWFCore::DWFSortedList< T, E, L, Z >::ConstIterator::ConstIterator tListConstIterator pConstIterator  )  throw () [inline]
 

Constructor

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

Definition at line 1383 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 >::ConstIterator::~ConstIterator  )  throw () [inline, virtual]
 

Destructor

Exceptions:
None 

Definition at line 1393 of file SkipList.h.


Member Function Documentation

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

Returns the element at the current position.

Returns:
The current element.
Exceptions:
DWFException 

Implements DWFCore::DWFConstIterator< T >.

Definition at line 1417 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 >::ConstIterator::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::DWFConstIterator< T >.

Definition at line 1411 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 >::ConstIterator::reset  )  throw () [inline, virtual]
 

Reset the iterator back to its initial position

Exceptions:
None 

Implements DWFCore::DWFConstIterator< T >.

Definition at line 1399 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 >::ConstIterator::valid  )  const throw () [inline, virtual]
 

Determines if the iterator points to a valid element.

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

Implements DWFCore::DWFConstIterator< T >.

Definition at line 1405 of file SkipList.h.


The documentation for this class was generated from the following file:
Generated on Tue Jan 6 22:39:40 2009 for Autodesk DWF Core Library by  doxygen 1.4.5