casa
$Rev:20696$
|
#include <RFCubeLattice.h>
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 | |
T | 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 |
Definition at line 69 of file RFCubeLattice.h.
casa::RFCubeLatticeIterator< T >::RFCubeLatticeIterator | ( | ) |
default constructor creates empty iterator
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
casa::RFCubeLatticeIterator< T >::~RFCubeLatticeIterator | ( | ) |
destructor
void casa::RFCubeLatticeIterator< T >::advance | ( | uInt | iz | ) |
advances internal iterator to specified slot along the Z axis
void casa::RFCubeLatticeIterator< T >::flush_curs | ( | ) |
T casa::RFCubeLatticeIterator< T >::operator() | ( | uInt | i, |
uInt | j | ||
) | const |
returns element at i,j of cursor
uInt casa::RFCubeLatticeIterator< T >::position | ( | ) | [inline] |
returns position of internal iterator
Definition at line 99 of file RFCubeLattice.h.
void casa::RFCubeLatticeIterator< T >::reset | ( | ) |
resets the lattice iterator to beginning
void casa::RFCubeLatticeIterator< T >::set | ( | uInt | i, |
uInt | j, | ||
const T & | val | ||
) |
void casa::RFCubeLatticeIterator< T >::set | ( | uInt | ichan, |
uInt | ifr, | ||
uInt | icorrs, | ||
bool | val | ||
) |
void casa::RFCubeLatticeIterator< T >::update_curs | ( | ) | [private] |
unsigned int casa::RFCubeLatticeIterator< T >::iter_pos [private] |
Definition at line 74 of file RFCubeLattice.h.
Referenced by casa::RFCubeLatticeIterator< RFlagWord >::position().
std::vector<boost::dynamic_bitset<> >* casa::RFCubeLatticeIterator< T >::lattice [private] |
Definition at line 72 of file RFCubeLattice.h.
unsigned casa::RFCubeLatticeIterator< T >::n_bit [private] |
Definition at line 76 of file RFCubeLattice.h.
unsigned casa::RFCubeLatticeIterator< T >::n_chan [private] |
Definition at line 76 of file RFCubeLattice.h.
unsigned casa::RFCubeLatticeIterator< T >::n_corr [private] |
Definition at line 76 of file RFCubeLattice.h.
unsigned casa::RFCubeLatticeIterator< T >::n_ifr [private] |
Definition at line 76 of file RFCubeLattice.h.
unsigned casa::RFCubeLatticeIterator< T >::n_time [private] |
Definition at line 76 of file RFCubeLattice.h.