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 75 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

psListElem* psListIterator::cursor
 

current cursor position

Definition at line 78 of file psList.h.

long psListIterator::index
 

the index number in the list

Definition at line 80 of file psList.h.

psList* psListIterator::list
 

List iterator to works on.

Definition at line 77 of file psList.h.

bool psListIterator::mutable
 

Is it permissible to modify the list?

Definition at line 81 of file psList.h.

bool psListIterator::offEnd
 

Iterator off the end?

Definition at line 79 of file psList.h.


The documentation for this struct was generated from the following file:
Generated on Wed Sep 14 10:43:43 2005 for Pan-STARRS Foundation Library by  doxygen 1.4.2