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.22
Name
rel5_0
Date:
Date
2005/02/17 19:26:23
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:

Include dependency graph

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

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  psArray
 An array to support primitive types. More...

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 Mon Apr 4 18:24:45 2005 for Pan-STARRS Foundation Library by  doxygen 1.3.9.1