IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 4162 for trunk/psLib/src/types


Ignore:
Timestamp:
Jun 8, 2005, 1:40:46 PM (21 years ago)
Author:
desonia
Message:

added comments on the end of #endif and #else

Location:
trunk/psLib/src/types
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/types/psArray.h

    r3264 r4162  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-02-17 19:26:23 $
     14 *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-06-08 23:40:45 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    4848/** Allocate an array.
    4949 *
    50  * Uses psLib memory allocation functions to create an array collection of 
     50 * Uses psLib memory allocation functions to create an array collection of
    5151 * data
    5252 *
     
    6060/** Reallocate an array.
    6161 *
    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.
    6464 *
    6565 * @return psArray* : Pointer to psArray.
     
    8585/** Remove an element from the array
    8686 *
    87  *  Finds and removes the specified data pointer from the list. 
     87 *  Finds and removes the specified data pointer from the list.
    8888 *
    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,
    9090 *                otherwise FALSE.
    9191 *
     
    9898/** Deallocate/Dereference elements of an array.
    9999 *
    100  * Uses psLib memory allocation functions to deallocate/dereference elements 
     100 * Uses psLib memory allocation functions to deallocate/dereference elements
    101101 * of a array of void pointers.  The array psArr is not freed, and its elements
    102102 * will all be set to NULL.
     
    112112 *  to specify how the objects on the array should be sorted.
    113113 *
    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.
    117117 *
    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
    119119 *  undefined.
    120120 *
     
    148148/// @}
    149149
    150 #endif
     150#endif // #ifndef PS_ARRAY_H
  • trunk/psLib/src/types/psBitSet.h

    r3264 r4162  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2005-02-17 19:26:23 $
     14 *  @version $Revision: 1.18 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2005-06-08 23:40:45 $
    1616 *
    1717 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    7575/** Clear a bit.
    7676 *
    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.
    8080 *
    8181 *  @return  psBitSet* : Pointer to struct containing psBitSet.
     
    143143/// @}
    144144
    145 #endif
     145#endif // #ifndef PSBITSET_H
  • trunk/psLib/src/types/psHash.h

    r4135 r4162  
    1111 *  @author GLG, MHPCC
    1212 *
    13  *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-06-07 22:36:48 $
     13 *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-06-08 23:40:45 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1717 */
    18 #if !defined(PS_HASH_H)
     18
     19#ifndef PS_HASH_H
    1920#define PS_HASH_H
    2021
     
    8384/* \} */// End of DataGroup Functions
    8485
    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_H
    3 
    41/** @file psList.h
    52 *  @brief Support for doubly linked lists
     
    107 *  @ingroup LinkedList
    118 *
    12  *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2005-03-11 23:17:46 $
     9 *  @version $Revision: 1.24 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-06-08 23:40:45 $
    1411 *
    1512 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
    1613 */
     14
     15#ifndef PS_LIST_H
     16#define PS_LIST_H
    1717
    1818#include <pthread.h>                   // we need a mutex to make this stuff thread safe.
     
    210210/** Sort a list via a comparison function.
    211211 *
    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
    217217 *  undefined.
    218218 *
     
    226226/// @} End of DataGroup Functions
    227227
    228 #endif
     228#endif // #ifndef PS_LIST_H
     229
  • trunk/psLib/src/types/psLookupTable.c

    r4050 r4162  
    77*  @author Ross Harman, MHPCC
    88*
    9 *  @version $Revision: 1.15 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2005-05-31 21:46:56 $
     9*  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2005-06-08 23:40:45 $
    1111*
    1212*  Copyright 2004-2005 Maui High Performance Computing Center, Univ. of Hawaii
     
    1515#include <string.h>
    1616#include <ctype.h>
    17 //#ifdef DARWIN
    18 #undef __STRICT_ANSI__
    19 //#endif
    2017#include <stdlib.h>
    21 //#ifdef DARWIN
    22 #define __STRICT_ANSI__
    23 //#endif
    2418#include <math.h>
    25 #include <stdlib.h>
    2619
    2720#include "psMemory.h"
  • trunk/psLib/src/types/psLookupTable.h

    r4050 r4162  
    77*  @author Ross Harman, MHPCC
    88*
    9 *  @version $Revision: 1.6 $ $Name: not supported by cvs2svn $
    10 *  @date $Date: 2005-05-31 21:46:56 $
     9*  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
     10*  @date $Date: 2005-06-08 23:40:45 $
    1111*
    1212*  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    131131);
    132132
    133 #endif
     133#endif // #ifndef PS_LOOKUPTABLE_H
  • trunk/psLib/src/types/psMetadata.h

    r4130 r4162  
    1111*  @author Ross Harman, MHPCC
    1212*
    13 *  @version $Revision: 1.46 $ $Name: not supported by cvs2svn $
    14 *  @date $Date: 2005-06-07 19:59:39 $
     13*  @version $Revision: 1.47 $ $Name: not supported by cvs2svn $
     14*  @date $Date: 2005-06-08 23:40:45 $
    1515*
    1616*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    7070 *
    7171 *  Enumeration for the modification of the behaviour in psMetadataAddItem.
    72  * 
     72 *
    7373 *  @see psMetadataAddItem
    7474 */
     
    239239    va_list list                       ///< Arguments for name formatting and metadata item data.
    240240);
    241 #endif
     241#endif // #ifndef SWIG
    242242
    243243/** Create a metadata collection.
     
    294294    va_list list                       ///< Arguments for name formatting and metadata item data.
    295295);
    296 #endif
     296#endif // #ifndef SWIG
    297297
    298298psBool psMetadataAddS32(psMetadata* md, psS32 location, const char* name,
     
    479479/// @}
    480480
    481 #endif
     481#endif // #ifndef PS_METADATA_H
  • trunk/psLib/src/types/psMetadataConfig.h

    r3945 r4162  
    1010 *  @author Robert DeSonia, MHPCC
    1111 *
    12  *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
    13  *  @date $Date: 2005-05-16 19:43:53 $
     12 *  @version $Revision: 1.11 $ $Name: not supported by cvs2svn $
     13 *  @date $Date: 2005-06-08 23:40:45 $
    1414 *
    1515 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    9494/// @}
    9595
    96 #endif
     96#endif // #ifndef PS_METADATAIO_H
  • trunk/psLib/src/types/psPixels.h

    r3990 r4162  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-05-19 23:57:36 $
     9 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-06-08 23:40:45 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    132132);
    133133
    134 #endif
     134#endif // #ifndef PS_PIXELS_H
Note: See TracChangeset for help on using the changeset viewer.