IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 7, 2008, 1:45:56 PM (18 years ago)
Author:
Paul Price
Message:

Adding functions pmFPAfileSelect and pmFPAfileSelectSingle to return ('select') particular files from the list. Re-implementing pmFPAfileActivate using these.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/camera/pmFPAfile.h

    r16343 r16355  
    44 * @author EAM, IfA
    55 *
    6  * @version $Revision: 1.27 $ $Name: not supported by cvs2svn $
    7  * @date $Date: 2008-02-07 00:08:53 $
     6 * @version $Revision: 1.28 $ $Name: not supported by cvs2svn $
     7 * @date $Date: 2008-02-07 23:45:56 $
    88 * Copyright 2004-2005 Institute for Astronomy, University of Hawaii
    99 */
     
    128128const char *pmFPAfileStringFromType(pmFPAfileType type);
    129129
     130/// Select files with the same name from the list of files
     131///
     132/// Returns all files if name is NULL.
     133psArray *pmFPAfileSelect(psMetadata *files, ///< All files
     134                         const char *name ///< Name of file(s) to return, or NULL for all
     135    );
     136
     137/// Select a specific instance of a file from the list of files
     138///
     139/// Returns the num-th instance of all files if name is NULL.
     140pmFPAfile *pmFPAfileSelectSingle(psMetadata *files, ///< All files
     141                                 const char *name, ///< Name of file
     142                                 int num ///< Instance number of specific instance
     143    );
     144
     145
     146
    130147/// @}
    131148# endif
Note: See TracChangeset for help on using the changeset viewer.