casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
casa::RFCubeLatticeIterator< T > Class Template Reference

#include <RFCubeLattice.h>

List of all members.

Public Member Functions

 RFCubeLatticeIterator ()
 default constructor creates empty iterator
 RFCubeLatticeIterator (std::vector< boost::dynamic_bitset<> > *lat, unsigned nchan, unsigned nifr, unsigned ntime, unsigned nbit, unsigned ncorr)
 creates and attaches to lattice
 ~RFCubeLatticeIterator ()
 destructor
void reset ()
 resets the lattice iterator to beginning
void advance (uInt iz)
 advances internal iterator to specified slot along the Z axis
uInt position ()
 returns position of internal iterator
operator() (uInt i, uInt j) const
 returns element at i,j of cursor
void set (uInt i, uInt j, const T &val)
void set (uInt ichan, uInt ifr, uInt icorrs, bool val)
void flush_curs ()

Private Member Functions

void update_curs ()

Private Attributes

std::vector
< boost::dynamic_bitset<> > * 
lattice
unsigned int iter_pos
unsigned n_chan
unsigned n_ifr
unsigned n_time
unsigned n_bit
unsigned n_corr

Detailed Description

template<class T>
class casa::RFCubeLatticeIterator< T >

Definition at line 69 of file RFCubeLattice.h.


Constructor & Destructor Documentation

default constructor creates empty iterator

template<class T>
casa::RFCubeLatticeIterator< T >::RFCubeLatticeIterator ( std::vector< boost::dynamic_bitset<> > *  lat,
unsigned  nchan,
unsigned  nifr,
unsigned  ntime,
unsigned  nbit,
unsigned  ncorr 
)

creates and attaches to lattice

template<class T>
casa::RFCubeLatticeIterator< T >::~RFCubeLatticeIterator ( )

destructor


Member Function Documentation

template<class T>
void casa::RFCubeLatticeIterator< T >::advance ( uInt  iz)

advances internal iterator to specified slot along the Z axis

template<class T>
void casa::RFCubeLatticeIterator< T >::flush_curs ( )
template<class T>
T casa::RFCubeLatticeIterator< T >::operator() ( uInt  i,
uInt  j 
) const

returns element at i,j of cursor

template<class T>
uInt casa::RFCubeLatticeIterator< T >::position ( ) [inline]

returns position of internal iterator

Definition at line 99 of file RFCubeLattice.h.

template<class T>
void casa::RFCubeLatticeIterator< T >::reset ( )

resets the lattice iterator to beginning

template<class T>
void casa::RFCubeLatticeIterator< T >::set ( uInt  i,
uInt  j,
const T &  val 
)
template<class T>
void casa::RFCubeLatticeIterator< T >::set ( uInt  ichan,
uInt  ifr,
uInt  icorrs,
bool  val 
)
template<class T>
void casa::RFCubeLatticeIterator< T >::update_curs ( ) [private]

Member Data Documentation

template<class T>
unsigned int casa::RFCubeLatticeIterator< T >::iter_pos [private]

Definition at line 74 of file RFCubeLattice.h.

Referenced by casa::RFCubeLatticeIterator< RFlagWord >::position().

template<class T>
std::vector<boost::dynamic_bitset<> >* casa::RFCubeLatticeIterator< T >::lattice [private]

Definition at line 72 of file RFCubeLattice.h.

template<class T>
unsigned casa::RFCubeLatticeIterator< T >::n_bit [private]

Definition at line 76 of file RFCubeLattice.h.

template<class T>
unsigned casa::RFCubeLatticeIterator< T >::n_chan [private]

Definition at line 76 of file RFCubeLattice.h.

template<class T>
unsigned casa::RFCubeLatticeIterator< T >::n_corr [private]

Definition at line 76 of file RFCubeLattice.h.

template<class T>
unsigned casa::RFCubeLatticeIterator< T >::n_ifr [private]

Definition at line 76 of file RFCubeLattice.h.

template<class T>
unsigned casa::RFCubeLatticeIterator< T >::n_time [private]

Definition at line 76 of file RFCubeLattice.h.


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