ork::SetIterator< type > Class Template Reference
[core]

A set iterator. More...

#include <Iterator.h>

List of all members.

Public Member Functions

 SetIterator ()
 Creates a set iterator for an empty set.
 SetIterator (set< type > &c)
 Creates a set iterator for the given set.
unsigned int size ()
 Returns the size of the set for which this iterator has been created.
bool hasNext ()
 Returns true if the iteration is not yet finished.
type next ()
 Returns the element at the current iterator position.

Detailed Description

template<typename type>
class ork::SetIterator< type >

A set iterator.


Constructor & Destructor Documentation

template<typename type >
ork::SetIterator< type >::SetIterator (  )  [inline]

Creates a set iterator for an empty set.

template<typename type >
ork::SetIterator< type >::SetIterator ( set< type > &  c  )  [inline]

Creates a set iterator for the given set.


Member Function Documentation

template<typename type >
bool ork::SetIterator< type >::hasNext (  )  [inline]

Returns true if the iteration is not yet finished.

template<typename type >
type ork::SetIterator< type >::next (  )  [inline]

Returns the element at the current iterator position.

The iterator position is then incremented.

template<typename type >
unsigned int ork::SetIterator< type >::size (  )  [inline]

Returns the size of the set for which this iterator has been created.


Generated on Mon Oct 18 09:36:07 2010 for ork by  doxygen 1.6.1