casacore
|
#include <ArrayColumn.h>
Public Member Functions | |
ColumnSlicer (const IPosition &shape, Vector< Slicer *> dataSlicers, Vector< Slicer *> destinationSlicers) | |
Create a ColumnSlicer for use in one of the overloads of ArrayColumn::getColumnCells. More... | |
~ColumnSlicer () | |
Kill off the Slicer objects. More... | |
const Vector< Slicer * > & | getDataSlicers () const |
Accessor that returns the dataSlicers. More... | |
const Vector< Slicer * > & | getDestinationSlicers () const |
Accessor that returns the desintation slicers. More... | |
const IPosition & | shape () const |
Accessor that returns the shape. More... | |
Private Member Functions | |
void | freeSlicers () |
String | validateParameters () |
Private Attributes | |
Vector< Slicer * > | dataSlicers_p |
Vector< Slicer * > | destinationSlicers_p |
IPosition | shape_p |
Definition at line 499 of file ArrayColumn.h.
|
inline |
Create a ColumnSlicer for use in one of the overloads of ArrayColumn::getColumnCells.
That method takes a potentially complex select of data out of a column cell (e.g., multiple slices along each axis) and then puts them into a selection of a destination array. This is most easily represnted as a set of source,destination slicers where one is applied to the cell and the other to the destination array.
The shape paramter is the shape of the destination excluding the row axis.
The Slicer objects provided (by pointer) will be owned by the ColumnSlicer object which will delete them in its destructor.
Definition at line 517 of file ArrayColumn.h.
References casacore::String::empty().
|
inline |
Kill off the Slicer objects.
Definition at line 533 of file ArrayColumn.h.
|
inlineprivate |
The two Vectors contain pointers to objects so they need to be freed. They should have the same length normally, but during validation it's possible that they have different lengths.
Definition at line 561 of file ArrayColumn.h.
Accessor that returns the dataSlicers.
Definition at line 540 of file ArrayColumn.h.
Accessor that returns the desintation slicers.
Definition at line 547 of file ArrayColumn.h.
|
inline |
Accessor that returns the shape.
Definition at line 554 of file ArrayColumn.h.
|
inlineprivate |
Validate the contruction parameters to see if they are consistent.
Definition at line 576 of file ArrayColumn.h.
References casacore::String::format(), casacore::length(), casacore::LatticeExprNode::length, and casacore::toString().
Definition at line 603 of file ArrayColumn.h.
Definition at line 604 of file ArrayColumn.h.
|
private |
Definition at line 605 of file ArrayColumn.h.