Changeset 4162 for trunk/psLib/src/types
- Timestamp:
- Jun 8, 2005, 1:40:46 PM (21 years ago)
- Location:
- trunk/psLib/src/types
- Files:
-
- 9 edited
-
psArray.h (modified) (7 diffs)
-
psBitSet.h (modified) (3 diffs)
-
psHash.h (modified) (2 diffs)
-
psList.h (modified) (4 diffs)
-
psLookupTable.c (modified) (2 diffs)
-
psLookupTable.h (modified) (2 diffs)
-
psMetadata.h (modified) (5 diffs)
-
psMetadataConfig.h (modified) (2 diffs)
-
psPixels.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/types/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 -
trunk/psLib/src/types/psBitSet.h
r3264 r4162 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1.1 7$ $Name: not supported by cvs2svn $15 * @date $Date: 2005-0 2-17 19:26:23$14 * @version $Revision: 1.18 $ $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 … … 75 75 /** Clear a bit. 76 76 * 77 * Clear a bit at a given bit location. The bit is cleared based on a zero 78 * index with the first bit set in the zero bit slot of the zero element of 79 * the byte array. 77 * Clear a bit at a given bit location. The bit is cleared based on a zero 78 * index with the first bit set in the zero bit slot of the zero element of 79 * the byte array. 80 80 * 81 81 * @return psBitSet* : Pointer to struct containing psBitSet. … … 143 143 /// @} 144 144 145 #endif 145 #endif // #ifndef PSBITSET_H -
trunk/psLib/src/types/psHash.h
r4135 r4162 11 11 * @author GLG, MHPCC 12 12 * 13 * @version $Revision: 1. 8$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-06-0 7 22:36:48$13 * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-06-08 23:40:45 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 17 17 */ 18 #if !defined(PS_HASH_H) 18 19 #ifndef PS_HASH_H 19 20 #define PS_HASH_H 20 21 … … 83 84 /* \} */// End of DataGroup Functions 84 85 85 #endif 86 #endif // #ifndef PS_HASH_H -
trunk/psLib/src/types/psList.h
r3409 r4162 1 #if !defined(PS_LIST_H)2 #define PS_LIST_H3 4 1 /** @file psList.h 5 2 * @brief Support for doubly linked lists … … 10 7 * @ingroup LinkedList 11 8 * 12 * @version $Revision: 1.2 3$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 3-11 23:17:46$9 * @version $Revision: 1.24 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-08 23:40:45 $ 14 11 * 15 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii 16 13 */ 14 15 #ifndef PS_LIST_H 16 #define PS_LIST_H 17 17 18 18 #include <pthread.h> // we need a mutex to make this stuff thread safe. … … 210 210 /** Sort a list via a comparison function. 211 211 * 212 * The comparison function must return an integer less than, equal to, or 213 * greater than zero if the first argument is considered to be respectively 214 * less than, equal to, or greater than the second. 215 * 216 * If two members compare as equal, their order in the sorted array is 212 * The comparison function must return an integer less than, equal to, or 213 * greater than zero if the first argument is considered to be respectively 214 * less than, equal to, or greater than the second. 215 * 216 * If two members compare as equal, their order in the sorted array is 217 217 * undefined. 218 218 * … … 226 226 /// @} End of DataGroup Functions 227 227 228 #endif 228 #endif // #ifndef PS_LIST_H 229 -
trunk/psLib/src/types/psLookupTable.c
r4050 r4162 7 7 * @author Ross Harman, MHPCC 8 8 * 9 * @version $Revision: 1.1 5$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-0 5-31 21:46:56$9 * @version $Revision: 1.16 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-08 23:40:45 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii … … 15 15 #include <string.h> 16 16 #include <ctype.h> 17 //#ifdef DARWIN18 #undef __STRICT_ANSI__19 //#endif20 17 #include <stdlib.h> 21 //#ifdef DARWIN22 #define __STRICT_ANSI__23 //#endif24 18 #include <math.h> 25 #include <stdlib.h>26 19 27 20 #include "psMemory.h" -
trunk/psLib/src/types/psLookupTable.h
r4050 r4162 7 7 * @author Ross Harman, MHPCC 8 8 * 9 * @version $Revision: 1. 6$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-0 5-31 21:46:56$9 * @version $Revision: 1.7 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-08 23:40:45 $ 11 11 * 12 12 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 131 131 ); 132 132 133 #endif 133 #endif // #ifndef PS_LOOKUPTABLE_H -
trunk/psLib/src/types/psMetadata.h
r4130 r4162 11 11 * @author Ross Harman, MHPCC 12 12 * 13 * @version $Revision: 1.4 6$ $Name: not supported by cvs2svn $14 * @date $Date: 2005-06-0 7 19:59:39$13 * @version $Revision: 1.47 $ $Name: not supported by cvs2svn $ 14 * @date $Date: 2005-06-08 23:40:45 $ 15 15 * 16 16 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 70 70 * 71 71 * Enumeration for the modification of the behaviour in psMetadataAddItem. 72 * 72 * 73 73 * @see psMetadataAddItem 74 74 */ … … 239 239 va_list list ///< Arguments for name formatting and metadata item data. 240 240 ); 241 #endif 241 #endif // #ifndef SWIG 242 242 243 243 /** Create a metadata collection. … … 294 294 va_list list ///< Arguments for name formatting and metadata item data. 295 295 ); 296 #endif 296 #endif // #ifndef SWIG 297 297 298 298 psBool psMetadataAddS32(psMetadata* md, psS32 location, const char* name, … … 479 479 /// @} 480 480 481 #endif 481 #endif // #ifndef PS_METADATA_H -
trunk/psLib/src/types/psMetadataConfig.h
r3945 r4162 10 10 * @author Robert DeSonia, MHPCC 11 11 * 12 * @version $Revision: 1.1 0$ $Name: not supported by cvs2svn $13 * @date $Date: 2005-0 5-16 19:43:53$12 * @version $Revision: 1.11 $ $Name: not supported by cvs2svn $ 13 * @date $Date: 2005-06-08 23:40:45 $ 14 14 * 15 15 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 94 94 /// @} 95 95 96 #endif 96 #endif // #ifndef PS_METADATAIO_H -
trunk/psLib/src/types/psPixels.h
r3990 r4162 7 7 * @author Robert DeSonia, MHPCC 8 8 * 9 * @version $Revision: 1. 3$ $Name: not supported by cvs2svn $10 * @date $Date: 2005-0 5-19 23:57:36$9 * @version $Revision: 1.4 $ $Name: not supported by cvs2svn $ 10 * @date $Date: 2005-06-08 23:40:45 $ 11 11 * 12 12 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 132 132 ); 133 133 134 #endif 134 #endif // #ifndef PS_PIXELS_H
Note:
See TracChangeset
for help on using the changeset viewer.
