IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 7540


Ignore:
Timestamp:
Jun 13, 2006, 12:28:02 PM (20 years ago)
Author:
Paul Price
Message:

Adding const for headers when writing, to match SDRS.

Location:
trunk/psLib/src/fits
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFitsHeader.c

    r7297 r7540  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.21 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2006-06-02 20:59:57 $
     9 *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2006-06-13 22:28:02 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    246246
    247247static bool fitsWriteHeader(psFits *fits, // The FITS file handle
    248                             psMetadata *output, // Metadata that is to be output into the FITS file
     248                            const psMetadata *output, // Metadata that is to be output into the FITS file
    249249                            bool keyStarts // Write out the key starts?
    250250                           )
     
    387387
    388388bool psFitsWriteHeader(psFits *fits,
    389                        psMetadata *output
     389                       const psMetadata *output
    390390                      )
    391391{
     
    404404
    405405bool psFitsWriteBlank(psFits* fits,
    406                       psMetadata* output
     406                      const psMetadata* output
    407407                     )
    408408{
  • trunk/psLib/src/fits/psFitsHeader.h

    r7232 r7540  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.7 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2006-05-27 01:59:36 $
     9 *  @version $Revision: 1.8 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2006-06-13 22:28:02 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    4848bool psFitsWriteHeader(
    4949    psFits* fits,                       ///< the psFits object
    50     psMetadata* output                  ///< the psMetadata data in which to write
     50    const psMetadata* output            ///< the psMetadata data in which to write
    5151);
    5252
     
    5757bool psFitsWriteBlank(
    5858    psFits* fits,                       ///< the psFits object
    59     psMetadata* output                  ///< the psMetadata data in which to write
     59    const psMetadata* output            ///< the psMetadata data in which to write
    6060);
    6161
  • trunk/psLib/src/fits/psFitsImage.c

    r7232 r7540  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2006-05-27 01:59:36 $
     9 *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2006-06-13 22:28:02 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    277277
    278278bool psFitsWriteImage(psFits* fits,
    279                       psMetadata* header,
     279                      const psMetadata* header,
    280280                      const psImage* input,
    281281                      int numZPlanes,
     
    289289
    290290bool psFitsInsertImage(psFits* fits,
    291                        psMetadata* header,
     291                       const psMetadata* header,
    292292                       const psImage* input,
    293293                       int numZPlanes,
  • trunk/psLib/src/fits/psFitsImage.h

    r6874 r7540  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2006-04-17 22:00:03 $
     9 *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2006-06-13 22:28:02 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    4343bool psFitsWriteImage(
    4444    psFits* fits,                      ///< the psFits object
    45     psMetadata* header,                ///< header items for the new HDU.  Can be NULL.
     45    const psMetadata* header,           ///< header items for the new HDU.  Can be NULL.
    4646    const psImage* input,              ///< the image to output
    4747    int depth,                         ///< the number of z-planes of the FITS image data cube
     
    5656bool psFitsInsertImage(
    5757    psFits* fits,                      ///< the psFits object
    58     psMetadata* header,                ///< header items for the new HDU.  Can be NULL.
     58    const psMetadata* header,           ///< header items for the new HDU.  Can be NULL.
    5959    const psImage* input,              ///< the image to output
    6060    int depth,                         ///< the number of z-planes of the FITS image data cube
  • trunk/psLib/src/fits/psFitsTable.h

    r7465 r7540  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2006-06-10 00:07:10 $
     9 *  @version $Revision: 1.5 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2006-06-13 22:28:02 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    8282bool psFitsWriteTable(
    8383    psFits* fits,                      ///< the psFits object
    84     psMetadata* header,          ///< header items for the new HDU.  Can be NULL.
     84    const psMetadata* header,          ///< header items for the new HDU.  Can be NULL.
    8585    const psArray* table, ///< Array of psMetadata items, which contains the output data items of each row.
    8686    const char *extname                 ///< Extension name
     
    9696bool psFitsInsertTable(
    9797    psFits* fits,                  ///< the psFits object
    98     psMetadata* header,      ///< header items for the new HDU.  Can be NULL.
     98    const psMetadata* header,      ///< header items for the new HDU.  Can be NULL.
    9999    const psArray* table, ///< Array of psMetadata items, which contains the output data items of each row.
    100100    const char *extname,                ///< Extension name
Note: See TracChangeset for help on using the changeset viewer.