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

psListIterator Struct Reference
[Linked List]

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

Data Fields

psList * list
 List iterator to works on.
psListElem * cursor
 current cursor position
int index
 the index number in the list
bool offEnd
 Iterator off the end?
bool mutable
 Is it permissible to modify the list?


Field Documentation

psListElem* psListIterator::cursor
 

current cursor position

Definition at line 77 of file psList.h.

int psListIterator::index
 

the index number in the list

Definition at line 78 of file psList.h.

psList* psListIterator::list
 

List iterator to works on.

Definition at line 76 of file psList.h.

bool psListIterator::mutable
 

Is it permissible to modify the list?

Definition at line 80 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 Jun 15 11:01:12 2005 for Pan-STARRS Foundation Library by  doxygen 1.4.1