casa
$Rev:20696$
|
Templated virtual column engine for a table array of any type. More...
#include <BaseMappedArrayEngine.h>
Public Member Functions | |
const String & | virtualName () const |
Get the virtual column name. | |
const String & | storedName () const |
Get the stored column name. | |
virtual Bool | isWritable () const |
The column is writable if the underlying stored column is writable. | |
Protected Member Functions | |
BaseMappedArrayEngine (const String &virtualColumnName, const String &storedColumnName) | |
Construct an engine to convert the virtual column to the stored column. | |
~BaseMappedArrayEngine () | |
Destructor is mandatory. | |
BaseMappedArrayEngine () | |
The default constructor is required for reconstruction of the engine when a table is read back. | |
BaseMappedArrayEngine (const BaseMappedArrayEngine< VirtualType, StoredType > &) | |
Copy constructor is only used by copy constructor of derived classes. | |
void | setWritable (Bool isWritable) |
Set if the column is writable or not. | |
void | setNames (const String &virtualName, const String &storedName) |
Set the virtual and stored column name. | |
ArrayColumn< StoredType > & | roColumn () |
Give readonly access to the stored column. | |
ArrayColumn< StoredType > & | rwColumn () |
Give read/write access to the stored column. | |
virtual DataManagerColumn * | makeIndArrColumn (const String &columnName, int dataType, const String &dataTypeId) |
Create the column object for the array column in this engine. | |
virtual void | create (uInt initialNrrow) |
Initialize the object for a new table. | |
virtual void | prepare () |
Preparing consists of setting the writable switch and adding the initial number of rows in case of create. | |
void | prepare1 () |
Do the 2 stages of the prepare (define columns and adding rows). | |
void | prepare2 () |
virtual void | addRow (uInt nrrow) |
Rows are added to the end of the table. | |
virtual void | addRowInit (uInt startRow, uInt nrrow) |
virtual void | setShapeColumn (const IPosition &shape) |
Set the shape of the FixedShape arrays in the column. | |
virtual void | setShape (uInt rownr, const IPosition &shape) |
Define the shape of the array in the given row. | |
virtual Bool | isShapeDefined (uInt rownr) |
Test if the (underlying) array is defined in the given row. | |
virtual uInt | ndim (uInt rownr) |
Get the dimensionality of the (underlying) array in the given row. | |
virtual IPosition | shape (uInt rownr) |
Get the shape of the (underlying) array in the given row. | |
virtual Bool | canChangeShape () const |
The data manager can handle changing the shape of an existing array when the underlying stored column can do it. | |
TableColumn | makeTableColumn (const String &columnName) |
Make a table column object for the given column. | |
virtual void | getArray (uInt rownr, Array< VirtualType > &array) |
Get an array in the given row. | |
virtual void | putArray (uInt rownr, const Array< VirtualType > &array) |
Put an array in the given row. | |
virtual void | getSlice (uInt rownr, const Slicer &slicer, Array< VirtualType > &array) |
Get a section of the array in the given row. | |
virtual void | putSlice (uInt rownr, const Slicer &slicer, const Array< VirtualType > &array) |
Put into a section of the array in the given row. | |
virtual void | getArrayColumn (Array< VirtualType > &array) |
Get an entire column. | |
virtual void | putArrayColumn (const Array< VirtualType > &array) |
Put an entire column. | |
virtual void | getArrayColumnCells (const RefRows &rownrs, Array< VirtualType > &data) |
Get some array values in the column. | |
virtual void | putArrayColumnCells (const RefRows &rownrs, const Array< VirtualType > &data) |
Put some array values in the column. | |
void | getColumnSlice (const Slicer &slicer, Array< VirtualType > &array) |
Get a section of all arrays in the column. | |
void | putColumnSlice (const Slicer &slicer, const Array< VirtualType > &array) |
Put a section of all arrays in the column. | |
virtual void | getColumnSliceCells (const RefRows &rownrs, const Slicer &slicer, Array< VirtualType > &data) |
Get a section of some arrays in the column. | |
virtual void | putColumnSliceCells (const RefRows &rownrs, const Slicer &slicer, const Array< VirtualType > &data) |
Put into a section of some arrays in the column. | |
virtual IPosition | getStoredShape (uInt rownr, const IPosition &virtualShape) |
Map the virtual shape to the stored shape. | |
virtual Slicer | getStoredSlicer (const Slicer &virtualSlicer) const |
Map the slicerfor a virtual shape to a stored shape. | |
virtual void | mapOnGet (Array< VirtualType > &array, const Array< StoredType > &stored) |
Map StoredType array to VirtualType array. | |
virtual void | mapOnPut (const Array< VirtualType > &array, Array< StoredType > &stored) |
Map Bool array to bit flags array. | |
Private Member Functions | |
BaseMappedArrayEngine < VirtualType, StoredType > & | operator= (const BaseMappedArrayEngine< VirtualType, StoredType > &) |
Assignment is not needed and therefore forbidden (so it is made private and not implemented). | |
Private Attributes | |
String | virtualName_p |
String | storedName_p |
Bool | isWritable_p |
Bool | tempWritable_p |
uInt | initialNrrow_p |
Bool | arrayIsFixed_p |
IPosition | shapeFixed_p |
ArrayColumn< StoredType > * | column_p |
Templated virtual column engine for a table array of any type.
Public interface
BaseMappedArrayEngine contains for the 1-1 mapping of a virtual column to a stored column (both containing arrays).
BaseMappedArrayEngine is an abstract base class for virtual column engines which map data from the arrays in the virtual column to the arrays in the stored column. Note the the stored column does not need to be stored; it can be another virtual column, but usually it will be a stored column. Examples of classes using this base class are ScaledArrayEngine and RetypedArrayEngine .
The virtual column has to be bound to the virtual column engine used for it. The stored column will usually be bound to a storage manager, but any other suitable data manager is possible. E.g. it is possible to use MappedArrayEngine<StokesVector,float>
to map a StokesVector to a float column, which in its turn uses ScaledArrayEngine<float,Int>
to store it as integers. Note that the names of the virtual and stored column have to be different, otherwise the table system cannot distinguish them.
This base class does several tasks for the derived classes. The main one is to keep and handle the information about the virtual and stored column. The name of the stored column is written as a keyword in the virtual column. In this way the stored column is known when a table is read back. It also creates (RO)ArrayColumn<T>
objects to access the stored column. The function roColumn gives read access, while rwColumn gives write access.
An engine object should be used for one column only, because the stored column name is part of the engine. If it would be used for more than one column, they would all share the same stored column. When the engine is bound to a column, it is checked if the name of that column matches the given virtual column name.
The engine can be used for a column containing any kind of array (thus direct or indirect, fixed or variable shaped)) as long as the virtual array can be stored in the stored array. Thus a fixed shaped virtual can use a variable shaped stored, but not vice versa. A fixed shape indirect virtual can use a stored with direct arrays.
The DataManager framework contains various virtual functions. This class implements several, but not all of them. Furthermore some implementations may not be optimal or correct for derived classes. Hereafter follows a list of functions which may need implementation in derived classes. The classes mentioned in the examples below show implementations of these functions.
~... (the destructor)
DataManager* clone() const;
String dataManagerType() const;
static void registerClass();
static DataManager* makeObject (const String& dataManagerType);
void getArray (uInt rownr, Array<T>& data);
void putArray (uInt rownr, const Array<T>& data);
(only if the virtual column is writable). void getSlice (uInt rownr, const Slicer& slicer, Array<T>& data);
void putSlice (uInt rownr, const Slicer& slicer, const Array<T>& data);
void getArrayColumn (Array<T>& data);
void putArrayColumn (const Array<T>& data);
void getColumnSlice (const Slicer& slicer, Array<T>& data);
void putColumnSlice (const Slicer& slicer, const Array<T>& data);
String dataManagerName() const;
Bool canAddRow() const;
Bool canRemoveRow() const;
void addRow (uInt nrrow);
void removeRow (uInt rownr);
DataManagerColumn* makeDirArrColumn (const String& columnName, int dataType, const String& dataTypeId);
DataManagerColumn* makeIndArrColumn (const String& columnName, int dataType, const String& dataTypeId);
Bool isWritable() const;
Bool isShapeDefined (uInt rownr);
The derived classes ScaledArrayEngine and RetypedArrayEngine are two examples of how to derive a class from this base class. Note that ScaledArrayEngine does not need to implement functions dealing with shapes, because it can use them from this base class. On the other hand they need to be implemented in RetypedArrayEngine.
This base class implements several functions making the implementation of derived classes simpler. Many details are implemented here, so often only the basic mapping functions (get, put) need to be implemented in a derived class.
static String dataTypeId(); // unique name of the class
Definition at line 264 of file BaseMappedArrayEngine.h.
casa::BaseMappedArrayEngine< VirtualType, StoredType >::BaseMappedArrayEngine | ( | const String & | virtualColumnName, |
const String & | storedColumnName | ||
) | [protected] |
Construct an engine to convert the virtual column to the stored column.
StoredColumnName is the name of the column where the converted data will be put and must have data type StoredType. The virtual column using this engine must have data type VirtualType. By default the virtual column is assumed to be writable. Use setWritable to unset it.
casa::BaseMappedArrayEngine< VirtualType, StoredType >::~BaseMappedArrayEngine | ( | ) | [protected] |
Destructor is mandatory.
casa::BaseMappedArrayEngine< VirtualType, StoredType >::BaseMappedArrayEngine | ( | ) | [protected] |
The default constructor is required for reconstruction of the engine when a table is read back.
casa::BaseMappedArrayEngine< VirtualType, StoredType >::BaseMappedArrayEngine | ( | const BaseMappedArrayEngine< VirtualType, StoredType > & | ) | [protected] |
Copy constructor is only used by copy constructor of derived classes.
(so it is made protected).
virtual void casa::BaseMappedArrayEngine< VirtualType, StoredType >::addRow | ( | uInt | nrrow | ) | [protected, virtual] |
Rows are added to the end of the table.
If the virtual column has FixedShape arrays and the stored not, the shape in each stored row will be set. This assures that the arrays are properly defined in each row, so putSlice can be used without problems.
The second version is used by prepare2, because in case a column is added to an already existing table, table.nrow() gives the existing number of columns instead of 0.
Reimplemented from casa::VirtualColumnEngine.
virtual void casa::BaseMappedArrayEngine< VirtualType, StoredType >::addRowInit | ( | uInt | startRow, |
uInt | nrrow | ||
) | [protected, virtual] |
Reimplemented in casa::CompressComplex, and casa::CompressFloat.
virtual Bool casa::BaseMappedArrayEngine< VirtualType, StoredType >::canChangeShape | ( | ) | const [protected, virtual] |
The data manager can handle changing the shape of an existing array when the underlying stored column can do it.
Reimplemented from casa::DataManagerColumn.
virtual void casa::BaseMappedArrayEngine< VirtualType, StoredType >::create | ( | uInt | initialNrrow | ) | [protected, virtual] |
Initialize the object for a new table.
It defines a virtual column keyword telling the stored column name. Initially the table has the given number of rows. A derived class can have its own create function, but that should always call this create function.
Reimplemented from casa::VirtualColumnEngine.
Reimplemented in casa::RetypedArrayEngine< VirtualType, StoredType >, casa::CompressComplexSD, casa::BitFlagsEngine< StoredType >, casa::ScaledComplexData< VirtualType, StoredType >, casa::ScaledArrayEngine< VirtualType, StoredType >, casa::CompressComplex, and casa::CompressFloat.
virtual void casa::BaseMappedArrayEngine< VirtualType, StoredType >::getArray | ( | uInt | rownr, |
Array< VirtualType > & | array | ||
) | [protected, virtual] |
Get an array in the given row.
This will scale and offset from the underlying array.
Implements casa::VirtualArrayColumn< VirtualType >.
Reimplemented in casa::BitFlagsEngine< StoredType >, casa::ScaledComplexData< VirtualType, StoredType >, casa::ScaledArrayEngine< VirtualType, StoredType >, casa::CompressComplex, and casa::CompressFloat.
virtual void casa::BaseMappedArrayEngine< VirtualType, StoredType >::getArrayColumn | ( | Array< VirtualType > & | array | ) | [protected, virtual] |
Get an entire column.
This will scale and offset from the underlying array.
Reimplemented from casa::VirtualArrayColumn< VirtualType >.
Reimplemented in casa::BitFlagsEngine< StoredType >, casa::ScaledComplexData< VirtualType, StoredType >, casa::ScaledArrayEngine< VirtualType, StoredType >, casa::CompressComplex, and casa::CompressFloat.
virtual void casa::BaseMappedArrayEngine< VirtualType, StoredType >::getArrayColumnCells | ( | const RefRows & | rownrs, |
Array< VirtualType > & | data | ||
) | [protected, virtual] |
Get some array values in the column.
This will scale and offset from the underlying array.
Reimplemented from casa::VirtualArrayColumn< VirtualType >.
Reimplemented in casa::BitFlagsEngine< StoredType >, and casa::ScaledComplexData< VirtualType, StoredType >.
void casa::BaseMappedArrayEngine< VirtualType, StoredType >::getColumnSlice | ( | const Slicer & | slicer, |
Array< VirtualType > & | array | ||
) | [protected, virtual] |
Get a section of all arrays in the column.
This will scale and offset from the underlying array.
Reimplemented from casa::VirtualArrayColumn< VirtualType >.
Reimplemented in casa::ScaledComplexData< VirtualType, StoredType >, casa::BitFlagsEngine< StoredType >, casa::ScaledArrayEngine< VirtualType, StoredType >, casa::CompressComplex, and casa::CompressFloat.
virtual void casa::BaseMappedArrayEngine< VirtualType, StoredType >::getColumnSliceCells | ( | const RefRows & | rownrs, |
const Slicer & | slicer, | ||
Array< VirtualType > & | data | ||
) | [protected, virtual] |
Get a section of some arrays in the column.
This will scale and offset from the underlying array.
Reimplemented from casa::VirtualArrayColumn< VirtualType >.
Reimplemented in casa::ScaledComplexData< VirtualType, StoredType >, and casa::BitFlagsEngine< StoredType >.
virtual void casa::BaseMappedArrayEngine< VirtualType, StoredType >::getSlice | ( | uInt | rownr, |
const Slicer & | slicer, | ||
Array< VirtualType > & | array | ||
) | [protected, virtual] |
Get a section of the array in the given row.
This will scale and offset from the underlying array.
Reimplemented from casa::VirtualArrayColumn< VirtualType >.
Reimplemented in casa::BitFlagsEngine< StoredType >, casa::ScaledComplexData< VirtualType, StoredType >, casa::ScaledArrayEngine< VirtualType, StoredType >, casa::CompressComplex, and casa::CompressFloat.
virtual IPosition casa::BaseMappedArrayEngine< VirtualType, StoredType >::getStoredShape | ( | uInt | rownr, |
const IPosition & | virtualShape | ||
) | [protected, virtual] |
Map the virtual shape to the stored shape.
By default is returns the virtual shape.
Reimplemented in casa::RetypedArrayEngine< VirtualType, StoredType >.
virtual Slicer casa::BaseMappedArrayEngine< VirtualType, StoredType >::getStoredSlicer | ( | const Slicer & | virtualSlicer | ) | const [protected, virtual] |
Map the slicerfor a virtual shape to a stored shape.
By default it returns the virtualinput slicer.
Reimplemented in casa::RetypedArrayEngine< VirtualType, StoredType >.
virtual Bool casa::BaseMappedArrayEngine< VirtualType, StoredType >::isShapeDefined | ( | uInt | rownr | ) | [protected, virtual] |
Test if the (underlying) array is defined in the given row.
Reimplemented from casa::VirtualArrayColumn< VirtualType >.
virtual Bool casa::BaseMappedArrayEngine< VirtualType, StoredType >::isWritable | ( | ) | const [virtual] |
The column is writable if the underlying stored column is writable.
Reimplemented from casa::VirtualArrayColumn< VirtualType >.
virtual DataManagerColumn* casa::BaseMappedArrayEngine< VirtualType, StoredType >::makeIndArrColumn | ( | const String & | columnName, |
int | dataType, | ||
const String & | dataTypeId | ||
) | [protected, virtual] |
Create the column object for the array column in this engine.
It will check if the given column name matches the virtual column name. This assures that the engine is bound to the correct column.
Reimplemented from casa::VirtualColumnEngine.
TableColumn casa::BaseMappedArrayEngine< VirtualType, StoredType >::makeTableColumn | ( | const String & | columnName | ) | [protected] |
Make a table column object for the given column.
This has to be used in the create function, otherwise it could not create a TableColumn object to store data in the column keywords.
virtual void casa::BaseMappedArrayEngine< VirtualType, StoredType >::mapOnGet | ( | Array< VirtualType > & | array, |
const Array< StoredType > & | stored | ||
) | [protected, virtual] |
Map StoredType array to VirtualType array.
This is meant when reading an array from the stored column. The default implementation throws an exception.
Reimplemented in casa::RetypedArrayEngine< VirtualType, StoredType >, casa::BitFlagsEngine< StoredType >, and casa::MappedArrayEngine< VirtualType, StoredType >.
virtual void casa::BaseMappedArrayEngine< VirtualType, StoredType >::mapOnPut | ( | const Array< VirtualType > & | array, |
Array< StoredType > & | stored | ||
) | [protected, virtual] |
Map Bool array to bit flags array.
This is meant when writing an array into the stored column. The default implementation throws an exception.
Reimplemented in casa::RetypedArrayEngine< VirtualType, StoredType >, casa::BitFlagsEngine< StoredType >, and casa::MappedArrayEngine< VirtualType, StoredType >.
virtual uInt casa::BaseMappedArrayEngine< VirtualType, StoredType >::ndim | ( | uInt | rownr | ) | [protected, virtual] |
Get the dimensionality of the (underlying) array in the given row.
This implementation assumes the dimensionality of virtual and stored arrays are the same. If not, it has to be overidden in a derived class.
Reimplemented from casa::VirtualArrayColumn< VirtualType >.
Reimplemented in casa::RetypedArrayEngine< VirtualType, StoredType >, and casa::ScaledComplexData< VirtualType, StoredType >.
BaseMappedArrayEngine<VirtualType, StoredType>& casa::BaseMappedArrayEngine< VirtualType, StoredType >::operator= | ( | const BaseMappedArrayEngine< VirtualType, StoredType > & | ) | [private] |
Assignment is not needed and therefore forbidden (so it is made private and not implemented).
virtual void casa::BaseMappedArrayEngine< VirtualType, StoredType >::prepare | ( | ) | [protected, virtual] |
Preparing consists of setting the writable switch and adding the initial number of rows in case of create.
It reads the stored column name from the virtual column keywords. A derived class can have its own prepare function, but that should always call this prepare function.
Reimplemented from casa::VirtualColumnEngine.
Reimplemented in casa::RetypedArrayEngine< VirtualType, StoredType >, casa::BitFlagsEngine< StoredType >, casa::ScaledComplexData< VirtualType, StoredType >, casa::ScaledArrayEngine< VirtualType, StoredType >, casa::CompressComplex, and casa::CompressFloat.
void casa::BaseMappedArrayEngine< VirtualType, StoredType >::prepare1 | ( | ) | [protected] |
Do the 2 stages of the prepare (define columns and adding rows).
void casa::BaseMappedArrayEngine< VirtualType, StoredType >::prepare2 | ( | ) | [protected] |
virtual void casa::BaseMappedArrayEngine< VirtualType, StoredType >::putArray | ( | uInt | rownr, |
const Array< VirtualType > & | array | ||
) | [protected, virtual] |
Put an array in the given row.
This will scale and offset to the underlying array.
Reimplemented from casa::VirtualArrayColumn< VirtualType >.
Reimplemented in casa::BitFlagsEngine< StoredType >, casa::ScaledComplexData< VirtualType, StoredType >, casa::ScaledArrayEngine< VirtualType, StoredType >, casa::CompressComplex, and casa::CompressFloat.
virtual void casa::BaseMappedArrayEngine< VirtualType, StoredType >::putArrayColumn | ( | const Array< VirtualType > & | array | ) | [protected, virtual] |
Put an entire column.
This will scale and offset to the underlying array.
Reimplemented from casa::VirtualArrayColumn< VirtualType >.
Reimplemented in casa::BitFlagsEngine< StoredType >, casa::ScaledComplexData< VirtualType, StoredType >, casa::ScaledArrayEngine< VirtualType, StoredType >, casa::CompressComplex, and casa::CompressFloat.
virtual void casa::BaseMappedArrayEngine< VirtualType, StoredType >::putArrayColumnCells | ( | const RefRows & | rownrs, |
const Array< VirtualType > & | data | ||
) | [protected, virtual] |
Put some array values in the column.
This will scale and offset to the underlying array.
Reimplemented from casa::VirtualArrayColumn< VirtualType >.
Reimplemented in casa::BitFlagsEngine< StoredType >, and casa::ScaledComplexData< VirtualType, StoredType >.
void casa::BaseMappedArrayEngine< VirtualType, StoredType >::putColumnSlice | ( | const Slicer & | slicer, |
const Array< VirtualType > & | array | ||
) | [protected, virtual] |
Put a section of all arrays in the column.
This will scale and offset to the underlying array.
Reimplemented from casa::VirtualArrayColumn< VirtualType >.
Reimplemented in casa::ScaledComplexData< VirtualType, StoredType >, casa::BitFlagsEngine< StoredType >, casa::ScaledArrayEngine< VirtualType, StoredType >, casa::CompressComplex, and casa::CompressFloat.
virtual void casa::BaseMappedArrayEngine< VirtualType, StoredType >::putColumnSliceCells | ( | const RefRows & | rownrs, |
const Slicer & | slicer, | ||
const Array< VirtualType > & | data | ||
) | [protected, virtual] |
Put into a section of some arrays in the column.
This will scale and offset to the underlying array.
Reimplemented from casa::VirtualArrayColumn< VirtualType >.
Reimplemented in casa::ScaledComplexData< VirtualType, StoredType >, and casa::BitFlagsEngine< StoredType >.
virtual void casa::BaseMappedArrayEngine< VirtualType, StoredType >::putSlice | ( | uInt | rownr, |
const Slicer & | slicer, | ||
const Array< VirtualType > & | array | ||
) | [protected, virtual] |
Put into a section of the array in the given row.
This will scale and offset to the underlying array.
Reimplemented from casa::VirtualArrayColumn< VirtualType >.
Reimplemented in casa::BitFlagsEngine< StoredType >, casa::ScaledComplexData< VirtualType, StoredType >, casa::ScaledArrayEngine< VirtualType, StoredType >, casa::CompressComplex, and casa::CompressFloat.
ArrayColumn< StoredType > & casa::BaseMappedArrayEngine< VirtualType, StoredType >::roColumn | ( | ) | [inline, protected] |
Give readonly access to the stored column.
This can be used by the derived classes to get data.
Definition at line 517 of file BaseMappedArrayEngine.h.
ArrayColumn< StoredType > & casa::BaseMappedArrayEngine< VirtualType, StoredType >::rwColumn | ( | ) | [inline, protected] |
Give read/write access to the stored column.
This can be used by the derived classes to put data.
Definition at line 522 of file BaseMappedArrayEngine.h.
void casa::BaseMappedArrayEngine< VirtualType, StoredType >::setNames | ( | const String & | virtualName, |
const String & | storedName | ||
) | [inline, protected] |
Set the virtual and stored column name.
Definition at line 504 of file BaseMappedArrayEngine.h.
virtual void casa::BaseMappedArrayEngine< VirtualType, StoredType >::setShape | ( | uInt | rownr, |
const IPosition & | shape | ||
) | [protected, virtual] |
Define the shape of the array in the given row.
It will define the shape of the (underlying) array. This implementation assumes the shape of virtual and stored arrays are the same. If not, it has to be overidden in a derived class.
Reimplemented from casa::VirtualArrayColumn< VirtualType >.
Reimplemented in casa::RetypedArrayEngine< VirtualType, StoredType >, and casa::ScaledComplexData< VirtualType, StoredType >.
virtual void casa::BaseMappedArrayEngine< VirtualType, StoredType >::setShapeColumn | ( | const IPosition & | shape | ) | [protected, virtual] |
Set the shape of the FixedShape arrays in the column.
This function only gets called if the column has FixedShape arrays. The shape gets saved and used to set the shape of the arrays in the stored in case the stored has non-FixedShape arrays. This implementation assumes the shape of virtual and stored arrays are the same. If not, it has to be overidden in a derived class.
Reimplemented from casa::VirtualArrayColumn< VirtualType >.
Reimplemented in casa::RetypedArrayEngine< VirtualType, StoredType >, and casa::ScaledComplexData< VirtualType, StoredType >.
void casa::BaseMappedArrayEngine< VirtualType, StoredType >::setWritable | ( | Bool | isWritable | ) | [inline, protected] |
Set if the column is writable or not.
Definition at line 512 of file BaseMappedArrayEngine.h.
virtual IPosition casa::BaseMappedArrayEngine< VirtualType, StoredType >::shape | ( | uInt | rownr | ) | [protected, virtual] |
Get the shape of the (underlying) array in the given row.
This implementation assumes the shape of virtual and stored arrays are the same. If not, it has to be overidden in a derived class.
Reimplemented from casa::VirtualArrayColumn< VirtualType >.
Reimplemented in casa::RetypedArrayEngine< VirtualType, StoredType >, and casa::ScaledComplexData< VirtualType, StoredType >.
const String & casa::BaseMappedArrayEngine< VirtualType, StoredType >::storedName | ( | ) | const [inline] |
Get the stored column name.
Definition at line 498 of file BaseMappedArrayEngine.h.
const String & casa::BaseMappedArrayEngine< VirtualType, StoredType >::virtualName | ( | ) | const [inline] |
Get the virtual column name.
Definition at line 493 of file BaseMappedArrayEngine.h.
Bool casa::BaseMappedArrayEngine< VirtualType, StoredType >::arrayIsFixed_p [private] |
Definition at line 484 of file BaseMappedArrayEngine.h.
ArrayColumn<StoredType>* casa::BaseMappedArrayEngine< VirtualType, StoredType >::column_p [private] |
Definition at line 486 of file BaseMappedArrayEngine.h.
uInt casa::BaseMappedArrayEngine< VirtualType, StoredType >::initialNrrow_p [private] |
Definition at line 483 of file BaseMappedArrayEngine.h.
Bool casa::BaseMappedArrayEngine< VirtualType, StoredType >::isWritable_p [private] |
Definition at line 479 of file BaseMappedArrayEngine.h.
IPosition casa::BaseMappedArrayEngine< VirtualType, StoredType >::shapeFixed_p [private] |
Definition at line 485 of file BaseMappedArrayEngine.h.
String casa::BaseMappedArrayEngine< VirtualType, StoredType >::storedName_p [private] |
Definition at line 478 of file BaseMappedArrayEngine.h.
Bool casa::BaseMappedArrayEngine< VirtualType, StoredType >::tempWritable_p [private] |
Definition at line 480 of file BaseMappedArrayEngine.h.
String casa::BaseMappedArrayEngine< VirtualType, StoredType >::virtualName_p [private] |
Definition at line 477 of file BaseMappedArrayEngine.h.