psListIterator Struct Reference
[Data Containers]

#include <psList.h>

Collaboration diagram for psListIterator:

Collaboration graph
[legend]

Detailed Description

The psList iterator structure.

This should be allocated via psListIteratorAlloc and not directly.

The life span of a psListIterator object is ended by either a psFree of this structure OR psFree of the psList in which it operates on.

See also:
psListIteratorAlloc, psListIteratorSet, psListGetAndIncrement, psListGetAndDecrement

Definition at line 68 of file psList.h.

Data Fields

psListlist
 List iterator to works on.
psListElemcursor
 current cursor position
bool offEnd
 Iterator off the end?
long index
 the index number in the list
bool mutable
 Is it permissible to modify the list?


Field Documentation

psList* psListIterator::list

List iterator to works on.

Definition at line 70 of file psList.h.

psListElem* psListIterator::cursor

current cursor position

Definition at line 71 of file psList.h.

bool psListIterator::offEnd

Iterator off the end?

Definition at line 72 of file psList.h.

long psListIterator::index

the index number in the list

Definition at line 73 of file psList.h.

bool psListIterator::mutable

Is it permissible to modify the list?

Definition at line 74 of file psList.h.


The documentation for this struct was generated from the following file:
Generated on Fri Feb 2 22:25:53 2007 for pslib by  doxygen 1.5.1