Changeset 8224 for trunk/psLib/src/types
- Timestamp:
- Aug 7, 2006, 3:27:45 PM (20 years ago)
- Location:
- trunk/psLib/src/types
- Files:
-
- 2 edited
-
psMetadataItemCompare.c (modified) (2 diffs)
-
psMetadataItemCompare.h (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/types/psMetadataItemCompare.c
r7766 r8224 11 11 12 12 bool psMetadataItemCompare(const psMetadataItem *compare, // Item to compare to the template 13 const psMetadataItem *template // The template 14 ) 13 const psMetadataItem *template) // The template 15 14 { 16 15 … … 54 53 55 54 switch (template->type) { 56 TEMPLATE_CASE(BOOL, B ,psBool)55 TEMPLATE_CASE(BOOL, B, psBool) 57 56 ; 58 TEMPLATE_CASE(U8, U8 ,psU8 );57 TEMPLATE_CASE(U8, U8, psU8 ); 59 58 TEMPLATE_CASE(U16, U16, psU16); 60 59 TEMPLATE_CASE(U32, U32, psU32); 61 TEMPLATE_CASE(S8 , S8 ,psS8 );60 TEMPLATE_CASE(S8, S8, psS8 ); 62 61 TEMPLATE_CASE(S16, S16, psS16); 63 62 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 1 17 #ifndef PS_METADATA_ITEM_COMPARE_H 2 18 #define PS_METADATA_ITEM_COMPARE_H … … 4 20 #include "psMetadata.h" 5 21 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 */ 29 bool psMetadataItemCompare( 30 const psMetadataItem *compare, ///< Item to compare to the template 31 const psMetadataItem *template ///< The template 32 ) 9 33 ; 10 34 11 35 36 /// @} 37 12 38 #endif
Note:
See TracChangeset
for help on using the changeset viewer.
