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

psArray.h File Reference


Detailed Description

Contains basic array definitions and operations.

This file defines the basic type for a array struct and functions useful in manupulating arrays.

Author:
Robert DeSonia, MHPCC

Ross Harman, MHPCC

Version:
Revision
1.23
Name
rel6_0
Date:
Date
2005/06/08 23:40:45
Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii

Definition in file psArray.h.

#include "psType.h"
#include "psCompare.h"

Include dependency graph for psArray.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

psArraypsArrayAlloc (psU32 nalloc)
 Allocate an array.
psArraypsArrayRealloc (psArray *psArr, psU32 nalloc)
 Reallocate an array.
psArraypsArrayAdd (psArray *psArr, int delta, psPtr data)
 Add an element to the end the array, expanding the array storage if necessary.
psBool psArrayRemove (psArray *psArr, psPtr data)
 Remove an element from the array.
void psArrayElementFree (psArray *psArr)
 Deallocate/Dereference elements of an array.
psArraypsArraySort (psArray *in, psComparePtrFcn compare)
 Sort the array according to an external compare function.
psBool psArraySet (psArray *in, psU32 position, void *value)
 Set an element in the array.
void * psArrayGet (psArray *in, psU32 position)
 Get an element from the array.


Generated on Wed Jun 15 11:00:57 2005 for Pan-STARRS Foundation Library by  doxygen 1.4.1