IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 8224 for trunk/psLib/src/types


Ignore:
Timestamp:
Aug 7, 2006, 3:27:45 PM (20 years ago)
Author:
drobbin
Message:

Added psMetadataItemCompare test to tst_psMetadata_01.c and edited StringSub test to include MemCheckLeaks

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

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/types/psMetadataItemCompare.c

    r7766 r8224  
    1111
    1212bool psMetadataItemCompare(const psMetadataItem *compare, // Item to compare to the template
    13                            const psMetadataItem *template // The template
    14                           )
     13                           const psMetadataItem *template) // The template
    1514{
    1615
     
    5453
    5554    switch (template->type) {
    56         TEMPLATE_CASE(BOOL, B  , psBool)
     55        TEMPLATE_CASE(BOOL, B psBool)
    5756        ;
    58         TEMPLATE_CASE(U8,   U8 , psU8 );
     57        TEMPLATE_CASE(U8,   U8, psU8 );
    5958        TEMPLATE_CASE(U16,  U16, psU16);
    6059        TEMPLATE_CASE(U32,  U32, psU32);
    61         TEMPLATE_CASE(S8 ,  S8 , psS8 );
     60        TEMPLATE_CASE(S8,   S8, psS8 );
    6261        TEMPLATE_CASE(S16,  S16, psS16);
    6362        TEMPLATE_CASE(S32,  S32, psS32);
  • trunk/psLib/src/types/psMetadataItemCompare.h

    r7380 r8224  
     1/** @file  psMetadataItemCompare.h
     2 *
     3 *  @brief Compares Metadata Items
     4 *
     5 *  This file defines functions to compare psMetadataItem's.
     6 *
     7 *  @ingroup Metadata
     8 *
     9 *  @author IFA
     10 *
     11 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     12 *  @date $Date: 2006-08-08 01:27:45 $
     13 *
     14 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     15 */
     16
    117#ifndef PS_METADATA_ITEM_COMPARE_H
    218#define PS_METADATA_ITEM_COMPARE_H
     
    420#include "psMetadata.h"
    521
    6 bool psMetadataItemCompare(const psMetadataItem *compare, // Item to compare to the template
    7                            const psMetadataItem *template // The template
    8                           )
     22/// @addtogroup Metadata
     23/// @{
     24
     25/** Compares two psMetadataItems.
     26 *
     27 *  @return bool:       True if compare matches template, otherwise false.
     28 */
     29bool psMetadataItemCompare(
     30    const psMetadataItem *compare,     ///< Item to compare to the template
     31    const psMetadataItem *template     ///< The template
     32)
    933;
    1034
    1135
     36/// @}
     37
    1238#endif
Note: See TracChangeset for help on using the changeset viewer.