Changeset 23428 for trunk/psModules/src/concepts/pmConceptsWrite.h
- Timestamp:
- Mar 19, 2009, 11:45:11 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/concepts/pmConceptsWrite.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/concepts/pmConceptsWrite.h
r22699 r23428 20 20 /// @{ 21 21 22 /// "Write" concept sto (actually, check against) the camera format file's CELLS.22 /// "Write" concept to (actually, check against) the camera format file's CELLS. 23 23 /// 24 24 /// Examines the CELLS metadata in the camera format file for the current type of cell, and checks that the 25 /// concept s as defined there match the ones defined in the cell. A warning is produced if the concepts do25 /// concept as defined there match the ones defined in the cell. A warning is produced if the concept does 26 26 /// not match. 27 bool p_pmConceptsWriteToCells(const psMetadata *specs, ///< The concept specifications 27 bool p_pmConceptWriteToCells(const pmCell *cell, ///< The cell 28 const pmConceptSpec *spec, ///< Concept specification 29 const psMetadataItem *conceptItem, ///< Concept to write 30 const psMetadata *format ///< Camera format, or NULL 31 ); 32 33 /// "Write" concept to (actually, check against) the camera format file's DEFAULTS. 34 /// 35 /// Examines the DEFAULTS metadata in the camera format file, and checks that the concept as defined there 36 /// match the one defined in the cell. A warning is produced if the concept does not match. 37 bool p_pmConceptWriteToDefaults(const pmFPA *fpa, ///< The FPA 38 const pmChip *chip, ///< The chip 39 const pmCell *cell, ///< The cell 40 const pmConceptSpec *spec, ///< Concept specification 41 const psMetadataItem *conceptItem, ///< Concept to write 42 const psMetadata *format, ///< Camera format, or NULL 43 const psMetadata *defaults ///< DEFAULTS configuration, or NULL 44 ); 45 46 /// "Write" concept to (actually, add to, pending a later write) the FITS header. 47 /// 48 /// Examines the FITS header TRANSLATION metadata in the camera format file, and writes concept to the 49 /// appropriate FITS header(s) in the HDU, in preparation for a future write of the HDU. 50 bool p_pmConceptWriteToHeader(const pmFPA *fpa, ///< The FPA 51 const pmChip *chip, ///< The chip 28 52 const pmCell *cell, ///< The cell 29 const psMetadata *concepts ///< The concepts 30 ); 53 const pmConceptSpec *spec, ///< Concept specification 54 const psMetadataItem *conceptItem, ///< Concept to write 55 const psMetadata *format, ///< Camera format, or NULL 56 const psMetadata *translation ///< TRANSLATION configuration, or NULL 57 ); 31 58 32 /// "Write" concepts to (actually, check against) the camera format file's DEFAULTS.59 /// Write concept to the database. 33 60 /// 34 /// Examines the DEFAULTS metadata in the camera format file, and checks that the concepts as defined there 35 /// match the ones defined in the cell. A warning is produced if the concepts do not match. 36 bool p_pmConceptsWriteToDefaults(const psMetadata *specs, ///< The concept specifications 37 const pmFPA *fpa, ///< The FPA 38 const pmChip *chip, ///< The chip 39 const pmCell *cell, ///< The cell 40 const psMetadata *concepts ///< The concepts 61 /// Examines the DATABASE metadata in the camera format file, and writes (actually, check against) 62 /// concept to the database. 63 bool p_pmConceptWriteToDatabase(const pmFPA *fpa, ///< The FPA 64 const pmChip *chip, ///< The chip 65 const pmCell *cell, ///< The cell 66 pmConfig *config, ///< Configuration 67 const pmConceptSpec *spec, ///< Concept specification 68 const psMetadataItem *conceptItem, ///< Concept to write 69 const psMetadata *format, ///< Camera format, or NULL 70 const psMetadata *database ///< DATABASE configuration, or NULL 41 71 ); 42 72 43 /// "Write" concepts to (actually, add to, pending a later write) the FITS header.44 ///45 /// Examines the FITS header TRANSLATION metadata in the camera format file, and writes concepts to the46 /// appropriate FITS headers in the HDU, in preparation for a future write of the HDU.47 bool p_pmConceptsWriteToHeader(const psMetadata *specs, ///< The concept specifications48 const pmFPA *fpa, ///< The FPA49 const pmChip *chip, ///< The chip50 const pmCell *cell, ///< The cell51 const psMetadata *concepts ///< The concepts52 );53 73 54 /// Write concepts to the database. 55 /// 56 /// Examines the DATABASE metadata in the camera format file, and writes concepts to the database. 57 /// Warning: This function has not been tested; use at your own risk. 58 bool p_pmConceptsWriteToDatabase(const psMetadata *specs, ///< The concept specifications 59 const pmFPA *fpa, ///< The FPA 60 const pmChip *chip, ///< The chip 61 const pmCell *cell, ///< The cell 62 pmConfig *config,///< Configuration 63 const psMetadata *concepts ///< The concepts 64 ); 74 bool pmConceptWriteSingle(const pmFPA *fpa, ///< The FPA 75 const pmChip *chip, ///< The chip 76 const pmCell *cell, ///< The cell 77 pmConfig *config, ///< Configuration 78 const psMetadataItem *concept ///< Concept to write 79 ); 65 80 66 81 … … 70 85 /// written for all lower levels by iterating over the components. 71 86 bool pmConceptsWriteFPA(const pmFPA *fpa, ///< FPA for which to write concepts 72 pmConceptSource source, ///< Source for concepts73 87 bool propagateDown, ///< Propagate to lower levels? 74 88 pmConfig *config ///< Configuration … … 80 94 /// written for the FPA, and the cell level by iterating over the components. 81 95 bool pmConceptsWriteChip(const pmChip *chip, ///< Chip for which to write concepts 82 pmConceptSource source, ///< Source for concepts83 96 bool propagateUp,///< Propagate to higher levels? 84 97 bool propagateDown, ///< Propagate to lower levels? … … 92 105 /// only the parent of this cell). 93 106 bool pmConceptsWriteCell(const pmCell *cell, ///< FPA for which to write concepts 94 pmConceptSource source, ///< Source for concepts95 107 bool propagateUp, ///< Propagate to higher levels? 96 108 pmConfig *config ///< Configuration
Note:
See TracChangeset
for help on using the changeset viewer.
