28 #ifndef TABLES_RETYPEDARRAYENGINE_H
29 #define TABLES_RETYPEDARRAYENGINE_H
461 const String& storedColumnName);
472 const String& storedColumnName,
599 #ifndef CASACORE_NO_AUTO_TEMPLATES
600 #include <casacore/tables/DataMan/RetypedArrayEngine.tcc>
601 #endif //# CASACORE_NO_AUTO_TEMPLATES
A Vector of integers, for indexing into Array<T> objects.
void setShapeColumn(const IPosition &shape)
Set the shape of the FixedShape arrays in the column.
virtual void mapOnPut(const Array< VirtualType > &array, Array< StoredType > &stored)
Copy the virtual array to the stored array.
TableExprNode array(const TableExprNode &values, const TableExprNodeSet &shape)
Create an array of the given shape and fill it with the values.
Templated virtual column engine for a table array of any type.
virtual String dataManagerName() const
Get the name given to the engine (is the virtual column name).
RetypedArrayEngine(const String &virtualColumnName, const String &storedColumnName)
Construct an engine to map a virtual column containing arrays with an arbitrary data type to arrays i...
void setShape(uInt rownr, const IPosition &shape)
Define the shape of the array in the given row.
void prepare()
Preparing consists of setting the writable switch and adding the initial number of rows in case of cr...
void create(uInt initialNrrow)
Initialize the object for a new table.
virtual Slicer getStoredSlicer(const Slicer &virtualSlicer) const
Convert the Slicer for a virtual to a Slicer for the stored.
uInt ndim(uInt rownr)
Get the dimensionality of the array in the given row.
Bool isVirtualFixedShape_p
virtual String dataManagerType() const
Return the type name of the engine (i.e.
Virtual column engine to retype and reshape arrays.
A hierarchical collection of named fields of various types.
static DataManager * makeObject(const String &dataManagerType, const Record &spec)
bool Bool
Define the standard types used by Casacore.
virtual void mapOnGet(Array< VirtualType > &array, const Array< StoredType > &stored)
Copy the stored array to the virtual array.
virtual IPosition getStoredShape(uInt rownr, const IPosition &virtualShape)
Map the virtual shape to the stored shape.
A hierarchical collection of named fields of various types.
template <class T, class U> class vector;
IPosition checkShape(const Array< VirtualType > &source, const Array< StoredType > &target)
Check if the shapes of virtual and stored match.
Specify which elements to extract from an n-dimensional array.
static void registerClass()
Register the class name and the static makeObject "constructor".
IPosition shape(uInt rownr)
Get the shape of the array in the given row.
Abstract base class for a data manager.
IPosition virtualFixedShape_p
virtual Record dataManagerSpec() const
Record a record containing data manager specifications.
String: the storage and methods of handling collections of characters.
static String className()
Return the name of the class.
~RetypedArrayEngine()
Destructor is mandatory.
DataManager * clone() const
Clone the engine object.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.