#include <RFCubeLattice.h>
Public Member Functions | |
| RFCubeLatticeIterator () | |
| default constructor creates empty iterator | |
| RFCubeLatticeIterator (std::vector< std::vector< bool > > *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< 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 | ( | 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 98 of file RFCubeLattice.h.
| void casa::RFCubeLatticeIterator< T >::reset | ( | ) |
resets the lattice iterator to beginning
| void casa::RFCubeLatticeIterator< T >::set | ( | uInt | ichan, | |
| uInt | ifr, | |||
| uInt | icorrs, | |||
| bool | val | |||
| ) |
| void casa::RFCubeLatticeIterator< T >::set | ( | uInt | i, | |
| uInt | j, | |||
| const T & | val | |||
| ) |
| void casa::RFCubeLatticeIterator< T >::update_curs | ( | ) | [private] |
unsigned int casa::RFCubeLatticeIterator< T >::iter_pos [private] |
Definition at line 73 of file RFCubeLattice.h.
Referenced by casa::RFCubeLatticeIterator< RFlagWord >::position().
std::vector<std::vector<bool> >* casa::RFCubeLatticeIterator< T >::lattice [private] |
Definition at line 71 of file RFCubeLattice.h.
unsigned casa::RFCubeLatticeIterator< T >::n_bit [private] |
Definition at line 75 of file RFCubeLattice.h.
unsigned casa::RFCubeLatticeIterator< T >::n_chan [private] |
Definition at line 75 of file RFCubeLattice.h.
unsigned casa::RFCubeLatticeIterator< T >::n_corr [private] |
Definition at line 75 of file RFCubeLattice.h.
unsigned casa::RFCubeLatticeIterator< T >::n_ifr [private] |
Definition at line 75 of file RFCubeLattice.h.
unsigned casa::RFCubeLatticeIterator< T >::n_time [private] |
Definition at line 75 of file RFCubeLattice.h.
1.6.1