psList Struct Reference
[Data Containers]

#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 47 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

long psList::n

number of elements on list

Definition at line 49 of file psList.h.

psListElem* psList::head

first element on list (may be NULL)

Definition at line 50 of file psList.h.

psListElem* psList::tail

last element on list (may be NULL)

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

void* psList::lock

Optional lock for thread safety.

Definition at line 56 of file psList.h.


The documentation for this struct was generated from the following file:
Generated on Fri Feb 2 22:25:53 2007 for pslib by  doxygen 1.5.1