Changeset 5228 for trunk/Ohana/src/libohana/include/dvo.h
- Timestamp:
- Oct 6, 2005, 6:08:40 AM (21 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/libohana/include/dvo.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libohana/include/dvo.h
r5014 r5228 118 118 119 119 /* a catalog contains this data */ 120 typedef struct { 121 /* description of the catalog file: */ 122 char *filename; 123 int lockmode; 124 FILE *f; 125 126 /* extra table data if needed (move these to enums?) */ 127 # if (0) 128 char catmode[10]; /* storage mode: raw, mef, split, mysql */ 129 char average_format[80]; /* table format: internal, loneos, elixir, panstarrs */ 130 char measure_format[80]; /* table format: must match average_format */ 131 char secfilt_format[80]; /* table format: must match average_format */ 132 # endif 133 134 int catmode; 135 int catformat; 136 137 /* data in the catalog */ 120 typedef struct Catalog { 121 char *filename; /* catalog file */ 122 FILE *f; /* file descriptor */ 138 123 Header header; 124 125 /* data in the catalog file */ 139 126 Average *average; 140 127 Measure *measure; … … 143 130 int Naverage, Nmeasure, Nmissing, Nsecfilt; 144 131 132 /* pointers to split data files */ 133 struct Catalog *measure_catalog; /* measure catalog data (split) */ 134 struct Catalog *missing_catalog; /* missing catalog data (split) */ 135 struct Catalog *secfilt_catalog; /* secfilt catalog data (split) */ 136 137 /* extra catalog information */ 138 int lockmode; 139 int catmode; /* storage mode (raw, mef, split, mysql) */ 140 int catformat; /* storage format (elixir, panstarrs, etc) */ 141 int ordered; /* is measure table average-ordered? */ 142 145 143 /* pointers for data manipulation */ 146 144 int *found; … … 149 147 float *X; 150 148 float *Y; 149 151 150 } Catalog; 152 151 … … 290 289 int load_catalog_mef (Catalog *catalog, char mode, int VERBOSE); 291 290 int save_catalog_mef (Catalog *catalog, char VERBOSE); 291 int load_catalog_split (Catalog *catalog, char mode, int VERBOSE); 292 int save_catalog_split (Catalog *catalog, char VERBOSE); 292 293 293 294 /*** DVO image db I/O Functions ***/
Note:
See TracChangeset
for help on using the changeset viewer.
