Changeset 15743 for trunk/Ohana/src/libdvo/doc/dvo-catalogs.txt
- Timestamp:
- Dec 5, 2007, 3:29:29 PM (19 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/libdvo/doc/dvo-catalogs.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/libdvo/doc/dvo-catalogs.txt
r8328 r15743 2 2 // APIs related to the DVO catalogs: 3 3 4 // XXX change name5 // XXX add SORTED test to load6 // XXX add Nsecfilt test? or add an API?7 4 load_catalog (Catalog *catalog, int VERBOSE); 8 // returns9 // 0: failure to lock catalog10 // 1: success: file is locked and opened11 // 2: success: file is locked but empty12 5 13 6 dvo_catalog_lock (Catalog *catalog, int lockmode); … … 20 13 // layout: RAW, MEF, SPLIT 21 14 // mode: READ, WRITE 15 16 // returns 17 // DVO_CAT_OPEN_FAIL: failure to lock catalog 18 // DVO_CAT_OPEN_OK: success: file is locked and opened 19 // DVO_CAT_OPEN_EMPTY: success: file is locked but empty 20 21 the catalog is opened and the data for each of the elements (average, 22 measure, etc) is loaded if requested. Whether or not the data is 23 loaded, the values of catalog.Naves_disk,Naves_off,Naverage are set 24 to match the segment of data loaded. this API always loads either 25 the entire data set, or none. If none, the offset value is set to 26 point at the end of the table. 22 27 23 28 dvo_catalog_save (Catalog *catalog, int VERBOSE); … … 43 48 - open and read an existing catalog / error if missing (can be ignored) 44 49 50 dvo_catalog_open (Catalog *catalog, int mode); 45 51 46 dvo_catalog_open (Catalog *catalog, int mode); 52 dvo_catalog_load_segment_average (Catalog *catalog, int start, int Nrows) 53 54 this function reads in the requested number of rows from the catalog 55 for the Average and SecFilt tables only. It is possible within the 56 DVO framework to examine the average values in slices. 57 58 dvo_catalog_load_segment_measure (Catalog *catalog, int start, int Nrows) 59 60 this function reads in the requested number of rows from the catalog 61 for the Measure table only. It is not guaranteed to be possible to 62 examine the measure values in slices if reference is needed to their 63 average values. 64 65 dvo_catalog_load_segment_missing (Catalog *catalog, int start, int Nrows) 66 67 this function reads in the requested number of rows from the catalog 68 for the Missing table only. It is not guaranteed to be possible to 69 examine the missing values in slices if reference is needed to their 70 average values.
Note:
See TracChangeset
for help on using the changeset viewer.
