IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 20, 2005, 12:42:30 PM (21 years ago)
Author:
drobbin
Message:

* empty log message *

File:
1 edited

Legend:

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

    r4243 r4321  
    1111*  @author Ross Harman, MHPCC
    1212*
    13 *  @version $Revision: 1.48 $ $Name: not supported by cvs2svn $
    14 *  @date $Date: 2005-06-14 02:54:06 $
     13*  @version $Revision: 1.49 $ $Name: not supported by cvs2svn $
     14*  @date $Date: 2005-06-20 22:42:29 $
    1515*
    1616*  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    214214    const char* name,                  ///< Name of metadata item.
    215215    const char* comment,               ///< Comment for metadata item.
    216     psBool value                       ///< the value of the metadata item.
     216    bool value                       ///< the value of the metadata item.
    217217);
    218218
     
    257257 *  @return bool: True for success, false for failure.
    258258 */
    259 psBool psMetadataAddItem(
     259bool psMetadataAddItem(
    260260    psMetadata*  md,                   ///< Metadata collection to insert metadat item.
    261261    psMetadataItem*  item,             ///< Metadata item to be added.
     
    270270 * @return bool: True for success, false for failure.
    271271 */
    272 psBool psMetadataAdd(
     272bool psMetadataAdd(
    273273    psMetadata* md,                    ///< Metadata collection to insert metadata item.
    274     psS32 location,                    ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL
     274    int location,                      ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL
    275275    const char *name,                  ///< Name of metadata item.
    276     int type,                          ///< Type of metadata item (psMetadataType) and options (psMetadataFlags)
     276    int format,                      ///< Type of metadata item (psMetadataType) and options (psMetadataFlags)
    277277    const char *comment,               ///< Comment for metadata item.
    278278    ...                                ///< Arguments for name formatting and metadata item data.
     
    286286 * @return bool: True for success, false for failure.
    287287 */
    288 psBool psMetadataAddV(
     288bool psMetadataAddV(
    289289    psMetadata* md,                    ///< Metadata collection to insert metadata item.
    290     psS32 location,                    ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL
     290    int location,                      ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL
    291291    const char *name,                  ///< Name of metadata item.
    292     int type,                          ///< Type of metadata item (psMetadataType) and options (psMetadataFlags)
     292    int format,                        ///< Type of metadata item (psMetadataType) and options (psMetadataFlags)
    293293    const char *comment,               ///< Comment for metadata item.
    294294    va_list list                       ///< Arguments for name formatting and metadata item data.
     
    300300 *  @return psBool:  True for success, False for failure.
    301301 */
    302 psBool psMetadataAddS32(
     302bool psMetadataAddS32(
    303303    psMetadata* md,                    ///< Metadata collection to insert metadata item
    304304    psS32 location,                    ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL
     
    312312 *  @return psBool:  True for success, False for failure.
    313313*/
    314 psBool psMetadataAddF32(
     314bool psMetadataAddF32(
    315315    psMetadata* md,                    ///< Metadata collection to insert metadata item
    316316    psS32 location,                    ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL
     
    324324 *  @return psBool:  True for success, False for failure.
    325325*/
    326 psBool psMetadataAddF64(
     326bool psMetadataAddF64(
    327327    psMetadata* md,                    ///< Metadata collection to insert metadata item
    328328    psS32 location,                    ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL
     
    348348 *  @return psBool:  True for success, False for failure.
    349349 */
    350 psBool psMetadataAddStr(
     350bool psMetadataAddStr(
    351351    psMetadata* md,                    ///< Metadata collection to insert metadata item
    352352    psS32 location,                    ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL
     
    438438 * @return bool: True for success, false for failure.
    439439 */
    440 psBool psMetadataRemove(
    441     psMetadata*  md,           ///< Metadata collection to remove metadata item.
    442     psS32 where,               ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL
    443     const char * key           ///< Name of metadata key.
     440bool psMetadataRemove(
     441    psMetadata*  md,                   ///< Metadata collection to remove metadata item.
     442    int location,                      ///< Index number, PS_LIST_HEAD, or PS_LIST_TAIL
     443    const char * key                   ///< Name of metadata key.
    444444);
    445445
     
    453453 */
    454454psMetadataItem* psMetadataLookup(
    455     psMetadata * md,                   ///< Metadata collection to lookup metadata item.
     455    const psMetadata * md,                   ///< Metadata collection to lookup metadata item.
    456456    const char * key                   ///< Name of metadata key.
    457457);
     
    466466 */
    467467psF64 psMetadataLookupF64(
    468     psBool *status,                    ///< Status of lookup.
    469     psMetadata *md,                    ///< Metadata collection to lookup metadata item.
     468    bool *status,                    ///< Status of lookup.
     469    const psMetadata *md,                    ///< Metadata collection to lookup metadata item.
    470470    const char *key                    ///< Name of metadata key.
    471471);
     
    480480 */
    481481psF32 psMetadataLookupF32(
    482     psBool *status,                    ///< Status of lookup.
    483     psMetadata *md,                    ///< Metadata collection to lookup metadata item.
     482    bool *status,                    ///< Status of lookup.
     483    const psMetadata *md,                    ///< Metadata collection to lookup metadata item.
    484484    const char *key                    ///< Name of metadata key.
    485485);
     
    494494 */
    495495psS32 psMetadataLookupS32(
    496     psBool *status,                    ///< Status of lookup.
    497     psMetadata *md,                    ///< Metadata collection to lookup metadata item.
     496    bool *status,                    ///< Status of lookup.
     497    const psMetadata *md,                    ///< Metadata collection to lookup metadata item.
    498498    const char *key                    ///< Name of metadata key.
    499499);
     
    508508 */
    509509psBool psMetadataLookupBool(
    510     psBool *status,                    ///< Status of lookup.
    511     psMetadata *md,                    ///< Metadata collection to lookup metadata item.
     510    bool *status,                    ///< Status of lookup.
     511    const psMetadata *md,                    ///< Metadata collection to lookup metadata item.
    512512    const char *key                    ///< Name of metadata key.
    513513);
     
    522522 */
    523523psPtr psMetadataLookupPtr(
    524     psBool *status,                    ///< Status of lookup.
    525     psMetadata* md,                    ///< Metadata collection to lookup metadata item.
     524    bool *status,                    ///< Status of lookup.
     525    const psMetadata* md,                    ///< Metadata collection to lookup metadata item.
    526526    const char *key                    ///< Name of metadata key.
    527527);
     
    560560 *  @return psBool        TRUE if iterator successfully set, otherwise FALSE.
    561561*/
    562 psBool psMetadataIteratorSet(
     562bool psMetadataIteratorSet(
    563563    psMetadataIterator* iterator,      ///< psMetadata iterator
    564564    int location                       ///< index number, PS_LIST_HEAD, or PS_LIST_TAIL
Note: See TracChangeset for help on using the changeset viewer.