Go to the documentation of this file.
28 #ifndef TABLES_VIRTARRCOL_H
29 #define TABLES_VIRTARRCOL_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/tables/DataMan/DataManager.h>
38 template<
class T>
class Array;
314 const Slicer& slicer,
void* dataPtr);
320 const void* dataPtr);
336 #ifndef CASACORE_NO_AUTO_TEMPLATES
337 #include <casacore/tables/DataMan/VirtArrCol.tcc>
338 #endif //# CASACORE_NO_AUTO_TEMPLATES
virtual void putSlice(uInt rownr, const Slicer &slicer, const Array< T > &data)
Put into a section of the array in the given row.
Specify which elements to extract from an n-dimensional array.
virtual void getArray(uInt rownr, Array< T > &data)=0
Get the array value in the given row.
A Vector of integers, for indexing into Array<T> objects.
void putSliceV(uInt rownr, const Slicer &slicer, const void *dataPtr)
Implement the virtual functions defined in DataManagerColumn.
virtual void getArrayColumnCells(const RefRows &rownrs, Array< T > &data)
Get some array values in the column.
virtual int dataType() const
Return the data type of the column.
virtual void setShape(uInt rownr, const IPosition &shape)
Set the shape of an array in the given row.
void putColumnSliceV(const Slicer &slicer, const void *dataPtr)
Implement the virtual functions defined in DataManagerColumn.
Abstract base class for a column in a data manager.
virtual void putArrayColumn(const Array< T > &data)
Put an entire column.
virtual ~VirtualArrayColumn()
Frees up the storage.
virtual void setShapeColumn(const IPosition &shape)
Set the shape of all arrays in the column.
virtual Bool canAccessColumnSlice(Bool &reask) const
The class can handle a get/putColumnSlice.
virtual void putColumnSliceCellsV(const RefRows &rownrs, const Slicer &slicer, const void *dataPtr)
Implement the virtual functions defined in DataManagerColumn.
virtual void putColumnSlice(const Slicer &slicer, const Array< T > &data)
Put a section of all arrays in the column.
virtual Bool canAccessArrayColumn(Bool &reask) const
The class can handle a get/putArrayColumn.
virtual void putArrayColumnCells(const RefRows &rownrs, const Array< T > &data)
Put some array values in the column.
Class holding the row numbers in a RefTable.
VirtualArrayColumn()
Create a column.
virtual void getColumnSlice(const Slicer &slicer, Array< T > &data)
Get a section of all arrays in the column.
void putArrayColumnV(const void *dataPtr)
Implement the virtual functions defined in DataManagerColumn.
virtual void getColumnSliceCells(const RefRows &rownrs, const Slicer &slicer, Array< T > &data)
Get a section of some arrays in the column.
Templated base class for virtual array column.
virtual String dataTypeId() const
Return the data type Id of the column.
virtual void getSlice(uInt rownr, const Slicer &slicer, Array< T > &data)
Get a section of the array in the given row.
void getArrayColumnCellsV(const RefRows &rownrs, void *dataPtr)
Implement the virtual functions defined in DataManagerColumn.
virtual Bool isWritable() const
By default no data can be put in a virtual column.
virtual uInt ndim(uInt rownr)
Get the dimensionality of the item in the given row.
void getColumnSliceV(const Slicer &slicer, void *dataPtr)
Implement the virtual functions defined in DataManagerColumn.
virtual IPosition shape(uInt rownr)
Get the shape of the item in the given row.
virtual void putArray(uInt rownr, const Array< T > &data)
Put the array value into the given row.
virtual void getColumnSliceCellsV(const RefRows &rownrs, const Slicer &slicer, void *dataPtr)
Implement the virtual functions defined in DataManagerColumn.
this file contains all the compiler specific defines
void getArrayV(uInt rownr, void *dataPtr)
Implement the virtual functions defined in DataManagerColumn.
virtual void putColumnSliceCells(const RefRows &rownrs, const Slicer &slicer, const Array< T > &data)
Put into a section of some arrays in the column.
void getArrayColumnV(void *dataPtr)
Implement the virtual functions defined in DataManagerColumn.
template <class T, class U> class vector;
void getSliceV(uInt rownr, const Slicer &slicer, void *dataPtr)
Implement the virtual functions defined in DataManagerColumn.
String: the storage and methods of handling collections of characters.
bool Bool
Define the standard types used by Casacore.
void putArrayColumnCellsV(const RefRows &rownrs, const void *dataPtr)
Implement the virtual functions defined in DataManagerColumn.
VirtualArrayColumn< T > & operator=(const VirtualArrayColumn< T > &)
The object cannot be assigned to.
void putArrayV(uInt rownr, const void *dataPtr)
Implement the virtual functions defined in DataManagerColumn.
virtual Bool isShapeDefined(uInt rownr)
Is the value shape defined in the given row? By default it throws a "not possible" exception.
virtual void getArrayColumn(Array< T > &data)
Get an entire column.
virtual Bool canAccessSlice(Bool &reask) const
The class can handle a get/putSlice.