casa
$Rev:20696$
|
A Table intended to hold a MeasurementSet FREQ_OFFSET table. More...
#include <MSFreqOffset.h>
Public Member Functions | |
MSFreqOffset () | |
This constructs an empty MSFreqOffset. | |
~MSFreqOffset () | |
As with tables, the destructor writes the table if necessary. | |
MSFreqOffset & | operator= (const MSFreqOffset &) |
Assignment operator, reference semantics. | |
MSFreqOffset | referenceCopy (const String &newTableName, const Block< String > &writableColumns) const |
Make a special copy of this Table which references all columns from this Table except those mentioned; those are empty and writable. | |
MSFreqOffset (const String &tableName, TableOption=Table::Old) | |
These constructors mirror the Table ones with additional checking on validity (verifying that the MSFreqOffset will have the required columns and keywords) An exception is thrown if the constructed Table is not a valid MSFreqOffset. | |
MSFreqOffset (const String &tableName, const String &tableDescName, TableOption=Table::Old) | |
MSFreqOffset (SetupNewTable &newTab, uInt nrrow=0, Bool initialize=False) | |
MSFreqOffset (const Table &table) | |
MSFreqOffset (const MSFreqOffset &other) | |
Static Public Member Functions | |
static void | init () |
Initialize the statics appropriately. | |
Private Attributes | |
Bool | hasBeenDestroyed_p |
required by the need to throw an exception in the destructor |
A Table intended to hold a MeasurementSet FREQ_OFFSET table.
Public interface
MSFreqOffset stands for the MeasurementSet FREQ_OFFSET table.
An MSFreqOffset is a table intended to hold the FREQ_OFFSET table for the MeasurementSet. It has an identical set of member functions as the main MeasurementSet class, except (currently) for the default calibration members. For further info and examples see the MeasurementSet class.
See the MeasurementSet for an example of how to access and use this class.
It was found that subtables and the main table of the MeasurementSet have a lot in common, therefore they derive their interface from the same base class. Each subtable has its own class to keep the enum definitions and conversion functions in separate scopes.
Definition at line 78 of file MSFreqOffset.h.
This constructs an empty MSFreqOffset.
casa::MSFreqOffset::MSFreqOffset | ( | const String & | tableName, |
TableOption | = Table::Old |
||
) |
These constructors mirror the Table ones with additional checking on validity (verifying that the MSFreqOffset will have the required columns and keywords) An exception is thrown if the constructed Table is not a valid MSFreqOffset.
<h3>Thrown Exceptions</h3><ul> <li> AipsError </ul>
casa::MSFreqOffset::MSFreqOffset | ( | const String & | tableName, |
const String & | tableDescName, | ||
TableOption | = Table::Old |
||
) |
casa::MSFreqOffset::MSFreqOffset | ( | SetupNewTable & | newTab, |
uInt | nrrow = 0 , |
||
Bool | initialize = False |
||
) |
casa::MSFreqOffset::MSFreqOffset | ( | const Table & | table | ) |
casa::MSFreqOffset::MSFreqOffset | ( | const MSFreqOffset & | other | ) |
As with tables, the destructor writes the table if necessary.
Additional checking is done here to verify that all required columns are still present. If it is NOT valid, it will write the table and then throw an exception.
static void casa::MSFreqOffset::init | ( | ) | [static] |
Initialize the statics appropriately.
This does not need to be called by users, it is called by the implementation class MSTableImpl.
MSFreqOffset& casa::MSFreqOffset::operator= | ( | const MSFreqOffset & | ) |
Assignment operator, reference semantics.
MSFreqOffset casa::MSFreqOffset::referenceCopy | ( | const String & | newTableName, |
const Block< String > & | writableColumns | ||
) | const |
Make a special copy of this Table which references all columns from this Table except those mentioned; those are empty and writable.
Each forwarded column has the same writable status as the underlying column. The mentioned columns all use the AipsIO storage manager. This function is inherited from MSTable and unlikely to be of use, except in the class MeasurementSet (see comment there)..
Reimplemented from casa::MSTable< MSFreqOffsetEnums::PredefinedColumns, MSFreqOffsetEnums::PredefinedKeywords >.
Bool casa::MSFreqOffset::hasBeenDestroyed_p [private] |
required by the need to throw an exception in the destructor
Definition at line 133 of file MSFreqOffset.h.