Changeset 4162 for trunk/psLib/src/collections/psArray.h
- Timestamp:
- Jun 8, 2005, 1:40:46 PM (21 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psArray.h (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psArray.h
r3264 r4162 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1.2 2$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 2-17 19:26:23$14 * @version $Revision: 1.23 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2005-06-08 23:40:45 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 48 48 /** Allocate an array. 49 49 * 50 * Uses psLib memory allocation functions to create an array collection of 50 * Uses psLib memory allocation functions to create an array collection of 51 51 * data 52 52 * … … 60 60 /** Reallocate an array. 61 61 * 62 * Uses psLib memory allocation functions to reallocate an array collection 63 * of data. 62 * Uses psLib memory allocation functions to reallocate an array collection 63 * of data. 64 64 * 65 65 * @return psArray* : Pointer to psArray. … … 85 85 /** Remove an element from the array 86 86 * 87 * Finds and removes the specified data pointer from the list. 87 * Finds and removes the specified data pointer from the list. 88 88 * 89 * @return bool: TRUE if the specified data pointer was found and removed, 89 * @return bool: TRUE if the specified data pointer was found and removed, 90 90 * otherwise FALSE. 91 91 * … … 98 98 /** Deallocate/Dereference elements of an array. 99 99 * 100 * Uses psLib memory allocation functions to deallocate/dereference elements 100 * Uses psLib memory allocation functions to deallocate/dereference elements 101 101 * of a array of void pointers. The array psArr is not freed, and its elements 102 102 * will all be set to NULL. … … 112 112 * to specify how the objects on the array should be sorted. 113 113 * 114 * The comparison function must return an integer less than, equal to, or 115 * greater than zero if the first argument is considered to be respectively 116 * less than, equal to, or greater than the second. 114 * The comparison function must return an integer less than, equal to, or 115 * greater than zero if the first argument is considered to be respectively 116 * less than, equal to, or greater than the second. 117 117 * 118 * If two members compare as equal, their order in the sorted array is 118 * If two members compare as equal, their order in the sorted array is 119 119 * undefined. 120 120 * … … 148 148 /// @} 149 149 150 #endif 150 #endif // #ifndef PS_ARRAY_H
Note:
See TracChangeset
for help on using the changeset viewer.
