Main Page | Modules | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals

psListIterator Struct Reference
[LinkedList]

#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 71 of file psList.h.

Data Fields

psList * list
 List iterator to works on.
psListElem * cursor
 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

psListElem* psListIterator::cursor
 

current cursor position

Definition at line 74 of file psList.h.

long psListIterator::index
 

the index number in the list

Definition at line 76 of file psList.h.

psList* psListIterator::list
 

List iterator to works on.

Definition at line 73 of file psList.h.

bool psListIterator::mutable
 

Is it permissible to modify the list?

Definition at line 77 of file psList.h.

bool psListIterator::offEnd
 

Iterator off the end?

Definition at line 75 of file psList.h.


The documentation for this struct was generated from the following file:
Generated on Mon Jul 3 14:15:08 2006 for Pan-STARRS Foundation Library by  doxygen 1.4.4