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

psList Struct Reference
[LinkedList]

#include <psList.h>

Collaboration diagram for psList:

Collaboration graph
[legend]

Detailed Description

The psList Linked list structure.

User should not allocate this struct directly; rather the psListAlloc should be used.

See also:
psListAlloc

Definition at line 50 of file psList.h.

Data Fields

long n
 number of elements on list
psListElemhead
 first element on list (may be NULL)
psListElemtail
 last element on list (may be NULL)
psArrayiterators
 array of all iterators associated with this list.
void * lock
 Optional lock for thread safety.


Field Documentation

psListElem* psList::head
 

first element on list (may be NULL)

Definition at line 53 of file psList.h.

psArray* psList::iterators
 

array of all iterators associated with this list.

First iterator is used internally to improve performance when using indexed access, all others are user-level iterators created by psListIteratorAlloc.

Definition at line 56 of file psList.h.

void* psList::lock
 

Optional lock for thread safety.

Definition at line 59 of file psList.h.

long psList::n
 

number of elements on list

Definition at line 52 of file psList.h.

psListElem* psList::tail
 

last element on list (may be NULL)

Definition at line 54 of file psList.h.


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