IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Apr 4, 2006, 9:52:55 AM (20 years ago)
Author:
desonia
Message:

modified API to match current SDRS.

File:
1 edited

Legend:

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

    r5511 r6767  
    77 *  @author Robert DeSonia, MHPCC
    88 *
    9  *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
    10  *  @date $Date: 2005-11-14 22:18:30 $
     9 *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
     10 *  @date $Date: 2006-04-04 19:52:42 $
    1111 *
    1212 *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
     
    7272);
    7373
    74 /** Writes a whole FITS table.  The current HDU type must be either
    75  *  PS_FITS_TYPE_BINARY_TABLE or PS_FITS_TYPE_ASCII_TABLE.
     74/** Writes a whole FITS table. A new HDU of the type BINTABLE is appended
     75 *  to the file.
    7676 *
    7777 *  @return bool        TRUE if the write was successful, otherwise FALSE
    7878 *
    79  *  @see psFitsReadTableRow
     79 *  @see psFitsReadTable
     80 *  @see psFitsInsertTable
    8081 */
    8182bool psFitsWriteTable(
     
    8485    const psArray* table
    8586    ///< Array of psMetadata items, which contains the output data items of each row.
     87);
     88
     89/** Inserts a whole FITS table. A new HDU of the type BINTABLE is inserted either
     90 *  before or after, depending on the AFTER parameter, the current HDU.
     91 *
     92 *  @return bool        TRUE if the insert/write was successful, otherwise FALSE
     93 *
     94 *  @see psFitsWriteTable
     95 */
     96bool psFitsInsertTable(
     97    psFits* fits,                  ///< the psFits object
     98    const psMetadata* header,      ///< header items for the new HDU.  Can be NULL.
     99    const psArray* table,
     100    ///< Array of psMetadata items, which contains the output data items of each row.
     101    bool after
     102    ///< TRUE if insert is done after CHDU, otherwise table is inserted before CHDU
    86103);
    87104
     
    94111 */
    95112bool psFitsUpdateTable(
    96     psFits* fits,                ///< the psFits object
     113    psFits* fits,                      ///< the psFits object
    97114    const psMetadata* data,
    98115    ///< Array of psMetadata items, which contains the output data items of each row.
Note: See TracChangeset for help on using the changeset viewer.