Changeset 37807 for trunk/Ohana/src/libautocode/doc/autocode.txt
- Timestamp:
- Jan 11, 2015, 2:14:39 PM (12 years ago)
- Location:
- trunk/Ohana
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
src/libautocode/doc/autocode.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana
- Property svn:mergeinfo changed
-
trunk/Ohana/src/libautocode/doc/autocode.txt
r21508 r37807 35 35 36 36 - the element name 37 - the element FITS field (in FITS table) 37 38 - the element data type 38 39 - the element description 39 40 - the element physical unit 41 42 SUBFIELD / SUBSTRUCT keywords allows the user to define elements of a 43 structure which are themselves structures. These fields are used as 44 follow: 45 46 Binary / ASCII FITS tables write out the SUBFIELD entries as if they 47 were regular table rows (substructure distinction not visible in FITS 48 table). SUBSTRUCT rows are NOT added to the FITS table. 49 50 In a C-structure, the SUBFIELD rows are skipped and only the SUBSTRUCT 51 row is saved. The definition of the substructure is assumed to be 52 defined elsewhere in the C code. 40 53 41 54 Template File … … 43 56 The template file is a source code in whatever language is desired. 44 57 Within the template, the defined keywords may be used as desired, 45 wherever needed. In addition, there are special directives which 46 invoke additional special behavior. All special directives have the 47 form of comments within their target language. They are replaced with 48 a block of code in that target language, normally one which iterates 49 over the FIELD elements of the schema file. As such, the directive 50 appropriate for one language should not be used within code for a 51 different language. Here is a list of existing special directives: 58 wherever needed. 59 60 In addition, there are special directives which invoke additional 61 special behavior. All special directives have the form of comments 62 within their target language. They are replaced with a block of code 63 in that target language, normally one which iterates over the FIELD 64 elements of the schema file. As such, the directive appropriate for 65 one language should not be used within code for a different language. 66 Here is a list of existing special directives: 52 67 53 68 /** STRUCT DEFINITION **/
Note:
See TracChangeset
for help on using the changeset viewer.
