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.
IPosition shape(rownr_t rownr)
Get the shape of the array in the given row.
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 prepare()
Preparing consists of setting the writable switch and adding the initial number of rows in case of cr...
virtual Slicer getStoredSlicer(const Slicer &virtualSlicer) const
Convert the Slicer for a virtual to a Slicer for the stored.
Bool isVirtualFixedShape_p
virtual String dataManagerType() const
Return the type name of the engine (i.e.
Virtual column engine to retype and reshape arrays.
virtual IPosition getStoredShape(rownr_t rownr, const IPosition &virtualShape)
Map the virtual shape to the stored shape.
void setShape(rownr_t rownr, const IPosition &shape)
Define the shape of the array in the given row.
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.
A hierarchical collection of named fields of various types.
A templated N-D Array class with zero origin. Array<T, Alloc> is a templated, N-dimensional, Array class. The origin is zero, but by default indices are zero-based. This Array class is the base class for the Vector, Matrix, and Cube subclasses.
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".
void create64(rownr_t initialNrrow)
Initialize the object for a new table.
uInt64 rownr_t
Define the type of a row number in a table.
Abstract base class for a data manager.
IPosition virtualFixedShape_p
virtual Record dataManagerSpec() const
Record a record containing data manager specifications.
uInt ndim(rownr_t rownr)
Get the dimensionality of the array in the given row.
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.