IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 13, 2007, 5:01:11 PM (19 years ago)
Author:
Paul Price
Message:

Declaring parameters const where appropriate.

File:
1 edited

Legend:

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

    r12696 r12831  
    44 * @author EAM, IfA
    55 *
    6  * @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    7  * @date $Date: 2007-03-30 21:12:56 $
     6 * @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     7 * @date $Date: 2007-04-14 03:01:11 $
    88 * Copyright 2004-2005 Institute for Astronomy, University of Hawaii
    99 */
     
    1919// Note that the returned pmFPAfile is a view only, so it should not be freed by the caller --- the only
    2020// reference count is held by the config->files metadata.
    21 pmFPAfile *pmFPAfileDefineInput (pmConfig *config, pmFPA *fpa, const char *name);
     21pmFPAfile *pmFPAfileDefineInput (const pmConfig *config, pmFPA *fpa, const char *name);
    2222
    2323// load the pmFPAfile information from the camera configuration data
     
    2525// Note that the returned pmFPAfile is a view only, so it should not be freed by the caller --- the only
    2626// reference count is held by the config->files metadata.
    27 pmFPAfile *pmFPAfileDefineOutput (pmConfig *config, pmFPA *fpa, const char *name);
     27pmFPAfile *pmFPAfileDefineOutput (const pmConfig *config, pmFPA *fpa, const char *name);
    2828
    2929// look for the given argname on the argument list.  find the give filename from the file rules
     
    3737// Note that the returned pmFPAfile is a view only, so it should not be freed by the caller --- the only
    3838// reference count is held by the config->files metadata.
    39 pmFPAfile *pmFPAfileBindFromArgs (bool *found, pmFPAfile *input, pmConfig *config, const char *filename, const char *argname);
     39pmFPAfile *pmFPAfileBindFromArgs (bool *found, pmFPAfile *input, const pmConfig *config, const char *filename, const char *argname);
    4040
    4141// look for the given argname on the argument list.  find the give filename from the file rules
     
    4343// Note that the returned pmFPAfile is a view only, so it should not be freed by the caller --- the only
    4444// reference count is held by the config->files metadata.
    45 pmFPAfile *pmFPAfileDefineFromConf (bool *found, pmConfig *config, const char *filename);
     45pmFPAfile *pmFPAfileDefineFromConf (bool *found, const pmConfig *config, const char *filename);
    4646
    4747// look for the given argname on the argument list.  find the give filename from the file rules
     
    4949// Note that the returned pmFPAfile is a view only, so it should not be freed by the caller --- the only
    5050// reference count is held by the config->files metadata.
    51 pmFPAfile *pmFPAfileDefineFromDetDB (bool *found, pmConfig *config, const char *filename,
     51pmFPAfile *pmFPAfileDefineFromDetDB (bool *found, const pmConfig *config, const char *filename,
    5252                                     pmFPA *input, pmDetrendType type);
    5353
     
    5656// Note that the returned pmFPAfile is a view only, so it should not be freed by the caller --- the only
    5757// reference count is held by the config->files metadata.
    58 pmFPAfile *pmFPAfileDefineFromFPA (pmConfig *config, pmFPA *src, int xBin, int yBin, const char *filename);
     58pmFPAfile *pmFPAfileDefineFromFPA (const pmConfig *config, pmFPA *src, int xBin, int yBin, const char *filename);
    5959
    6060// create a new output pmFPAfile based on an existing FPA
     
    6363// Note that the returned pmFPAfile is a view only, so it should not be freed by the caller --- the only
    6464// reference count is held by the config->files metadata.
    65 pmFPAfile *pmFPAfileDefineNewCamera (pmConfig *config, const char *filename);
     65pmFPAfile *pmFPAfileDefineNewCamera (const pmConfig *config, const char *filename);
    6666
    6767/// Create a new output pmFPAfile based upon a chip mosaic of an existing FPA
     
    6969/// The new pmFPAfile is inserted into the config->files metadata, freed and returned; so that the user does
    7070/// not have to (and should not!) free the result.
    71 pmFPAfile *pmFPAfileDefineChipMosaic(pmConfig *config, ///< Configuration data
     71pmFPAfile *pmFPAfileDefineChipMosaic(const pmConfig *config, ///< Configuration data
    7272                                     pmFPA *src, ///< Source FPA
    7373                                     const char *filename ///< Output (root) filename
     
    7878/// The new pmFPAfile is inserted into the config->files metadata, freed and returned; so that the user does
    7979/// not have to (and should not!) free the result.
    80 pmFPAfile *pmFPAfileDefineFPAMosaic(pmConfig *config, ///< Configuration data
     80pmFPAfile *pmFPAfileDefineFPAMosaic(const pmConfig *config, ///< Configuration data
    8181                                    pmFPA *src, ///< Source FPA
    8282                                    const char *filename ///< Output (root) filename
Note: See TracChangeset for help on using the changeset viewer.