Changeset 12285 for trunk/psModules/src/concepts/pmConcepts.h
- Timestamp:
- Mar 6, 2007, 2:10:36 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/psModules/src/concepts/pmConcepts.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psModules/src/concepts/pmConcepts.h
r11749 r12285 4 4 * @author Paul Price, IfA 5 5 * 6 * @version $Revision: 1.1 2$ $Name: not supported by cvs2svn $7 * @date $Date: 2007-0 2-12 22:22:15$6 * @version $Revision: 1.13 $ $Name: not supported by cvs2svn $ 7 * @date $Date: 2007-03-07 00:10:36 $ 8 8 * Copyright 2005-2006 Institute for Astronomy, University of Hawaii 9 9 */ … … 62 62 pmConceptParseFunc parse; ///< Function to call to read the concept 63 63 pmConceptFormatFunc format; ///< Function to call to write the concept 64 bool required; ///< Is concept required (throw an error on problems)? 64 65 } 65 66 pmConceptSpec; … … 68 69 pmConceptSpec *pmConceptSpecAlloc(psMetadataItem *blank, ///< Blank value; contains the name 69 70 pmConceptParseFunc parse, ///< Function to call to parse the concept 70 pmConceptFormatFunc format ///< Function to call to format the concept 71 pmConceptFormatFunc format, ///< Function to call to format the concept 72 bool required ///< Is concept required? 71 73 ); 74 75 /// Get whether a particular concept is required 76 bool pmConceptGetRequired(const char *name, ///< Name of concept 77 pmFPALevel level ///< Level at which concept resides 78 ); 79 80 /// Set whether a particular concept is required 81 bool pmConceptSetRequired(const char *name, ///< Name of concept 82 pmFPALevel level, ///< Level at which concept resides 83 bool required ///< Whether concept is required or not 84 ); 72 85 73 86 /// Register a new concept for parsing and formatting … … 80 93 pmConceptParseFunc parse, ///< Function to call to parse the concept, or NULL 81 94 pmConceptFormatFunc format, ///< Function to call to format the concept, or NULL 95 bool required, ///< Is concept required? 82 96 pmFPALevel level ///< Level at which to store concept in the FPA hierarchy 83 97 );
Note:
See TracChangeset
for help on using the changeset viewer.
