IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 17, 2008, 10:37:20 AM (18 years ago)
Author:
Paul Price
Message:

Adding const, assertions, cleaning up.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/config/pmConfigMask.h

    r18554 r18598  
    44 *  @author Paul Price, IfA
    55 *
    6  *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    7  *  @date $Date: 2008-07-15 20:25:00 $
     6 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     7 *  @date $Date: 2008-07-17 20:37:20 $
    88 *  Copyright 2007 Institute for Astronomy, University of Hawaii
    99 */
     
    2424/// The mask values are derived from the MASKS recipe
    2525psMaskType pmConfigMaskGet(const char *masks, ///< List of symbolic names, space/comma delimited
    26                         const pmConfig *config ///< Configuration
    27                         );
     26                           const pmConfig *config ///< Configuration
     27    );
    2828
    2929bool pmConfigMaskSet(const pmConfig *config, const char *maskName, psMaskType maskValue);
     
    3131// replace the named masks in the recipe with values in the header:
    3232// replace only the names in the header in the recipe
    33 bool pmConfigMaskReadHeader (pmConfig *config, psMetadata *header);
     33bool pmConfigMaskReadHeader(pmConfig *config, const psMetadata *header);
    3434
    3535// write the named mask bits to the header
    36 bool pmConfigMaskWriteHeader (pmConfig *config, psMetadata *header);
     36bool pmConfigMaskWriteHeader(const pmConfig *config, psMetadata *header);
    3737
    38 bool pmConfigMaskSetBits (psMaskType *outMaskValue, psMaskType *outMarkValue, pmConfig *config);
     38bool pmConfigMaskSetBits(psMaskType *outMaskValue, psMaskType *outMarkValue, const pmConfig *config);
    3939
    4040#endif
Note: See TracChangeset for help on using the changeset viewer.