29 #ifndef MS_MSTABLEIMPL_H
30 #define MS_MSTABLEIMPL_H
125 static void colMapDef(std::map<Int,String>& colMap,
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);
138 static void keyMapDef(std::map<Int,String>& keyMap,
139 std::map<Int,Int>& keyDTypeMap,
140 std::map<Int,String>& keyCommentMap,
144 const String& keyComment);
A Vector of integers, for indexing into Array<T> objects.
Create a new table - define shapes, data managers, etc.
Enums for the MeasurementSet ANTENNA table.
Main interface class to a read/write 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...
Enums for the MeasurementSet STATE table.
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.
virtual casacore::String type() const
Implements RegionShape::type.
Enums for the MeasurementSet SPECTRAL_WINDOW table.
An implementation class for the MeasurementSet to share code.
Enums for the MeasurementSet DOPPLER table.
static SetupNewTable & setupCompression(SetupNewTable &)
Setup the compression data managers if needed.
Enums for the MeasurementSet FIELD table.
Enums for the MeasurementSet WEATHER table.
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 Bool validate(const TableDesc &tabDesc, const TableDesc &requiredTD)
tableDesc convenience functions
LatticeExprNode ndim(const LatticeExprNode &expr)
1-argument function to get the dimensionality of a lattice.
static MSTableMaps initMaps(MSMainEnums *)
Define the initialization function for each MS table type.
Enums for the MeasurementSet DATA_DESCRIPTION table.
Enums for the MeasurementSet FLAG_CMD table.
bool Bool
Define the standard types used by Casacore.
Enums for the MeasurementSet POINTING table.
static void addColumnCompression(TableDesc &, const String &colName, Bool autoScale, const String &type)
Add the compress option for the given column to the TableDesc.
Enums for the MeasurementSet SOURCE table.
Enums for the MeasurementSet FREQ_OFFSET table.
TableExprNode shape(const TableExprNode &array)
Function operating on any scalar or array resulting in a Double array containing the shape...
A hierarchical collection of named fields of various types.
A struct holding the maps used in MSTable.
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.
Enums for the MeasurementSet PROCESSER table.
Enums for the MeasurementSet FEED table.
Enums for the MeasurementSet HISTORY table.
String: the storage and methods of handling collections of characters.
Enums for the MeasurementSet SYSCAL table.
Define the structure of a Casacore table.
Enums for the MeasurementSet POLARIZATION table.
Enums for the MeasurementSet main table.
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 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 OBSERVATION table.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.