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.31
Name
rel7
Date:
Date
2005/08/30 01:14:13
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

bool psMemCheckArray (psPtr ptr)
 Checks the type of a particular pointer.
psArraypsArrayAlloc (long nalloc)
 Allocate an array.
psArraypsArrayRealloc (psArray *array, long nalloc)
 Reallocate an array.
psArraypsArrayAdd (psArray *array, long delta, psPtr data)
 Add an element to the end the array, expanding the array storage if necessary.
bool psArrayRemove (psArray *array, const psPtr data)
 Remove an element from the array.
void psArrayElementFree (psArray *psArr)
 Deallocate/Dereference elements of an array.
psArraypsArraySort (psArray *array, psComparePtrFunc func)
 Sort the array according to an external compare function.
bool psArraySet (psArray *array, long position, psPtr data)
 Set an element in the array.
psPtr psArrayGet (const psArray *array, long position)
 Get an element from the array.


Generated on Wed Sep 14 10:42:50 2005 for Pan-STARRS Foundation Library by  doxygen 1.4.2