IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 24, 2005, 1:52:25 PM (21 years ago)
Author:
desonia
Message:

modifications to add const to psFits parameters of functions.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psLib/src/fits/psFits.h

    r3476 r3500  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.9 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-03-22 21:52:49 $
     9 *  @version $Revision: 1.10 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2005-03-24 23:52:25 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    6363 */
    6464bool psFitsMoveExtName(
    65     psFits* fits,                      ///< the psFits object to move
     65    const psFits* fits,                ///< the psFits object to move
    6666    const char* extname                ///< the extension name
    6767);
     
    7272 */
    7373bool psFitsMoveExtNum(
    74     psFits* fits,                      ///< the psFits object to move
     74    const psFits* fits,                ///< the psFits object to move
    7575    int extnum,                        ///< the extension number to move to (zero is primary HDU)
    7676    bool relative                      ///< if true, extnum is a relative number to the current position
     
    8383 */
    8484int psFitsGetExtNum(
    85     psFits* fits                       ///< the psFits object
     85    const psFits* fits                 ///< the psFits object
    8686);
    8787
     
    9292 */
    9393char* psFitsGetExtName(
    94     psFits* fits                       ///< the psFits object
     94    const psFits* fits                 ///< the psFits object
    9595);
    9696
     
    100100 */
    101101bool psFitsSetExtName(
    102     psFits* fits,                      ///< the psFits object
     102    const psFits* fits,                ///< the psFits object
    103103    const char* name                   ///< the extension name
    104104);
     
    110110 */
    111111int psFitsGetSize(
    112     psFits* fits                       ///< the psFits object
     112    const psFits* fits                 ///< the psFits object
    113113);
    114114
     
    119119 */
    120120psFitsType psFitsGetExtType(
    121     psFits* fits                       ///< the psFits object
     121    const psFits* fits                 ///< the psFits object
    122122);
    123123
     
    143143    ///< of the cooresponding HDUs.
    144144
    145     psFits* fits                       ///< the psFits object
     145    const psFits* fits                       ///< the psFits object
    146146);
    147147
     
    152152bool psFitsWriteHeader(
    153153    const psMetadata* header,          ///< the psMetadata data in which to write
    154     psFits* fits                       ///< the psFits object
     154    const psFits* fits                 ///< the psFits object
    155155);
    156156
     
    161161psImage* psFitsReadImage(
    162162    psImage* out,                      ///< a psImage to recycle.
    163     psFits* fits,                      ///< the psFits object
     163    const psFits* fits,                ///< the psFits object
    164164    psRegion region,                   ///< the region in the FITS image to read
    165165    int z                              ///< the z-plane in the FITS image cube to read
     
    171171 */
    172172bool psFitsWriteImage(
    173     psFits* fits,                      ///< the psFits object
     173    const psFits* fits,                ///< the psFits object
    174174    const psMetadata* header,          ///< header items for the new HDU.  Can be NULL.
    175175    const psImage* input,              ///< the image to output
     
    183183 */
    184184bool psFitsUpdateImage(
    185     psFits* fits,                      ///< the psFits object
     185    const psFits* fits,                ///< the psFits object
    186186    const psImage* input,              ///< the image to output
    187187    psRegion region,                   ///< the region in the FITS image to write
     
    195195 */
    196196psMetadata* psFitsReadTableRow(
    197     psFits* fits,                      ///< the psFits object
     197    const psFits* fits,                ///< the psFits object
    198198    int row                            ///< row number to read
    199199);
     
    206206 */
    207207psArray* psFitsReadTableColumn(
    208     psFits* fits,                      ///< the psFits object
     208    const psFits* fits,                ///< the psFits object
    209209    const char* colname                ///< the column name
    210210);
     
    217217 */
    218218psVector* psFitsReadTableColumnNum(
    219     psFits* fits,                      ///< the psFits object
     219    const psFits* fits,                ///< the psFits object
    220220    const char* colname                ///< the column name
    221221);
     
    231231 */
    232232psArray* psFitsReadTable(
    233     psFits* fits                       ///< the psFits object
     233    const psFits* fits                 ///< the psFits object
    234234);
    235235
     
    242242 */
    243243bool psFitsWriteTable(
    244     psFits* fits,                      ///< the psFits object
     244    const psFits* fits,                ///< the psFits object
    245245    psMetadata* header,                ///< header items for the new HDU.  Can be NULL.
    246246    psArray* table,
     
    258258 */
    259259bool psFitsUpdateTable(
    260     psFits* fits,                      ///< the psFits object
     260    const psFits* fits,                ///< the psFits object
    261261    psMetadata* data,
    262262    ///< Array of psMetadata items, which contains the output data items of each row.
Note: See TracChangeset for help on using the changeset viewer.