Changeset 4315 for trunk/psLib/src/collections/psHash.h
- Timestamp:
- Jun 17, 2005, 4:30:50 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psHash.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psHash.h
r4162 r4315 11 11 * @author GLG, MHPCC 12 12 * 13 * @version $Revision: 1. 9$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-06- 08 23:40:45$13 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-06-18 02:30:49 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 47 47 /// Allocate hash buckets in table. 48 48 psHash* psHashAlloc( 49 psS32 nbucket///< The number of buckets to allocate.49 long nalloc ///< The number of buckets to allocate. 50 50 ); 51 51 52 52 /// Insert entry into table. 53 53 psBool psHashAdd( 54 psHash* table, ///< The table to insert in.55 const char *key, ///< The key to use.56 psPtr data ///< The data to insert.54 psHash* table, ///< The table to insert in. 55 const char *key, ///< The key to use. 56 psPtr data ///< The data to insert. 57 57 ); 58 58 59 59 /// Lookup key in table. 60 60 psPtr psHashLookup( 61 psHash* table, ///< The table to lookup key in.62 const char *key ///< The key to lookup.61 psHash* table, ///< The table to lookup key in. 62 const char *key ///< The key to lookup. 63 63 ); 64 64 65 65 /// Remove key from table. 66 psBool psHashRemove(67 psHash* table, ///< The table to lookup key in.68 const char *key ///< The key to lookup.66 bool psHashRemove( 67 psHash* table, ///< The table to lookup key in. 68 const char *key ///< The key to lookup. 69 69 ); 70 70 71 71 /// List all keys in table. 72 72 psList* psHashKeyList( 73 psHash* table///< The table to list keys from..73 const psHash* hash ///< The table to list keys from.. 74 74 ); 75 75 … … 79 79 */ 80 80 psArray* psHashToArray( 81 psHash* table ///< The table to convert to psArray.81 psHash* table ///< The table to convert to psArray. 82 82 ); 83 83
Note:
See TracChangeset
for help on using the changeset viewer.
