IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 28, 2005, 10:17:52 AM (21 years ago)
Author:
drobbin
Message:

updated files in accordance with requested revisions in apidelta-report-cycle6

File:
1 edited

Legend:

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

    r4330 r4409  
    1111 *  @author Ross Harman, MHPCC
    1212 *
    13  *  @version $Revision: 1.36 $ $Name: not supported by cvs2svn $
    14  *  @date $Date: 2005-06-21 03:01:37 $
     13 *  @version $Revision: 1.37 $ $Name: not supported by cvs2svn $
     14 *  @date $Date: 2005-06-28 20:17:52 $
    1515 *
    1616 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    2929///< Union of psVector data types.
    3030typedef union {
    31     psU8* U8;               ///< Unsigned 8-bit integer data.
    32     psU16* U16;             ///< Unsigned 16-bit integer data.
    33     psU32* U32;             ///< Unsigned 32-bit integer data.
    34     psU64* U64;             ///< Unsigned 64-bit integer data.
    35     psS8* S8;               ///< Signed 8-bit integer data.
    36     psS16* S16;             ///< Signed 16-bit integer data.
    37     psS32* S32;             ///< Signed 32-bit integer data.
    38     psS64* S64;             ///< Signed 64-bit integer data.
    39     psF32* F32;             ///< Single-precision float data.
    40     psF64* F64;             ///< Double-precision float data.
    41     psC32* C32;             ///< Single-precision complex data.
    42     psC64* C64;             ///< Double-precision complex data.
    43 } p_psVectorData;
     31    psU8* U8;                          ///< Unsigned 8-bit integer data.
     32    psU16* U16;                        ///< Unsigned 16-bit integer data.
     33    psU32* U32;                        ///< Unsigned 32-bit integer data.
     34    psU64* U64;                        ///< Unsigned 64-bit integer data.
     35    psS8* S8;                          ///< Signed 8-bit integer data.
     36    psS16* S16;                        ///< Signed 16-bit integer data.
     37    psS32* S32;                        ///< Signed 32-bit integer data.
     38    psS64* S64;                        ///< Signed 64-bit integer data.
     39    psF32* F32;                        ///< Single-precision float data.
     40    psF64* F64;                        ///< Double-precision float data.
     41    psC32* C32;                        ///< Single-precision complex data.
     42    psC64* C64;                        ///< Double-precision complex data.
     43}
     44p_psVectorData;
    4445
    4546/** An vector to support primitive types.
     
    5051typedef struct
    5152{
    52     psType type;                ///< Type of data.
    53     int n;                      ///< Number of elements in use.
    54     const int nalloc;           ///< Total number of elements available.
    55     p_psVectorData data;        ///< Union for data types.
     53    psType type;                       ///< Type of data.
     54    int n;                             ///< Number of elements in use.
     55    const int nalloc;                  ///< Total number of elements available.
     56    p_psVectorData data;               ///< Union for data types.
    5657}
    5758psVector;
     
    7273 */
    7374psVector* psVectorAlloc(
    74     psU32 nalloc,               ///< Total number of elements to make available.
    75     psElemType dataType                ///< Type of data to be held by vector.
     75    unsigned long nalloc,              ///< Total number of elements to make available.
     76    psElemType type                    ///< Type of data to be held by vector.
    7677);
    7778
     
    8687 */
    8788psVector* psVectorRealloc(
    88     psVector* psVec,                   ///< Vector to reallocate.
    89     psU32 nalloc                       ///< Total number of elements to make available.
     89    psVector* vector,                  ///< Vector to reallocate.
     90    unsigned long nalloc               ///< Total number of elements to make available.
    9091);
    9192
     
    115116 */
    116117psVector* psVectorRecycle(
    117     psVector* psVec,
     118    psVector* vector,
    118119    ///< Vector to recycle.  If NULL, a new vector is created.  No effort
    119120    ///< taken to preserve the values.
    120121
    121     psU32 nalloc,                      ///< Total number of elements to make available.
     122    unsigned long nalloc,              ///< Total number of elements to make available.
    122123    psElemType type                    ///< the datatype of the returned vector
    123124);
Note: See TracChangeset for help on using the changeset viewer.