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 52 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.
pthread_mutex_t lock
 mutex to lock a node during changes


Field Documentation

psListElem* psList::head
 

first element on list (may be NULL)

Definition at line 55 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 58 of file psList.h.

pthread_mutex_t psList::lock
 

mutex to lock a node during changes

Definition at line 62 of file psList.h.

long psList::n
 

number of elements on list

Definition at line 54 of file psList.h.

psListElem* psList::tail
 

last element on list (may be NULL)

Definition at line 56 of file psList.h.


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