casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
casa::CubeView< T > Class Template Reference

We need to have the CubeView definition here because its type is used by FlagDataHandler class. More...

#include <FlagDataHandler.h>

Public Member Functions

 CubeView (casacore::Cube< T > *parentCube, std::vector< casacore::uInt > *rows=NULL, std::vector< casacore::uInt > *channels=NULL, std::vector< casacore::uInt > *polarizations=NULL)
 
T & operator() (casacore::uInt i1, casacore::uInt i2, casacore::uInt i3)
 
const casacore::IPositionshape () const
 
void shape (casacore::Int &s1, casacore::Int &s2, casacore::Int &s3) const
 

Protected Member Functions

std::vector< casacore::uInt > * createIndex (casacore::uInt size)
 
T & accessUnmapped (casacore::uInt i1, casacore::uInt i2, casacore::uInt i3)
 
T & accessMapped (casacore::uInt i1, casacore::uInt i2, casacore::uInt i3)
 
T & accessIndex1Mapped (casacore::uInt i1, casacore::uInt i2, casacore::uInt i3)
 
T & accessIndex2Mapped (casacore::uInt i1, casacore::uInt i2, casacore::uInt i3)
 
T & accessIndex3Mapped (casacore::uInt i1, casacore::uInt i2, casacore::uInt i3)
 
T & accessIndex12Mapped (casacore::uInt i1, casacore::uInt i2, casacore::uInt i3)
 
T & accessIndex13Mapped (casacore::uInt i1, casacore::uInt i2, casacore::uInt i3)
 
T & accessIndex23Mapped (casacore::uInt i1, casacore::uInt i2, casacore::uInt i3)
 

Private Attributes

casacore::Cube< T > * parentCube_p
 
std::vector< casacore::uInt > * rows_p
 
std::vector< casacore::uInt > * channels_p
 
std::vector< casacore::uInt > * polarizations_p
 
casacore::IPosition reducedLength_p
 
T &(casa::CubeView< T >::* access_p )(casacore::uInt, casacore::uInt, casacore::uInt)
 

Detailed Description

template<class T>
class casa::CubeView< T >

We need to have the CubeView definition here because its type is used by FlagDataHandler class.

Definition at line 67 of file FlagDataHandler.h.

Constructor & Destructor Documentation

template<class T>
casa::CubeView< T >::CubeView ( casacore::Cube< T > *  parentCube,
std::vector< casacore::uInt > *  rows = NULL,
std::vector< casacore::uInt > *  channels = NULL,
std::vector< casacore::uInt > *  polarizations = NULL 
)
inline

Definition at line 72 of file FlagDataHandler.h.

Member Function Documentation

template<class T>
T& casa::CubeView< T >::accessIndex12Mapped ( casacore::uInt  i1,
casacore::uInt  i2,
casacore::uInt  i3 
)
inlineprotected

Definition at line 212 of file FlagDataHandler.h.

Referenced by casa::CubeView< casacore::Bool >::CubeView().

template<class T>
T& casa::CubeView< T >::accessIndex13Mapped ( casacore::uInt  i1,
casacore::uInt  i2,
casacore::uInt  i3 
)
inlineprotected

Definition at line 219 of file FlagDataHandler.h.

Referenced by casa::CubeView< casacore::Bool >::CubeView().

template<class T>
T& casa::CubeView< T >::accessIndex1Mapped ( casacore::uInt  i1,
casacore::uInt  i2,
casacore::uInt  i3 
)
inlineprotected

Definition at line 194 of file FlagDataHandler.h.

Referenced by casa::CubeView< casacore::Bool >::CubeView().

template<class T>
T& casa::CubeView< T >::accessIndex23Mapped ( casacore::uInt  i1,
casacore::uInt  i2,
casacore::uInt  i3 
)
inlineprotected

Definition at line 226 of file FlagDataHandler.h.

Referenced by casa::CubeView< casacore::Bool >::CubeView().

template<class T>
T& casa::CubeView< T >::accessIndex2Mapped ( casacore::uInt  i1,
casacore::uInt  i2,
casacore::uInt  i3 
)
inlineprotected

Definition at line 200 of file FlagDataHandler.h.

Referenced by casa::CubeView< casacore::Bool >::CubeView().

template<class T>
T& casa::CubeView< T >::accessIndex3Mapped ( casacore::uInt  i1,
casacore::uInt  i2,
casacore::uInt  i3 
)
inlineprotected

Definition at line 206 of file FlagDataHandler.h.

Referenced by casa::CubeView< casacore::Bool >::CubeView().

template<class T>
T& casa::CubeView< T >::accessMapped ( casacore::uInt  i1,
casacore::uInt  i2,
casacore::uInt  i3 
)
inlineprotected

Definition at line 186 of file FlagDataHandler.h.

Referenced by casa::CubeView< casacore::Bool >::CubeView().

template<class T>
T& casa::CubeView< T >::accessUnmapped ( casacore::uInt  i1,
casacore::uInt  i2,
casacore::uInt  i3 
)
inlineprotected

Definition at line 181 of file FlagDataHandler.h.

Referenced by casa::CubeView< casacore::Bool >::CubeView().

template<class T>
std::vector<casacore::uInt>* casa::CubeView< T >::createIndex ( casacore::uInt  size)
inlineprotected

Definition at line 170 of file FlagDataHandler.h.

template<class T>
T& casa::CubeView< T >::operator() ( casacore::uInt  i1,
casacore::uInt  i2,
casacore::uInt  i3 
)
inline

Definition at line 150 of file FlagDataHandler.h.

template<class T>
const casacore::IPosition& casa::CubeView< T >::shape ( ) const
inline

Definition at line 155 of file FlagDataHandler.h.

template<class T>
void casa::CubeView< T >::shape ( casacore::Int s1,
casacore::Int s2,
casacore::Int s3 
) const
inline

Definition at line 160 of file FlagDataHandler.h.

Member Data Documentation

template<class T>
T&(casa::CubeView<T>::* casa::CubeView< T >::access_p)(casacore::uInt, casacore::uInt, casacore::uInt)
private
template<class T>
std::vector<casacore::uInt>* casa::CubeView< T >::channels_p
private
template<class T>
casacore::Cube<T>* casa::CubeView< T >::parentCube_p
private
template<class T>
std::vector<casacore::uInt>* casa::CubeView< T >::polarizations_p
private
template<class T>
casacore::IPosition casa::CubeView< T >::reducedLength_p
private
template<class T>
std::vector<casacore::uInt>* casa::CubeView< T >::rows_p
private

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