Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SetIteratorData Class Template Reference

#include <Set.h>

Inheritance diagram for SetIteratorData::

PureRep RefCounter List of all members.

Public Methods

 SetIteratorData (const SetOf< T > &S)
PureRepclone () const
Bool operator== (const SetIteratorData &sid) const
value () const
Bool next ()
Bool done () const
void reset ()

Private Types

typedef Cell<T> CellType

Private Attributes

CellTypecurrent
int bucketIndex
const SetContainer<T> theSet

template<class T> class SetIteratorData


Member Typedef Documentation

template<class T>
typedef Cell<T> SetIteratorData<T>::CellType [private]
 

Definition at line 665 of file Set.h.


Constructor & Destructor Documentation

template<class T>
SetIteratorData<T>::SetIteratorData<T> ( const SetOf< T > & S ) [inline]
 

Definition at line 620 of file Set.h.

Referenced by clone().


Member Function Documentation

template<class T>
PureRep * SetIteratorData<T>::clone ( ) const [inline, virtual]
 

Returns a pointer to a copy of the object. Should be implemented as a member which gives a new `deep-copy' by each representation derived from this; normally, by making it new CopyConstrutor(*this) with CopyConstructor doing `deep-copy' (`' because it is enough for the copy constructor to do logical deep copy).

Reimplemented from PureRep.

Definition at line 624 of file Set.h.

template<class T>
Bool SetIteratorData<T>::operator== ( const SetIteratorData<T> & sid ) const [inline]
 

Definition at line 626 of file Set.h.

template<class T>
T SetIteratorData<T>::value ( ) const [inline]
 

Definition at line 630 of file Set.h.

Referenced by SetIterator::value().

template<class T>
Bool SetIteratorData<T>::next ( ) [inline]
 

Definition at line 638 of file Set.h.

Referenced by SetIterator::next(), and reset().

template<class T>
Bool SetIteratorData<T>::done ( ) const [inline]
 

Definition at line 654 of file Set.h.

Referenced by SetIterator::done().

template<class T>
void SetIteratorData<T>::reset ( ) [inline]
 

Definition at line 656 of file Set.h.

Referenced by SetIteratorData(), and SetIterator::reset().


Member Data Documentation

template<class T>
CellType* SetIteratorData<T>::current [private]
 

Definition at line 669 of file Set.h.

template<class T>
int SetIteratorData<T>::bucketIndex [private]
 

Definition at line 670 of file Set.h.

template<class T>
const SetContainer<T> SetIteratorData<T>::theSet [private]
 

Definition at line 672 of file Set.h.


The documentation for this class was generated from the following file:
Generated at Tue Jun 19 09:50:05 2001 for Magnus Classes by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001