casa::ms::CachedColumn< T > Class Template Reference

#include <Vbi2MsRow.h>

Inheritance diagram for casa::ms::CachedColumn< T >:
casa::ms::CachedArrayBase

List of all members.

Public Types

typedef const Matrix< T >
&(casa::vi::VisBufferImpl2::* 
Accessor )() const

Public Member Functions

 CachedColumn (Accessor accessor)
Vector< T > & getCachedColumn (casa::vi::VisBufferImpl2 *vb, Int row)

Static Private Member Functions

static void referenceVector (Vector< T > &cache, const Matrix< T > &src, Int row)

Private Attributes

Accessor accessor_p
Vector< T > cache_p

Detailed Description

template<typename T>
class casa::ms::CachedColumn< T >

Definition at line 92 of file Vbi2MsRow.h.


Member Typedef Documentation

template<typename T>
typedef const Matrix<T>&(casa::vi::VisBufferImpl2::* casa::ms::CachedColumn< T >::Accessor)() const

Definition at line 96 of file Vbi2MsRow.h.


Constructor & Destructor Documentation

template<typename T>
casa::ms::CachedColumn< T >::CachedColumn ( Accessor  accessor  )  [inline]

Definition at line 98 of file Vbi2MsRow.h.


Member Function Documentation

template<typename T>
Vector<T>& casa::ms::CachedColumn< T >::getCachedColumn ( casa::vi::VisBufferImpl2 vb,
Int  row 
) [inline]

Definition at line 101 of file Vbi2MsRow.h.

template<typename T>
static void casa::ms::CachedColumn< T >::referenceVector ( Vector< T > &  cache,
const Matrix< T > &  src,
Int  row 
) [inline, static, private]

This is a bit sleazy but it seems to be helpful to performance. Assumes contiguously stored cube.

Definition at line 115 of file Vbi2MsRow.h.

Referenced by casa::ms::CachedColumn< Float >::getCachedColumn().


Member Data Documentation

template<typename T>
Accessor casa::ms::CachedColumn< T >::accessor_p [private]

Definition at line 128 of file Vbi2MsRow.h.

Referenced by casa::ms::CachedColumn< Float >::getCachedColumn().

template<typename T>
Vector<T> casa::ms::CachedColumn< T >::cache_p [private]

Definition at line 129 of file Vbi2MsRow.h.

Referenced by casa::ms::CachedColumn< Float >::getCachedColumn().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1