casa
5.7.0-16
|
#include <RFFloatLattice.h>
Public Member Functions | |
RFFloatLatticeIterator () | |
default constructor creates empty iterator More... | |
RFFloatLatticeIterator (std::vector< std::vector< bool > > *lat, unsigned nchan, unsigned nifr, unsigned ntime, unsigned nbit, unsigned ncorr) | |
creates and attaches to lattice More... | |
~RFFloatLatticeIterator () | |
destructor More... | |
casacore::Matrix < casacore::Float > * | reset () |
resets the lattice iterator to beginning, returns cursor More... | |
casacore::Matrix < casacore::Float > * | advance (casacore::uInt iz) |
advances internal iterator to specified slot along the Z axis, returns cursor More... | |
casacore::uInt | position () |
returns position of internal iterator More... | |
casacore::Matrix < casacore::Float > * | cursor () |
returns internal cursor More... | |
casacore::Float & | operator() (casacore::uInt i, casacore::uInt j) |
returns element at i,j of cursor More... | |
void | flush_curs () |
Private Member Functions | |
void | update_curs () |
Private Attributes | |
std::vector< std::vector< bool > > * | lattice |
vector<bool>: is a space-efficient specialization of std::vector for the type bool More... | |
casacore::Matrix< casacore::Float > | curs |
unsigned int | iter_pos |
unsigned | n_chan |
unsigned | n_ifr |
unsigned | n_bit |
unsigned | n_corr |
Definition at line 63 of file RFFloatLattice.h.
casa::RFFloatLatticeIterator::RFFloatLatticeIterator | ( | ) |
default constructor creates empty iterator
casa::RFFloatLatticeIterator::RFFloatLatticeIterator | ( | std::vector< std::vector< bool > > * | lat, |
unsigned | nchan, | ||
unsigned | nifr, | ||
unsigned | ntime, | ||
unsigned | nbit, | ||
unsigned | ncorr | ||
) |
creates and attaches to lattice
casa::RFFloatLatticeIterator::~RFFloatLatticeIterator | ( | ) |
destructor
casacore::Matrix<casacore::Float>* casa::RFFloatLatticeIterator::advance | ( | casacore::uInt | iz | ) |
advances internal iterator to specified slot along the Z axis, returns cursor
Referenced by casa::RFFloatLattice::advance().
casacore::Matrix<casacore::Float>* casa::RFFloatLatticeIterator::cursor | ( | ) |
returns internal cursor
Referenced by casa::RFFloatLattice::cursor(), and casa::RFFloatLattice::operator()().
void casa::RFFloatLatticeIterator::flush_curs | ( | ) |
casacore::Float& casa::RFFloatLatticeIterator::operator() | ( | casacore::uInt | i, |
casacore::uInt | j | ||
) |
returns element at i,j of cursor
|
inline |
returns position of internal iterator
Definition at line 96 of file RFFloatLattice.h.
References iter_pos.
Referenced by casa::RFFloatLattice::position().
casacore::Matrix<casacore::Float>* casa::RFFloatLatticeIterator::reset | ( | ) |
resets the lattice iterator to beginning, returns cursor
|
private |
|
private |
Definition at line 69 of file RFFloatLattice.h.
|
private |
Definition at line 71 of file RFFloatLattice.h.
Referenced by position().
|
private |
vector<bool>: is a space-efficient specialization of std::vector for the type bool
Definition at line 67 of file RFFloatLattice.h.
|
private |
Definition at line 73 of file RFFloatLattice.h.
|
private |
Definition at line 73 of file RFFloatLattice.h.
|
private |
Definition at line 73 of file RFFloatLattice.h.
|
private |
Definition at line 73 of file RFFloatLattice.h.