- PAGEDIMAGE
- a PagedImage is a PagedArray with coordinates and Masking (opt.)
- PAGEDARRAY
- a PagedArray (.../Lattices/PagedArray.h)
- MEASUREMENTSET
- MeasurementSet main Table
- ANTENNA
- MeasurementSet Antenna table
- ARRAY
- MeasurementSet Array table
- FEED
- MeasurementSet Feed characteristics table
- FIELD
- MeasurementSet Field table
- OBSERVATION
- MeasurementSet Observation information table
- OBSLOG
- MeasurementSet Oserving Log table
- SOURCE
- MeasurementSet Source table
- SPECTRALWINDOW
- MeasurementSet Spectral Window table
- SYSCAL
- MeasurementSet System Calibration table
- WEATHER
- MeasurementSet Weather table
- ME_CALIBRATION
- Measurement Equation Calibration table
- LOG
- AIPS++ Log table
- COMPONENTLIST
- A ComponentList table contains parameterised representations of the sky brightness.
The type and subtype information are stored at the beginning of the first two lines of the file as:
Type = TypeString SubType = SubTypeStringThese lines in the table.info file can be used by external programs (like the filebrowser) to determine the type of table being handled.
The third line in the file is blank. The line(s) thereafter contain the possible readme information (note that multiple readme lines are possible). They can be added using the function readmeAddLine.
Existing tables do not have a table.info file yet. The table system will handle them correctly and use a blank type, subtype and readme string. A table.info file will be created when the table is opened for update.
To be sure that different table types have unique names, it can be useful to use enum's and to define them in one common file. For AIPS++ tables this enum is defined in this file.
// Open a table for update. Table table("name", Table::Update); // Get its TableInfo object. TableInfo& info = table.tableInfo(); // Set type and subtype. info.setType ("IMAGE"); info.setSubType ("SubTypeString"); // Add a few readme lines. The second one adds 2 lines. info.readmeAddLine ("the first readme string"); info.readmeAddLine ("the second readme string\nthe third readme string"); // Display the type, etc.. cout << info.type() << " " << info.subType() << endl; cout << info.readme();
Create the object reading it from the given file name. If the file does not exist, type, subtype and readme are initialized to a blank string.
Create a TableInfo object of one of the predefined types. This is a centralised way of setting the Table type only.
Copy constructor (copy semantics).
Assignment (copy semantics).
Get the table (sub)type.
Get the readme.
Set the table (sub)type.
Convert the Type enumerator to a type and subType string
Clear the readme.
Add a line to the readme. It will itself add a newline character ('\n') to the end of the line.
Write the TableInfo object.