IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 9, 2004, 12:44:25 PM (22 years ago)
Author:
desonia
Message:

fixed some stupid indent-induced formating problems and added doxygen
comments.

File:
1 edited

Legend:

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

    r1407 r1426  
    1212 *  @author Ross Harman, MHPCC
    1313 *
    14  *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
    15  *  @date $Date: 2004-08-07 00:06:06 $
     14 *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
     15 *  @date $Date: 2004-08-09 22:44:25 $
    1616 *
    1717 *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
     
    3333typedef struct
    3434{
    35     psType type;                // /< Type of data.
    36     unsigned int nalloc;        // /< Total number of elements available.
    37     unsigned int n;             // /< Number of elements in use.
     35    psType type;                ///< Type of data.
     36    unsigned int nalloc;        ///< Total number of elements available.
     37    unsigned int n;             ///< Number of elements in use.
    3838
    3939    union {
    40         psU8 *U8;               // /< Unsigned 8-bit integer data.
    41         psU16 *U16;             // /< Unsigned 16-bit integer data.
    42         psU32 *U32;             // /< Unsigned 32-bit integer data.
    43         psU64 *U64;             // /< Unsigned 64-bit integer data.
    44         psS8 *S8;               // /< Signed 8-bit integer data.
    45         psS16 *S16;             // /< Signed 16-bit integer data.
    46         psS32 *S32;             // /< Signed 32-bit integer data.
    47         psS64 *S64;             // /< Signed 64-bit integer data.
    48         psF32 *F32;             // /< Single-precision float data.
    49         psF64 *F64;             // /< Double-precision float data.
    50         psC32 *C32;             // /< Single-precision complex data.
    51         psC64 *C64;             // /< Double-precision complex data.
    52         psPTR V;                // /< Pointer to data.
    53     } data;                     // /< Union for data types.
     40        psU8 *U8;               ///< Unsigned 8-bit integer data.
     41        psU16 *U16;             ///< Unsigned 16-bit integer data.
     42        psU32 *U32;             ///< Unsigned 32-bit integer data.
     43        psU64 *U64;             ///< Unsigned 64-bit integer data.
     44        psS8 *S8;               ///< Signed 8-bit integer data.
     45        psS16 *S16;             ///< Signed 16-bit integer data.
     46        psS32 *S32;             ///< Signed 32-bit integer data.
     47        psS64 *S64;             ///< Signed 64-bit integer data.
     48        psF32 *F32;             ///< Single-precision float data.
     49        psF64 *F64;             ///< Double-precision float data.
     50        psC32 *C32;             ///< Single-precision complex data.
     51        psC64 *C64;             ///< Double-precision complex data.
     52        psPTR V;                ///< Pointer to data.
     53    } data;                     ///< Union for data types.
    5454}
    5555psVector;
     
    6868 *
    6969 */
    70 psVector *psVectorAlloc(unsigned int nalloc,    // /< Total number of elements to make available.
    71                         psElemType dataType     // /< Type of data to be held by vector.
     70psVector *psVectorAlloc(unsigned int nalloc,    ///< Total number of elements to make available.
     71                        psElemType dataType     ///< Type of data to be held by vector.
    7272                       );
    7373
     
    8080 *
    8181 */
    82 psVector *psVectorRealloc(unsigned int nalloc,  // /< Total number of elements to make available.
    83                           psVector * restrict psVec     // /< Vector to reallocate.
     82psVector *psVectorRealloc(unsigned int nalloc,  ///< Total number of elements to make available.
     83                          psVector * restrict psVec     ///< Vector to reallocate.
    8484                         );
    8585
     
    9393 */
    9494psVector *psVectorRecycle(psVector * restrict psVec,
    95                           // /< Vector to recycle.  If NULL, a new vector is created.  No effort taken to
     95                          ///< Vector to recycle.  If NULL, a new vector is created.  No effort taken to
    9696                          // preserve the values.
    97                           unsigned int nalloc,  // /< Total number of elements to make available.
    98                           psElemType type       // /< the datatype of the returned vector
     97                          unsigned int nalloc,  ///< Total number of elements to make available.
     98                          psElemType type       ///< the datatype of the returned vector
    9999                         );
    100100
     
    107107 */
    108108
    109 psVector *psVectorSort(psVector * restrict outVector,   // /< the output vector to recycle, or NULL if new
     109psVector *psVectorSort(psVector * restrict outVector,   ///< the output vector to recycle, or NULL if new
    110110                       // vector desired.
    111                        const psVector * restrict inVector       // /< the vector to sort.
     111                       const psVector * restrict inVector       ///< the vector to sort.
    112112                      );
    113113
Note: See TracChangeset for help on using the changeset viewer.