casa
$Rev:20696$
|
#include <RFFloatLattice.h>
Public Member Functions | |
RFFloatLatticeIterator () | |
default constructor creates empty iterator | |
RFFloatLatticeIterator (std::vector< boost::dynamic_bitset<> > *lat, unsigned nchan, unsigned nifr, unsigned ntime, unsigned nbit, unsigned ncorr) | |
creates and attaches to lattice | |
~RFFloatLatticeIterator () | |
destructor | |
Matrix< Float > * | reset () |
resets the lattice iterator to beginning, returns cursor | |
Matrix< Float > * | advance (uInt iz) |
advances internal iterator to specified slot along the Z axis, returns cursor | |
uInt | position () |
returns position of internal iterator | |
Matrix< Float > * | cursor () |
returns internal cursor | |
Float & | operator() (uInt i, uInt j) |
returns element at i,j of cursor | |
void | flush_curs () |
Private Member Functions | |
void | update_curs () |
Private Attributes | |
std::vector < boost::dynamic_bitset<> > * | lattice |
Matrix< Float > | curs |
unsigned int | iter_pos |
unsigned | n_chan |
unsigned | n_ifr |
unsigned | n_time |
unsigned | n_bit |
unsigned | n_corr |
Definition at line 64 of file RFFloatLattice.h.
default constructor creates empty iterator
casa::RFFloatLatticeIterator::RFFloatLatticeIterator | ( | std::vector< boost::dynamic_bitset<> > * | lat, |
unsigned | nchan, | ||
unsigned | nifr, | ||
unsigned | ntime, | ||
unsigned | nbit, | ||
unsigned | ncorr | ||
) |
creates and attaches to lattice
destructor
advances internal iterator to specified slot along the Z axis, returns cursor
Referenced by casa::RFFloatLattice::advance().
returns internal cursor
Referenced by casa::RFFloatLattice::cursor(), and casa::RFFloatLattice::operator()().
uInt casa::RFFloatLatticeIterator::position | ( | ) | [inline] |
returns position of internal iterator
Definition at line 96 of file RFFloatLattice.h.
References iter_pos.
Referenced by casa::RFFloatLattice::position().
resets the lattice iterator to beginning, returns cursor
void casa::RFFloatLatticeIterator::update_curs | ( | ) | [private] |
Matrix<Float> casa::RFFloatLatticeIterator::curs [private] |
Definition at line 69 of file RFFloatLattice.h.
unsigned int casa::RFFloatLatticeIterator::iter_pos [private] |
Definition at line 71 of file RFFloatLattice.h.
Referenced by position().
std::vector<boost::dynamic_bitset<> >* casa::RFFloatLatticeIterator::lattice [private] |
Definition at line 67 of file RFFloatLattice.h.
unsigned casa::RFFloatLatticeIterator::n_bit [private] |
Definition at line 73 of file RFFloatLattice.h.
unsigned casa::RFFloatLatticeIterator::n_chan [private] |
Definition at line 73 of file RFFloatLattice.h.
unsigned casa::RFFloatLatticeIterator::n_corr [private] |
Definition at line 73 of file RFFloatLattice.h.
unsigned casa::RFFloatLatticeIterator::n_ifr [private] |
Definition at line 73 of file RFFloatLattice.h.
unsigned casa::RFFloatLatticeIterator::n_time [private] |
Definition at line 73 of file RFFloatLattice.h.