IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 6, 2004, 2:06:06 PM (22 years ago)
Author:
desonia
Message:

another attempt to get astyle to get it right.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/collections/psCompare.h

    r1111 r1407  
    11#if !defined(PS_COMPARE_H)
    2 #define PS_COMPARE_H
     2#    define PS_COMPARE_H
    33
    44/** @file psCompare.h
     
    99 *  @ingroup Compare
    1010 *
    11  *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    12  *  @date $Date: 2004-06-28 20:36:37 $
     11 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2004-08-07 00:06:06 $
    1313 *
    1414 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    2626 *                   than, equal to, or greater than the second.
    2727 */
    28 typedef int (*psComparePtrFcn)(const void** a, const void** b);
     28typedef int (*psComparePtrFcn) (const void **a, const void **b);
    2929
    3030/** A comparison function for sorting.
     
    3434 *                   than, equal to, or greater than the second.
    3535 */
    36 typedef int (*psCompareFcn)(const void* a, const void* b);
     36typedef int (*psCompareFcn) (const void *a, const void *b);
    3737
    3838/** Compare function of psS8 data.  For use with psListSort.
     
    4242 *                   than, equal to, or greater than the second.
    4343 */
    44 int psCompareS8Ptr(const void** a, const void** b);
     44int psCompareS8Ptr(const void **a, const void **b);
    4545
    4646/** Compare function of psS16 data.  For use with psListSort.
     
    5050 *                   than, equal to, or greater than the second.
    5151 */
    52 int psCompareS16Ptr(const void** a, const void** b);
     52int psCompareS16Ptr(const void **a, const void **b);
    5353
    5454/** Compare function of psS32 data.  For use with psListSort.
     
    5858 *                   than, equal to, or greater than the second.
    5959 */
    60 int psCompareS32Ptr(const void** a, const void** b);
     60int psCompareS32Ptr(const void **a, const void **b);
    6161
    6262/** Compare function of psS64 data.  For use with psListSort.
     
    6666 *                   than, equal to, or greater than the second.
    6767 */
    68 int psCompareS64Ptr(const void** a, const void** b);
     68int psCompareS64Ptr(const void **a, const void **b);
    6969
    7070/** Compare function of psU8 data.  For use with psListSort.
     
    7474 *                   than, equal to, or greater than the second.
    7575 */
    76 int psCompareU8Ptr(const void** a, const void** b);
     76int psCompareU8Ptr(const void **a, const void **b);
    7777
    7878/** Compare function of psU16 data.  For use with psListSort.
     
    8282 *                   than, equal to, or greater than the second.
    8383 */
    84 int psCompareU16Ptr(const void** a, const void** b);
     84int psCompareU16Ptr(const void **a, const void **b);
    8585
    8686/** Compare function of psU32 data.  For use with psListSort.
     
    9090 *                   than, equal to, or greater than the second.
    9191 */
    92 int psCompareU32Ptr(const void** a, const void** b);
     92int psCompareU32Ptr(const void **a, const void **b);
    9393
    9494/** Compare function of psU64 data.  For use with psListSort.
     
    9898 *                   than, equal to, or greater than the second.
    9999 */
    100 int psCompareU64Ptr(const void** a, const void** b);
     100int psCompareU64Ptr(const void **a, const void **b);
    101101
    102102/** Compare function of psF32 data.  For use with psListSort.
     
    106106 *                   than, equal to, or greater than the second.
    107107 */
    108 int psCompareF32Ptr(const void** a, const void** b);
     108int psCompareF32Ptr(const void **a, const void **b);
    109109
    110110/** Compare function of psF64 data.  For use with psListSort.
     
    114114 *                   than, equal to, or greater than the second.
    115115 */
    116 int psCompareF64Ptr(const void** a, const void** b);
     116int psCompareF64Ptr(const void **a, const void **b);
    117117
    118118/** Compare function of psS8 data.  For use with psListSort for descending ordering.
     
    122122 *                   than, equal to, or less than the second.
    123123 */
    124 int psCompareDescendingS8Ptr(const void** a, const void** b);
     124int psCompareDescendingS8Ptr(const void **a, const void **b);
    125125
    126126/** Compare function of psS16 data.  For use with psListSort for descending ordering.
     
    130130 *                   than, equal to, or less than the second.
    131131 */
    132 int psCompareDescendingS16Ptr(const void** a, const void** b);
     132int psCompareDescendingS16Ptr(const void **a, const void **b);
    133133
    134134/** Compare function of psS32 data.  For use with psListSort for descending ordering.
     
    138138 *                   than, equal to, or less than the second.
    139139 */
    140 int psCompareDescendingS32Ptr(const void** a, const void** b);
     140int psCompareDescendingS32Ptr(const void **a, const void **b);
    141141
    142142/** Compare function of psS64 data.  For use with psListSort for descending ordering.
     
    146146 *                   than, equal to, or less than the second.
    147147 */
    148 int psCompareDescendingS64Ptr(const void** a, const void** b);
     148int psCompareDescendingS64Ptr(const void **a, const void **b);
    149149
    150150/** Compare function of psU8 data.  For use with psListSort for descending ordering.
     
    154154 *                   than, equal to, or less than the second.
    155155 */
    156 int psCompareDescendingU8Ptr(const void** a, const void** b);
     156int psCompareDescendingU8Ptr(const void **a, const void **b);
    157157
    158158/** Compare function of psU16 data.  For use with psListSort for descending ordering.
     
    162162 *                   than, equal to, or less than the second.
    163163 */
    164 int psCompareDescendingU16Ptr(const void** a, const void** b);
     164int psCompareDescendingU16Ptr(const void **a, const void **b);
    165165
    166166/** Compare function of psU32 data.  For use with psListSort for descending ordering.
     
    170170 *                   than, equal to, or lessg than the second.
    171171 */
    172 int psCompareDescendingU32Ptr(const void** a, const void** b);
     172int psCompareDescendingU32Ptr(const void **a, const void **b);
    173173
    174174/** Compare function of psU64 data.  For use with psListSort for descending ordering.
     
    178178 *                   than, equal to, or lessg than the second.
    179179 */
    180 int psCompareDescendingU64Ptr(const void** a, const void** b);
     180int psCompareDescendingU64Ptr(const void **a, const void **b);
    181181
    182182/** Compare function of psF32 data.  For use with psListSort for descending ordering.
     
    186186 *                   than, equal to, or lessg than the second.
    187187 */
    188 int psCompareDescendingF32Ptr(const void** a, const void** b);
     188int psCompareDescendingF32Ptr(const void **a, const void **b);
    189189
    190190/** Compare function of psF64 data.  For use with psListSort for descending ordering.
     
    194194 *                   than, equal to, or lessg than the second.
    195195 */
    196 int psCompareDescendingF64Ptr(const void** a, const void** b);
     196int psCompareDescendingF64Ptr(const void **a, const void **b);
    197197
    198198/** Compare function of psS8 data.
     
    202202 *                   than, equal to, or greater than the second.
    203203 */
    204 int psCompareS8(const void* a, const void* b);
     204int psCompareS8(const void *a, const void *b);
    205205
    206206/** Compare function of psS16 data.
     
    210210 *                   than, equal to, or greater than the second.
    211211 */
    212 int psCompareS16(const void* a, const void* b);
     212int psCompareS16(const void *a, const void *b);
    213213
    214214/** Compare function of psS32 data.
     
    218218 *                   than, equal to, or greater than the second.
    219219 */
    220 int psCompareS32(const void* a, const void* b);
     220int psCompareS32(const void *a, const void *b);
    221221
    222222/** Compare function of psS64 data.
     
    226226 *                   than, equal to, or greater than the second.
    227227 */
    228 int psCompareS64(const void* a, const void* b);
     228int psCompareS64(const void *a, const void *b);
    229229
    230230/** Compare function of psU8 data.
     
    234234 *                   than, equal to, or greater than the second.
    235235 */
    236 int psCompareU8(const void* a, const void* b);
     236int psCompareU8(const void *a, const void *b);
    237237
    238238/** Compare function of psU16 data.
     
    242242 *                   than, equal to, or greater than the second.
    243243 */
    244 int psCompareU16(const void* a, const void* b);
     244int psCompareU16(const void *a, const void *b);
    245245
    246246/** Compare function of psU32 data.
     
    250250 *                   than, equal to, or greater than the second.
    251251 */
    252 int psCompareU32(const void* a, const void* b);
     252int psCompareU32(const void *a, const void *b);
    253253
    254254/** Compare function of psU64 data.
     
    258258 *                   than, equal to, or greater than the second.
    259259 */
    260 int psCompareU64(const void* a, const void* b);
     260int psCompareU64(const void *a, const void *b);
    261261
    262262/** Compare function of psF32 data.
     
    266266 *                   than, equal to, or greater than the second.
    267267 */
    268 int psCompareF32(const void* a, const void* b);
     268int psCompareF32(const void *a, const void *b);
    269269
    270270/** Compare function of psF64 data.
     
    274274 *                   than, equal to, or greater than the second.
    275275 */
    276 int psCompareF64(const void* a, const void* b);
     276int psCompareF64(const void *a, const void *b);
    277277
    278278/** Compare function of psS8 data.
     
    282282 *                   than, equal to, or less than the second.
    283283 */
    284 int psCompareDescendingS8(const void* a, const void* b);
     284int psCompareDescendingS8(const void *a, const void *b);
    285285
    286286/** Compare function of psS16 data.
     
    290290 *                   than, equal to, or less than the second.
    291291 */
    292 int psCompareDescendingS16(const void* a, const void* b);
     292int psCompareDescendingS16(const void *a, const void *b);
    293293
    294294/** Compare function of psS32 data.
     
    298298 *                   than, equal to, or less than the second.
    299299 */
    300 int psCompareDescendingS32(const void* a, const void* b);
     300int psCompareDescendingS32(const void *a, const void *b);
    301301
    302302/** Compare function of psS64 data.
     
    306306 *                   than, equal to, or less than the second.
    307307 */
    308 int psCompareDescendingS64(const void* a, const void* b);
     308int psCompareDescendingS64(const void *a, const void *b);
    309309
    310310/** Compare function of psU8 data.
     
    314314 *                   than, equal to, or less than the second.
    315315 */
    316 int psCompareDescendingU8(const void* a, const void* b);
     316int psCompareDescendingU8(const void *a, const void *b);
    317317
    318318/** Compare function of psU16 data.
     
    322322 *                   than, equal to, or less than the second.
    323323 */
    324 int psCompareDescendingU16(const void* a, const void* b);
     324int psCompareDescendingU16(const void *a, const void *b);
    325325
    326326/** Compare function of psU32 data.
     
    330330 *                   than, equal to, or lessg than the second.
    331331 */
    332 int psCompareDescendingU32(const void* a, const void* b);
     332int psCompareDescendingU32(const void *a, const void *b);
    333333
    334334/** Compare function of psU64 data.
     
    338338 *                   than, equal to, or lessg than the second.
    339339 */
    340 int psCompareDescendingU64(const void* a, const void* b);
     340int psCompareDescendingU64(const void *a, const void *b);
    341341
    342342/** Compare function of psF32 data.
     
    346346 *                   than, equal to, or lessg than the second.
    347347 */
    348 int psCompareDescendingF32(const void* a, const void* b);
     348int psCompareDescendingF32(const void *a, const void *b);
    349349
    350350/** Compare function of psF64 data.
     
    354354 *                   than, equal to, or lessg than the second.
    355355 */
    356 int psCompareDescendingF64(const void* a, const void* b);
    357 
    358 
     356int psCompareDescendingF64(const void *a, const void *b);
    359357
    360358/// @}
Note: See TracChangeset for help on using the changeset viewer.