IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 13, 2006, 4:35:39 PM (20 years ago)
Author:
Paul Price
Message:

Adding const where appropriate. Adding doxygen documentation to header files. Removing comments on functions defined in the header file, so that there's only a single source.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/psModules/src/concepts/pmConceptsWrite.h

    r9570 r9572  
    55#include "pmFPA.h"
    66
    7 bool p_pmConceptsWriteToCells(psMetadata *specs, // The concept specifications
    8                               pmCell *cell,   // The cell
    9                               psMetadata *concepts // The concepts
     7/// "Write" concepts to (actually, check against) the camera format file's CELLS.
     8///
     9/// Examines the CELLS metadata in the camera format file for the current type of cell, and checks that the
     10/// concepts as defined there match the ones defined in the cell.  A warning is produced if the concepts do
     11/// not match.
     12bool p_pmConceptsWriteToCells(const psMetadata *specs, ///< The concept specifications
     13                              const pmCell *cell, ///< The cell
     14                              const psMetadata *concepts ///< The concepts
    1015                             );
    11 bool p_pmConceptsWriteToDefaults(psMetadata *specs, // The concept specifications
    12                                  pmFPA *fpa, // The FPA
    13                                  pmChip *chip, // The chip
    14                                  pmCell *cell, // The cell
    15                                  psMetadata *concepts // The concepts
     16
     17/// "Write" concepts to (actually, check against) the camera format file's DEFAULTS.
     18///
     19/// Examines the DEFAULTS metadata in the camera format file, and checks that the concepts as defined there
     20/// match the ones defined in the cell.  A warning is produced if the concepts do not match.
     21bool p_pmConceptsWriteToDefaults(const psMetadata *specs, ///< The concept specifications
     22                                 const pmFPA *fpa, ///< The FPA
     23                                 const pmChip *chip, ///< The chip
     24                                 const pmCell *cell, ///< The cell
     25                                 const psMetadata *concepts ///< The concepts
    1626                                );
    17 bool p_pmConceptsWriteToHeader(psMetadata *specs, // The concept specifications
    18                                pmFPA *fpa, // The FPA
    19                                pmChip *chip, // The chip
    20                                pmCell *cell, // The cell
    21                                psMetadata *concepts // The concepts
     27
     28/// "Write" concepts to (actually, add to, pending a later write) the FITS header.
     29///
     30/// Examines the FITS header TRANSLATION metadata in the camera format file, and writes concepts to the
     31/// appropriate FITS headers in the HDU, in preparation for a future write of the HDU.
     32bool p_pmConceptsWriteToHeader(const psMetadata *specs, ///< The concept specifications
     33                               const pmFPA *fpa, ///< The FPA
     34                               const pmChip *chip, ///< The chip
     35                               const pmCell *cell, ///< The cell
     36                               const psMetadata *concepts ///< The concepts
    2237                              );
    23 bool p_pmConceptsWriteToDatabase(psMetadata *specs, // The concept specifications
    24                                  pmFPA *fpa, // The FPA
    25                                  pmChip *chip, // The chip
    26                                  pmCell *cell, // The cell
    27                                  psDB *db,// The database handle
    28                                  psMetadata *concepts // The concepts
     38
     39/// Write concepts to the database.
     40///
     41/// Examines the DATABASE metadata in the camera format file, and writes concepts to the database.
     42/// Warning: This function has not been tested; use at your own risk.
     43bool p_pmConceptsWriteToDatabase(const psMetadata *specs, ///< The concept specifications
     44                                 const pmFPA *fpa, ///< The FPA
     45                                 const pmChip *chip, ///< The chip
     46                                 const pmCell *cell, ///< The cell
     47                                 psDB *db,///< The database handle
     48                                 const psMetadata *concepts ///< The concepts
    2949                                );
    3050
Note: See TracChangeset for help on using the changeset viewer.