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

psHash.h File Reference


Detailed Description

Contains support for basic hashing functions.

This file will hold the prototypes for defining a hash table with arbitrary data types, allocating/deallocating that has table, adding and removing data from that hash table, and listing all keys defined in the hash table.

Author:
Robert Lupton, Princeton University

Robert DeSonia, MHPCC

GLG, MHPCC

Version:
Revision
1.15
Name
rel8_0
Date:
Date
2005/08/31 02:07:12
Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii

Definition in file psHash.h.

#include "psList.h"

Include dependency graph for psHash.h:

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

Go to the source code of this file.

Typedefs

typedef psHashBucket psHashBucket
 A bucket that holds an item of data.

Functions

bool psMemCheckHash (psPtr ptr)
 Checks the type of a particular pointer.
psHashpsHashAlloc (long nalloc)
 Allocate hash buckets in table.
bool psHashAdd (psHash *hash, const char *key, psPtr data)
 Insert entry into table.
psPtr psHashLookup (const psHash *hash, const char *key)
 Lookup key in table.
bool psHashRemove (psHash *hash, const char *key)
 Remove key from table.
psListpsHashKeyList (const psHash *hash)
 List all keys in table.
psArraypsHashToArray (const psHash *hash)
 Create a psArray from a psHash contents.


Generated on Tue Dec 6 17:18:42 2005 for Pan-STARRS Foundation Library by  doxygen 1.4.2