IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 7, 2005, 10:58:51 AM (21 years ago)
Author:
desonia
Message:

modified psMetadata to use a special psMetadataType to signify duplicate
entries and added a flag to signify that duplicate entries are OK.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/sysUtils/psType.h

    r3341 r3381  
    1010*  @author Ross Harman, MHPCC
    1111*
    12 *  @version $Revision: 1.30 $ $Name: not supported by cvs2svn $
    13 *  @date $Date: 2005-02-28 23:34:10 $
     12*  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
     13*  @date $Date: 2005-03-07 20:58:50 $
    1414*
    1515*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    5050typedef float psF32;                   ///< 32-bit floating point
    5151typedef double psF64;                  ///< 64-bit floating point
     52
    5253#ifdef SWIG
    5354typedef struct
     
    6566typedef double _Complex psC64;         ///< complex with 64-bit floating point Real and Imagary numbers
    6667#endif
     68
    6769typedef void* psPtr;                   ///< void pointer
    6870typedef bool psBool;                   ///< boolean value
     
    204206#define PS_IS_PSELEMTYPE_BOOL(x) ((x & 0x1000) == 0x1000)
    205207/// Macro to determine the storage size, in bytes, of the psElemType.
    206 #define PSELEMTYPE_SIZEOF(x) ( (x==PS_TYPE_PTR) ? sizeof(psPtr) :(x & 0xFF) )
     208#define PSELEMTYPE_SIZEOF(x) ( (x==(PS_TYPE_PTR&0xFFFF)) ? sizeof(psPtr) :(x & 0xFF) )
    207209
    208210/** Dimensions of a data type.
Note: See TracChangeset for help on using the changeset viewer.