#include <Vbi2MsRow.h>
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 |
Definition at line 92 of file Vbi2MsRow.h.
typedef const Matrix<T>&(casa::vi::VisBufferImpl2::* casa::ms::CachedColumn< T >::Accessor)() const |
Definition at line 96 of file Vbi2MsRow.h.
casa::ms::CachedColumn< T >::CachedColumn | ( | Accessor | accessor | ) | [inline] |
Definition at line 98 of file Vbi2MsRow.h.
Vector<T>& casa::ms::CachedColumn< T >::getCachedColumn | ( | casa::vi::VisBufferImpl2 * | vb, | |
Int | row | |||
) | [inline] |
Definition at line 101 of file Vbi2MsRow.h.
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().
Accessor casa::ms::CachedColumn< T >::accessor_p [private] |
Definition at line 128 of file Vbi2MsRow.h.
Referenced by casa::ms::CachedColumn< Float >::getCachedColumn().
Vector<T> casa::ms::CachedColumn< T >::cache_p [private] |
Definition at line 129 of file Vbi2MsRow.h.
Referenced by casa::ms::CachedColumn< Float >::getCachedColumn().