casa
5.7.0-16
|
#include <RFCubeLattice.h>
Public Member Functions | |
RFCubeLatticeIterator () | |
default constructor creates empty iterator More... | |
RFCubeLatticeIterator (std::vector< std::vector< bool > > *lat, unsigned nchan, unsigned nifr, unsigned ntime, unsigned nbit, unsigned ncorr) | |
creates and attaches to lattice More... | |
~RFCubeLatticeIterator () | |
destructor More... | |
void | reset () |
resets the lattice iterator to beginning More... | |
void | advance (casacore::uInt iz) |
advances internal iterator to specified slot along the Z axis More... | |
casacore::uInt | position () |
returns position of internal iterator More... | |
T | operator() (casacore::uInt i, casacore::uInt j) const |
returns element at i,j of cursor More... | |
void | set (casacore::uInt i, casacore::uInt j, const T &val) |
void | set (casacore::uInt ichan, casacore::uInt ifr, casacore::uInt icorrs, bool val) |
void | flush_curs () |
Private Member Functions | |
void | update_curs () |
Private Attributes | |
std::vector< std::vector< bool > > * | lattice |
unsigned int | iter_pos |
unsigned | n_chan |
unsigned | n_ifr |
unsigned | n_time |
unsigned | n_bit |
unsigned | n_corr |
Definition at line 68 of file RFCubeLattice.h.
casa::RFCubeLatticeIterator< T >::RFCubeLatticeIterator | ( | ) |
default constructor creates empty iterator
casa::RFCubeLatticeIterator< T >::RFCubeLatticeIterator | ( | std::vector< std::vector< bool > > * | 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 | ( | casacore::uInt | iz | ) |
advances internal iterator to specified slot along the Z axis
void casa::RFCubeLatticeIterator< T >::flush_curs | ( | ) |
T casa::RFCubeLatticeIterator< T >::operator() | ( | casacore::uInt | i, |
casacore::uInt | j | ||
) | const |
returns element at i,j of cursor
|
inline |
returns position of internal iterator
Definition at line 98 of file RFCubeLattice.h.
void casa::RFCubeLatticeIterator< T >::reset | ( | ) |
resets the lattice iterator to beginning
void casa::RFCubeLatticeIterator< T >::set | ( | casacore::uInt | i, |
casacore::uInt | j, | ||
const T & | val | ||
) |
void casa::RFCubeLatticeIterator< T >::set | ( | casacore::uInt | ichan, |
casacore::uInt | ifr, | ||
casacore::uInt | icorrs, | ||
bool | val | ||
) |
|
private |
|
private |
Definition at line 73 of file RFCubeLattice.h.
Referenced by casa::RFCubeLatticeIterator< RFlagWord >::position().
|
private |
Definition at line 71 of file RFCubeLattice.h.
|
private |
Definition at line 75 of file RFCubeLattice.h.
|
private |
Definition at line 75 of file RFCubeLattice.h.
|
private |
Definition at line 75 of file RFCubeLattice.h.
|
private |
Definition at line 75 of file RFCubeLattice.h.
|
private |
Definition at line 75 of file RFCubeLattice.h.