SAbstractList::AbstractIterator Class Reference
[Utility Classes and Functions]

#include <support/List.h>

Inheritance diagram for SAbstractList::AbstractIterator:

_Iterator List of all members.

Detailed Description

A companion class to SAbstractList that provides iteration over list nodes.

Note:
Not for public use; this is part of the SList implementation.
See also:
SAbstractList, SList

const void * Data (void) const
 Return the block of data stored in the referred-to node.
SAbstractList const * Domain () const
 Return a pointer to the list into which this iterator points.
void * EditData (void) const
 Return the block of data stored in the referred-to node for editing.
bool operator!= (const AbstractIterator &o) const
 Return the block of data stored in the referred-to node.
bool operator== (const AbstractIterator &o) const
 Return the block of data stored in the referred-to node.

Public Member Functions

 AbstractIterator (const AbstractIterator &o)
 AbstractIterator (SAbstractList const *domain, _ListNode *node)
 AbstractIterator (SAbstractList const *domain)
_ListNodeoperator * (void) const
 Return the node at this point in the list.
AbstractIterator operator++ (int)
 (returns the previous iterator value).
AbstractIteratoroperator++ (void)
 (returns the new iterator value).
AbstractIterator operator-- (int)
 (returns the previous iterator value).
AbstractIteratoroperator-- (void)
 (returns the new iterator value).
AbstractIteratoroperator= (const AbstractIterator &o)
 Assign iterators.
virtual ~AbstractIterator (void)


Constructor & Destructor Documentation

AbstractIterator SAbstractList const *  domain  ) 
 

AbstractIterator SAbstractList const *  domain,
_ListNode node
 

AbstractIterator const AbstractIterator o  ) 
 

~AbstractIterator void   )  [virtual]
 


Member Function Documentation

const void * Data void   )  const
 

Return the block of data stored in the referred-to node.

SAbstractList const * Domain  )  const
 

Return a pointer to the list into which this iterator points.

void * EditData void   )  const
 

Return the block of data stored in the referred-to node for editing.

SAbstractList::_ListNode * operator * void   )  const
 

Return the node at this point in the list.

Reimplemented in _Iterator.

bool operator!= const AbstractIterator o  )  const
 

Return the block of data stored in the referred-to node.

SAbstractList::AbstractIterator operator++ int   ) 
 

(returns the previous iterator value).

Reimplemented in _Iterator.

SAbstractList::AbstractIterator & operator++ void   ) 
 

(returns the new iterator value).

Reimplemented in _Iterator.

SAbstractList::AbstractIterator operator-- int   ) 
 

(returns the previous iterator value).

Reimplemented in _Iterator.

SAbstractList::AbstractIterator & operator-- void   ) 
 

(returns the new iterator value).

Reimplemented in _Iterator.

SAbstractList::AbstractIterator & operator= const AbstractIterator o  ) 
 

Assign iterators.

bool operator== const AbstractIterator o  )  const
 

Return the block of data stored in the referred-to node.


The documentation for this class was generated from the following files: