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);
Enums for the MeasurementSet ANTENNA table.
Enums for the MeasurementSet DATA_DESCRIPTION table.
Enums for the MeasurementSet DOPPLER table.
Enums for the MeasurementSet FEED table.
Enums for the MeasurementSet FIELD table.
Enums for the MeasurementSet FLAG_CMD table.
Enums for the MeasurementSet FREQ_OFFSET table.
Enums for the MeasurementSet HISTORY table.
Enums for the MeasurementSet main table.
Enums for the MeasurementSet OBSERVATION table.
Enums for the MeasurementSet POINTING table.
Enums for the MeasurementSet POLARIZATION table.
Enums for the MeasurementSet PROCESSER table.
Enums for the MeasurementSet SOURCE table.
Enums for the MeasurementSet SPECTRAL_WINDOW table.
Enums for the MeasurementSet STATE table.
Enums for the MeasurementSet SYSCAL table.
static MSTableMaps initMaps(MSSpectralWindowEnums *)
static void addColumnCompression(TableDesc &, const String &colName, Bool autoScale, const String &type)
Add the compress option for the given column to the TableDesc.
static Bool validate(const TableRecord &tabRec, const TableDesc &requiredTD)
check that the keyword set is valid
static MSTableMaps initMaps(MSWeatherEnums *)
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,...
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.
static MSTableMaps initMaps(MSDopplerEnums *)
static MSTableMaps initMaps(MSObservationEnums *)
static MSTableMaps initMaps(MSProcessorEnums *)
static MSTableMaps initMaps(MSFlagCmdEnums *)
static Bool validate(const TableDesc &tabDesc, const TableDesc &requiredTD)
tableDesc convenience functions
static MSTableMaps initMaps(MSFeedEnums *)
static MSTableMaps initMaps(MSFreqOffsetEnums *)
static MSTableMaps initMaps(MSSysCalEnums *)
static MSTableMaps initMaps(MSMainEnums *)
Define the initialization function for each MS table type.
static MSTableMaps initMaps(MSPolarizationEnums *)
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.
static SetupNewTable & setupCompression(SetupNewTable &)
Setup the compression data managers if needed.
static MSTableMaps initMaps(MSStateEnums *)
static MSTableMaps initMaps(MSHistoryEnums *)
static MSTableMaps initMaps(MSDataDescriptionEnums *)
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 MSTableMaps initMaps(MSAntennaEnums *)
static MSTableMaps initMaps(MSSourceEnums *)
static void addMeasColumn(TableDesc &td, const String &colName, const String &colMeasure, const String &refCol)
add a MeasureColumn for the specified Measure, with default reference
static MSTableMaps initMaps(MSFieldEnums *)
static MSTableMaps initMaps(MSPointingEnums *)
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.
Enums for the MeasurementSet WEATHER table.
Create a new table - define shapes, data managers, etc.
String: the storage and methods of handling collections of characters.
this file contains all the compiler specific defines
LatticeExprNode ndim(const LatticeExprNode &expr)
1-argument function to get the dimensionality of a lattice.
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape.
bool Bool
Define the standard types used by Casacore.