Changeset 1407 for trunk/psLib/src/collections/psCompare.h
- Timestamp:
- Aug 6, 2004, 2:06:06 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/collections/psCompare.h (modified) (44 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/collections/psCompare.h
r1111 r1407 1 1 #if !defined(PS_COMPARE_H) 2 # define PS_COMPARE_H2 # define PS_COMPARE_H 3 3 4 4 /** @file psCompare.h … … 9 9 * @ingroup Compare 10 10 * 11 * @version $Revision: 1. 1$ $Name: not supported by cvs2svn $12 * @date $Date: 2004-0 6-28 20:36:37$11 * @version $Revision: 1.2 $ $Name: not supported by cvs2svn $ 12 * @date $Date: 2004-08-07 00:06:06 $ 13 13 * 14 14 * Copyright 2004 Maui High Performance Computing Center, University of Hawaii … … 26 26 * than, equal to, or greater than the second. 27 27 */ 28 typedef int (*psComparePtrFcn) (const void** a, const void**b);28 typedef int (*psComparePtrFcn) (const void **a, const void **b); 29 29 30 30 /** A comparison function for sorting. … … 34 34 * than, equal to, or greater than the second. 35 35 */ 36 typedef int (*psCompareFcn) (const void* a, const void*b);36 typedef int (*psCompareFcn) (const void *a, const void *b); 37 37 38 38 /** Compare function of psS8 data. For use with psListSort. … … 42 42 * than, equal to, or greater than the second. 43 43 */ 44 int psCompareS8Ptr(const void ** a, const void**b);44 int psCompareS8Ptr(const void **a, const void **b); 45 45 46 46 /** Compare function of psS16 data. For use with psListSort. … … 50 50 * than, equal to, or greater than the second. 51 51 */ 52 int psCompareS16Ptr(const void ** a, const void**b);52 int psCompareS16Ptr(const void **a, const void **b); 53 53 54 54 /** Compare function of psS32 data. For use with psListSort. … … 58 58 * than, equal to, or greater than the second. 59 59 */ 60 int psCompareS32Ptr(const void ** a, const void**b);60 int psCompareS32Ptr(const void **a, const void **b); 61 61 62 62 /** Compare function of psS64 data. For use with psListSort. … … 66 66 * than, equal to, or greater than the second. 67 67 */ 68 int psCompareS64Ptr(const void ** a, const void**b);68 int psCompareS64Ptr(const void **a, const void **b); 69 69 70 70 /** Compare function of psU8 data. For use with psListSort. … … 74 74 * than, equal to, or greater than the second. 75 75 */ 76 int psCompareU8Ptr(const void ** a, const void**b);76 int psCompareU8Ptr(const void **a, const void **b); 77 77 78 78 /** Compare function of psU16 data. For use with psListSort. … … 82 82 * than, equal to, or greater than the second. 83 83 */ 84 int psCompareU16Ptr(const void ** a, const void**b);84 int psCompareU16Ptr(const void **a, const void **b); 85 85 86 86 /** Compare function of psU32 data. For use with psListSort. … … 90 90 * than, equal to, or greater than the second. 91 91 */ 92 int psCompareU32Ptr(const void ** a, const void**b);92 int psCompareU32Ptr(const void **a, const void **b); 93 93 94 94 /** Compare function of psU64 data. For use with psListSort. … … 98 98 * than, equal to, or greater than the second. 99 99 */ 100 int psCompareU64Ptr(const void ** a, const void**b);100 int psCompareU64Ptr(const void **a, const void **b); 101 101 102 102 /** Compare function of psF32 data. For use with psListSort. … … 106 106 * than, equal to, or greater than the second. 107 107 */ 108 int psCompareF32Ptr(const void ** a, const void**b);108 int psCompareF32Ptr(const void **a, const void **b); 109 109 110 110 /** Compare function of psF64 data. For use with psListSort. … … 114 114 * than, equal to, or greater than the second. 115 115 */ 116 int psCompareF64Ptr(const void ** a, const void**b);116 int psCompareF64Ptr(const void **a, const void **b); 117 117 118 118 /** Compare function of psS8 data. For use with psListSort for descending ordering. … … 122 122 * than, equal to, or less than the second. 123 123 */ 124 int psCompareDescendingS8Ptr(const void ** a, const void**b);124 int psCompareDescendingS8Ptr(const void **a, const void **b); 125 125 126 126 /** Compare function of psS16 data. For use with psListSort for descending ordering. … … 130 130 * than, equal to, or less than the second. 131 131 */ 132 int psCompareDescendingS16Ptr(const void ** a, const void**b);132 int psCompareDescendingS16Ptr(const void **a, const void **b); 133 133 134 134 /** Compare function of psS32 data. For use with psListSort for descending ordering. … … 138 138 * than, equal to, or less than the second. 139 139 */ 140 int psCompareDescendingS32Ptr(const void ** a, const void**b);140 int psCompareDescendingS32Ptr(const void **a, const void **b); 141 141 142 142 /** Compare function of psS64 data. For use with psListSort for descending ordering. … … 146 146 * than, equal to, or less than the second. 147 147 */ 148 int psCompareDescendingS64Ptr(const void ** a, const void**b);148 int psCompareDescendingS64Ptr(const void **a, const void **b); 149 149 150 150 /** Compare function of psU8 data. For use with psListSort for descending ordering. … … 154 154 * than, equal to, or less than the second. 155 155 */ 156 int psCompareDescendingU8Ptr(const void ** a, const void**b);156 int psCompareDescendingU8Ptr(const void **a, const void **b); 157 157 158 158 /** Compare function of psU16 data. For use with psListSort for descending ordering. … … 162 162 * than, equal to, or less than the second. 163 163 */ 164 int psCompareDescendingU16Ptr(const void ** a, const void**b);164 int psCompareDescendingU16Ptr(const void **a, const void **b); 165 165 166 166 /** Compare function of psU32 data. For use with psListSort for descending ordering. … … 170 170 * than, equal to, or lessg than the second. 171 171 */ 172 int psCompareDescendingU32Ptr(const void ** a, const void**b);172 int psCompareDescendingU32Ptr(const void **a, const void **b); 173 173 174 174 /** Compare function of psU64 data. For use with psListSort for descending ordering. … … 178 178 * than, equal to, or lessg than the second. 179 179 */ 180 int psCompareDescendingU64Ptr(const void ** a, const void**b);180 int psCompareDescendingU64Ptr(const void **a, const void **b); 181 181 182 182 /** Compare function of psF32 data. For use with psListSort for descending ordering. … … 186 186 * than, equal to, or lessg than the second. 187 187 */ 188 int psCompareDescendingF32Ptr(const void ** a, const void**b);188 int psCompareDescendingF32Ptr(const void **a, const void **b); 189 189 190 190 /** Compare function of psF64 data. For use with psListSort for descending ordering. … … 194 194 * than, equal to, or lessg than the second. 195 195 */ 196 int psCompareDescendingF64Ptr(const void ** a, const void**b);196 int psCompareDescendingF64Ptr(const void **a, const void **b); 197 197 198 198 /** Compare function of psS8 data. … … 202 202 * than, equal to, or greater than the second. 203 203 */ 204 int psCompareS8(const void * a, const void*b);204 int psCompareS8(const void *a, const void *b); 205 205 206 206 /** Compare function of psS16 data. … … 210 210 * than, equal to, or greater than the second. 211 211 */ 212 int psCompareS16(const void * a, const void*b);212 int psCompareS16(const void *a, const void *b); 213 213 214 214 /** Compare function of psS32 data. … … 218 218 * than, equal to, or greater than the second. 219 219 */ 220 int psCompareS32(const void * a, const void*b);220 int psCompareS32(const void *a, const void *b); 221 221 222 222 /** Compare function of psS64 data. … … 226 226 * than, equal to, or greater than the second. 227 227 */ 228 int psCompareS64(const void * a, const void*b);228 int psCompareS64(const void *a, const void *b); 229 229 230 230 /** Compare function of psU8 data. … … 234 234 * than, equal to, or greater than the second. 235 235 */ 236 int psCompareU8(const void * a, const void*b);236 int psCompareU8(const void *a, const void *b); 237 237 238 238 /** Compare function of psU16 data. … … 242 242 * than, equal to, or greater than the second. 243 243 */ 244 int psCompareU16(const void * a, const void*b);244 int psCompareU16(const void *a, const void *b); 245 245 246 246 /** Compare function of psU32 data. … … 250 250 * than, equal to, or greater than the second. 251 251 */ 252 int psCompareU32(const void * a, const void*b);252 int psCompareU32(const void *a, const void *b); 253 253 254 254 /** Compare function of psU64 data. … … 258 258 * than, equal to, or greater than the second. 259 259 */ 260 int psCompareU64(const void * a, const void*b);260 int psCompareU64(const void *a, const void *b); 261 261 262 262 /** Compare function of psF32 data. … … 266 266 * than, equal to, or greater than the second. 267 267 */ 268 int psCompareF32(const void * a, const void*b);268 int psCompareF32(const void *a, const void *b); 269 269 270 270 /** Compare function of psF64 data. … … 274 274 * than, equal to, or greater than the second. 275 275 */ 276 int psCompareF64(const void * a, const void*b);276 int psCompareF64(const void *a, const void *b); 277 277 278 278 /** Compare function of psS8 data. … … 282 282 * than, equal to, or less than the second. 283 283 */ 284 int psCompareDescendingS8(const void * a, const void*b);284 int psCompareDescendingS8(const void *a, const void *b); 285 285 286 286 /** Compare function of psS16 data. … … 290 290 * than, equal to, or less than the second. 291 291 */ 292 int psCompareDescendingS16(const void * a, const void*b);292 int psCompareDescendingS16(const void *a, const void *b); 293 293 294 294 /** Compare function of psS32 data. … … 298 298 * than, equal to, or less than the second. 299 299 */ 300 int psCompareDescendingS32(const void * a, const void*b);300 int psCompareDescendingS32(const void *a, const void *b); 301 301 302 302 /** Compare function of psS64 data. … … 306 306 * than, equal to, or less than the second. 307 307 */ 308 int psCompareDescendingS64(const void * a, const void*b);308 int psCompareDescendingS64(const void *a, const void *b); 309 309 310 310 /** Compare function of psU8 data. … … 314 314 * than, equal to, or less than the second. 315 315 */ 316 int psCompareDescendingU8(const void * a, const void*b);316 int psCompareDescendingU8(const void *a, const void *b); 317 317 318 318 /** Compare function of psU16 data. … … 322 322 * than, equal to, or less than the second. 323 323 */ 324 int psCompareDescendingU16(const void * a, const void*b);324 int psCompareDescendingU16(const void *a, const void *b); 325 325 326 326 /** Compare function of psU32 data. … … 330 330 * than, equal to, or lessg than the second. 331 331 */ 332 int psCompareDescendingU32(const void * a, const void*b);332 int psCompareDescendingU32(const void *a, const void *b); 333 333 334 334 /** Compare function of psU64 data. … … 338 338 * than, equal to, or lessg than the second. 339 339 */ 340 int psCompareDescendingU64(const void * a, const void*b);340 int psCompareDescendingU64(const void *a, const void *b); 341 341 342 342 /** Compare function of psF32 data. … … 346 346 * than, equal to, or lessg than the second. 347 347 */ 348 int psCompareDescendingF32(const void * a, const void*b);348 int psCompareDescendingF32(const void *a, const void *b); 349 349 350 350 /** Compare function of psF64 data. … … 354 354 * than, equal to, or lessg than the second. 355 355 */ 356 int psCompareDescendingF64(const void* a, const void* b); 357 358 356 int psCompareDescendingF64(const void *a, const void *b); 359 357 360 358 /// @}
Note:
See TracChangeset
for help on using the changeset viewer.
