|
casacore
|
#include <ArrayColumnBase.h>
Public Member Functions | |
| ColumnSlicer (const IPosition &shape, const Vector< Slicer * > &dataSlicers, const Vector< Slicer * > &destinationSlicers) | |
| Construct the object. | |
| ~ColumnSlicer () | |
| The destructor deletes all Slicer objects. | |
| const Vector< Slicer * > & | getDataSlicers () const |
| Get the data slicers. | |
| const Vector< Slicer * > & | getDestinationSlicers () const |
| Get the desintation slicers. | |
| const IPosition & | shape () const |
| Get the shape. | |
Private Member Functions | |
| void | freeSlicers () |
| Delete all Slicer objects. | |
| String | validateParameters () const |
| Check if the slicers match the array shape. | |
Private Attributes | |
| Vector< Slicer * > | dataSlicers_p |
| Vector< Slicer * > | destinationSlicers_p |
| IPosition | shape_p |
ColumnSlicer is used in one of the ArrayColumn::getColumnCells functions. That method takes a potentially complex/ selection 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 represented as a set of source,destination slicers where one is applied to the cell and the other to the destination array.
Definition at line 373 of file ArrayColumnBase.h.
| casacore::ColumnSlicer::~ColumnSlicer | ( | ) |
The destructor deletes all Slicer objects.
|
private |
Delete all Slicer objects.
Get the desintation slicers.
Definition at line 394 of file ArrayColumnBase.h.
References destinationSlicers_p.
|
inline |
Get the shape.
Definition at line 398 of file ArrayColumnBase.h.
References shape_p.
Referenced by ColumnSlicer().
|
private |
Check if the slicers match the array shape.
Definition at line 409 of file ArrayColumnBase.h.
Referenced by getDataSlicers().
Definition at line 410 of file ArrayColumnBase.h.
Referenced by getDestinationSlicers().
|
private |
Definition at line 411 of file ArrayColumnBase.h.
Referenced by shape().