29 #ifndef MS_MSTABLEIMPL_H 30 #define MS_MSTABLEIMPL_H 33 #include <casacore/casa/aips.h> 34 #include <casacore/casa/Utilities/DataType.h> 35 #include <casacore/tables/Tables/Table.h> 36 #include <casacore/casa/Containers/SimOrdMap.h> 37 #include <casacore/casa/BasicSL/String.h> 38 #include <casacore/tables/Tables/TableDesc.h> 39 #include <casacore/casa/Utilities/Fallible.h> 40 #include <casacore/casa/Arrays/Vector.h> 139 const String& colMeasureType);
148 const String& keyComment);
A Vector of integers, for indexing into Array<T> objects.
Create a new table - define shapes, data managers, etc.
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...
static Int mapType(const SimpleOrderedMap< Int, String > &map, const String &name)
Convert a name to a ColEnum,.
An implementation class for the MeasurementSet to share code.
static SetupNewTable & setupCompression(SetupNewTable &)
Setup the compression data managers if needed.
Simple map with keys ordered.
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 void keyMapDef(SimpleOrderedMap< Int, String > &keyMap, SimpleOrderedMap< Int, Int > &keyDTypeMap, SimpleOrderedMap< Int, String > &keyCommentMap, Int key, const String &keyName, Int keyType, const String &keyComment)
Define an entry in the keyword maps.
bool Bool
Define the standard types used by Casacore.
static void addColumnCompression(TableDesc &, const String &colName, Bool autoScale, const String &type)
Add the compress option for the given column to the TableDesc.
static void colMapDef(SimpleOrderedMap< Int, String > &colMap, SimpleOrderedMap< Int, Int > &colDTypeMap, SimpleOrderedMap< Int, String > &colCommentMap, SimpleOrderedMap< Int, String > &colUnitMap, SimpleOrderedMap< 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.
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.
String: the storage and methods of handling collections of characters.
Define the structure of a Casacore table.
static void init()
Initialize all MeasurementSet static mappings.
this file contains all the compiler specific defines
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.