IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 1643


Ignore:
Timestamp:
Aug 27, 2004, 1:10:16 PM (22 years ago)
Author:
Paul Price
Message:

Getting rid of nasty "which" and "where", replaced with "iterator" and
"location", which are more descriptive.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/archive/pslib/include/psMetadata.h

    r1639 r1643  
    6969/// Add item to the end of the metadata
    7070bool *psMetadataAddItem(psMetadata *md, ///< metadata to add to
    71                                   int where, ///< Where to add item
    72                                   psMetadataItem *item) ///< Metatdata item to add
     71                        int location,   ///< Where to add item
     72                        psMetadataItem *item) ///< Metatdata item to add
    7373;
    7474
    7575/// Add item to the end of the metadata.  Combines psMetadataItemAlloc and psMetadataAppendItem
    76 bool *psMetadataAdd(psMetadata *md, ///< Metadata to add to
    77                               int where, ///< Where to add item
    78                               const char *name, ///< name of new item of metadata (sprintf format)
    79                               int format, ///< type of this piece of metadata + flags
    80                               const char *comment, ///< comment associated with item
    81                               ...)      ///< possible arguments for name format
     76bool *psMetadataAdd(psMetadata *md,     ///< Metadata to add to
     77                    int location,       ///< Where to add item
     78                    const char *name,   ///< name of new item of metadata (sprintf format)
     79                    int format,         ///< type of this piece of metadata + flags
     80                    const char *comment, ///< comment associated with item
     81                    ...)                ///< possible arguments for name format
    8282;
    8383
    8484/// delete item from the metadata
    8585bool *psMetadataRemove(psMetadata *md,  ///< metadata to delete from
    86                        int where,       ///< Where to remove
     86                       int location,    ///< Where to remove
    8787                       const char *key  ///< Key to delete
    8888    );
     
    9595/// retrieve the metadata on the basis of entry position
    9696psMetadataItem *psMetadataGet(const psMetadata *md, ///< metadata to look up
    97                               int which ///< entry position
     97                              int location ///< entry position
    9898    );
    9999
    100100/// reset the iterator to the start of the list
    101101void psMetadataSetIterator(psMetadata *md, ///< metadata to set iterator for
    102                            int which,   ///< Which iterator to set
    103                            int where    ///< Where to set iterator
     102                           int iterator, ///< Which iterator to set
     103                           int location ///< Where to set iterator
    104104                           );
    105105
     
    107107psMetadataItem *psMetadataGetNext(psMetadata *md, ///< metadata to get from
    108108                                  const char *match, ///< String to match
    109                                   int which ///< Which iterator to use
     109                                  int iterator ///< Which iterator to use
    110110    );
    111111
     
    113113psMetadataItem *psMetadataGetPrevious(psMetadata *md, ///< metadata to get from
    114114                                      const char *match, ///< String to match
    115                                       int which ///< Which iterator to use
     115                                      int iterator ///< Which iterator to use
    116116    );
    117117
Note: See TracChangeset for help on using the changeset viewer.