casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
casa::vi::DataCubeHolder Class Reference

#include <UtilsTVI.h>

Inheritance diagram for casa::vi::DataCubeHolder:
casa::vi::DataCubeHolderBase

Public Member Functions

 DataCubeHolder (casacore::Cube< T > &dataCube)
 
 DataCubeHolder (const casacore::Cube< T > &dataCube)
 
 DataCubeHolder (casacore::Matrix< T > &dataMatrix)
 
 DataCubeHolder (const casacore::Matrix< T > &dataMatrix)
 
 DataCubeHolder (casacore::Vector< T > &dataVector)
 
 DataCubeHolder (const casacore::Vector< T > &dataVector)
 
virtual ~DataCubeHolder ()
 Destructor must delete the iterator gmoellen (2017Mar06) More...
 
casacore::Matrix< T > & getMatrix ()
 
casacore::Vector< T > & getVector ()
 
void setMatrixIndex (casacore::uInt matrixIndex)
 
void setVectorIndex (casacore::uInt vectorIndex)
 
DataCubeHolderBaseselfReference ()
 
virtual void setupVecIter ()
 Methods controlling internal iteration gmoellen (2017Mar06) More...
 
virtual void reset ()
 NB: the reference calls below can be avoided if vector_p is a _c++_ reference initialzed in the DCH ctor to reference veciter_p's internal Vector. More...
 
virtual void next ()
 
virtual casacore::Bool pastEnd ()
 
- Public Member Functions inherited from casa::vi::DataCubeHolderBase
 DataCubeHolderBase ()
 
virtual ~DataCubeHolderBase ()
 
casacore::uInt getMatrixIndex ()
 
casacore::uInt getVectorIndex ()
 
casacore::IPositiongetCubeShape ()
 
casacore::IPositiongetMatrixShape ()
 
casacore::IPositiongetVectorShape ()
 

Protected Attributes

casacore::Cube< T > cube_p
 
casacore::Matrix< T > matrix_p
 
casacore::Vector< T > vector_p
 
casacore::VectorIterator< T > * veciter_p
 Iterator for cube_p gmoellen (2017Mar06) More...
 
- Protected Attributes inherited from casa::vi::DataCubeHolderBase
casacore::uInt matrixIndex_p
 
casacore::uInt vectorIndex_p
 
casacore::IPosition cubeShape_p
 
casacore::IPosition matrixShape_p
 
casacore::IPosition vectorShape_p
 

Detailed Description

Definition at line 85 of file UtilsTVI.h.

Constructor & Destructor Documentation

casa::vi::DataCubeHolder::DataCubeHolder ( casacore::Cube< T > &  dataCube)
inline

Definition at line 93 of file UtilsTVI.h.

References cube_p, and casa::vi::DataCubeHolderBase::cubeShape_p.

casa::vi::DataCubeHolder::DataCubeHolder ( const casacore::Cube< T > &  dataCube)
inline

Definition at line 100 of file UtilsTVI.h.

References cube_p, and casa::vi::DataCubeHolderBase::cubeShape_p.

casa::vi::DataCubeHolder::DataCubeHolder ( casacore::Matrix< T > &  dataMatrix)
inline

Definition at line 107 of file UtilsTVI.h.

References matrix_p, and casa::vi::DataCubeHolderBase::matrixShape_p.

casa::vi::DataCubeHolder::DataCubeHolder ( const casacore::Matrix< T > &  dataMatrix)
inline

Definition at line 114 of file UtilsTVI.h.

References matrix_p, and casa::vi::DataCubeHolderBase::matrixShape_p.

casa::vi::DataCubeHolder::DataCubeHolder ( casacore::Vector< T > &  dataVector)
inline

Definition at line 121 of file UtilsTVI.h.

References vector_p, and casa::vi::DataCubeHolderBase::vectorShape_p.

casa::vi::DataCubeHolder::DataCubeHolder ( const casacore::Vector< T > &  dataVector)
inline

Definition at line 128 of file UtilsTVI.h.

References vector_p, and casa::vi::DataCubeHolderBase::vectorShape_p.

virtual casa::vi::DataCubeHolder::~DataCubeHolder ( )
inlinevirtual

Destructor must delete the iterator gmoellen (2017Mar06)

Definition at line 137 of file UtilsTVI.h.

References veciter_p.

Member Function Documentation

casacore::Matrix<T>& casa::vi::DataCubeHolder::getMatrix ( )
inline

Definition at line 143 of file UtilsTVI.h.

References matrix_p.

casacore::Vector<T>& casa::vi::DataCubeHolder::getVector ( )
inline
virtual void casa::vi::DataCubeHolder::next ( void  )
inlinevirtual

Implements casa::vi::DataCubeHolderBase.

Definition at line 187 of file UtilsTVI.h.

References veciter_p, and vector_p.

virtual casacore::Bool casa::vi::DataCubeHolder::pastEnd ( )
inlinevirtual

Implements casa::vi::DataCubeHolderBase.

Definition at line 188 of file UtilsTVI.h.

References veciter_p.

virtual void casa::vi::DataCubeHolder::reset ( void  )
inlinevirtual

NB: the reference calls below can be avoided if vector_p is a _c++_ reference initialzed in the DCH ctor to reference veciter_p's internal Vector.

Implements casa::vi::DataCubeHolderBase.

Definition at line 186 of file UtilsTVI.h.

References veciter_p, and vector_p.

DataCubeHolderBase* casa::vi::DataCubeHolder::selfReference ( )
inlinevirtual

Implements casa::vi::DataCubeHolderBase.

Definition at line 166 of file UtilsTVI.h.

References cube_p.

void casa::vi::DataCubeHolder::setMatrixIndex ( casacore::uInt  matrixIndex)
inlinevirtual
virtual void casa::vi::DataCubeHolder::setupVecIter ( )
inlinevirtual

Methods controlling internal iteration gmoellen (2017Mar06)

Construct the iterator, selecting the channel axis cursor

refer vector_p to the iterator's vector; this will stay sync'd

NB: matrix_p refers to nothing (forever, in this context)

Implements casa::vi::DataCubeHolderBase.

Definition at line 175 of file UtilsTVI.h.

References cube_p, veciter_p, vector_p, and casa::vi::DataCubeHolderBase::vectorShape_p.

void casa::vi::DataCubeHolder::setVectorIndex ( casacore::uInt  vectorIndex)
inlinevirtual

Member Data Documentation

casacore::Cube<T> casa::vi::DataCubeHolder::cube_p
protected
casacore::Matrix<T> casa::vi::DataCubeHolder::matrix_p
protected
casacore::VectorIterator<T>* casa::vi::DataCubeHolder::veciter_p
protected

Iterator for cube_p gmoellen (2017Mar06)

Definition at line 198 of file UtilsTVI.h.

Referenced by next(), pastEnd(), reset(), setupVecIter(), and ~DataCubeHolder().

casacore::Vector<T> casa::vi::DataCubeHolder::vector_p
protected

The documentation for this class was generated from the following file: