Go to the documentation of this file.
29 #ifndef MS_MSTABLEIMPL_H
30 #define MS_MSTABLEIMPL_H
33 #include <casacore/casa/aips.h>
34 #include <casacore/ms/MeasurementSets/MeasurementSet.h>
35 #include <casacore/casa/Utilities/DataType.h>
36 #include <casacore/tables/Tables/Table.h>
37 #include <casacore/casa/BasicSL/String.h>
38 #include <casacore/tables/Tables/TableDesc.h>
39 #include <casacore/casa/Arrays/Vector.h>
126 std::map<Int,Int>& colDTypeMap,
127 std::map<Int,String>& colCommentMap,
128 std::map<Int,String>& colUnitMap,
129 std::map<Int,String>& colMeasureTypeMap,
135 const String& colMeasureType);
139 std::map<Int,Int>& keyDTypeMap,
140 std::map<Int,String>& keyCommentMap,
144 const String& keyComment);
Define the structure of a Casacore table.
A Vector of integers, for indexing into Array<T> objects.
static MSTableMaps initMaps(MSDataDescriptionEnums *)
static MSTableMaps initMaps(MSSourceEnums *)
static MSTableMaps initMaps(MSFlagCmdEnums *)
Enums for the MeasurementSet FLAG_CMD table.
Enums for the MeasurementSet SOURCE table.
A hierarchical collection of named fields of various types.
Enums for the MeasurementSet FREQ_OFFSET table.
static MSTableMaps initMaps(MSSysCalEnums *)
static void keyMapDef(std::map< Int, String > &keyMap, std::map< Int, Int > &keyDTypeMap, std::map< Int, String > &keyCommentMap, Int key, const String &keyName, Int keyType, const String &keyComment)
Define an entry in the keyword maps.
LatticeExprNode ndim(const LatticeExprNode &expr)
1-argument function to get the dimensionality of a lattice.
Enums for the MeasurementSet HISTORY table.
static MSTableMaps initMaps(MSFreqOffsetEnums *)
Enums for the MeasurementSet FEED table.
static MSTableMaps initMaps(MSHistoryEnums *)
Enums for the MeasurementSet SYSCAL table.
Enums for the MeasurementSet DATA_DESCRIPTION table.
Enums for the MeasurementSet STATE table.
static SetupNewTable & setupCompression(SetupNewTable &)
Setup the compression data managers if needed.
Main interface class to a read/write table.
static MSTableMaps initMaps(MSObservationEnums *)
static Bool validate(const TableRecord &tabRec, const TableDesc &requiredTD)
check that the keyword set is valid
static MSTableMaps initMaps(MSAntennaEnums *)
static MSTableMaps initMaps(MSStateEnums *)
Enums for the MeasurementSet SPECTRAL_WINDOW table.
static MSTableMaps initMaps(MSPolarizationEnums *)
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape.
A struct holding the maps used in MSTable.
static MSTableMaps initMaps(MSSpectralWindowEnums *)
static MSTableMaps initMaps(MSDopplerEnums *)
Enums for the MeasurementSet ANTENNA table.
Enums for the MeasurementSet PROCESSER table.
Create a new table - define shapes, data managers, etc.
static Bool validate(const TableDesc &tabDesc, const TableDesc &requiredTD)
tableDesc convenience functions
static void addColumnCompression(TableDesc &, const String &colName, Bool autoScale, const String &type)
Add the compress option for the given column to the TableDesc.
static MSTableMaps initMaps(MSFieldEnums *)
this file contains all the compiler specific defines
static MSTableMaps initMaps(MSMainEnums *)
Define the initialization function for each MS table type.
static void addMeasColumn(TableDesc &td, const String &colName, const String &colMeasure, const String &refCol)
add a MeasureColumn for the specified Measure, with default reference
Enums for the MeasurementSet FIELD table.
static MSTableMaps initMaps(MSWeatherEnums *)
static MSTableMaps initMaps(MSFeedEnums *)
static MSTableMaps initMaps(MSProcessorEnums *)
Enums for the MeasurementSet POINTING table.
static void colMapDef(std::map< Int, String > &colMap, std::map< Int, Int > &colDTypeMap, std::map< Int, String > &colCommentMap, std::map< Int, String > &colUnitMap, std::map< Int, String > &colMeasureTypeMap, Int col, const String &colName, Int colType, const String &colComment, const String &colUnit, const String &colMeasureType)
Define an entry in the column maps.
static void addKeyToDesc(TableDesc &td, const String &keyName, Int keyDType, const String &keyComment)
add a keyword to a TableDesc An exception is thrown for an invalid data type.
An implementation class for the MeasurementSet to share code.
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
Enums for the MeasurementSet DOPPLER table.
Enums for the MeasurementSet POLARIZATION table.
static MSTableMaps initMaps(MSPointingEnums *)
static void addColumnToDesc(TableDesc &td, const String &colName, Int colDType, const String &colComment, const String &colUnit, const String &colMeasure, Int ndim, const IPosition &shape, Int option, const String &refCol)
add a column to a TableDesc An exception is thrown for an invalid data type.
Enums for the MeasurementSet WEATHER table.
Enums for the MeasurementSet OBSERVATION table.
Enums for the MeasurementSet main table.
static Table referenceCopy(const Table &tab, const String &newTableName, const Block< String > &writableColumns)
Return a table that references all columns in this table except for those given in writableColumns,...