casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casa::RFCubeLatticeIterator< T > Class Template Reference

#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...
 
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
 

Detailed Description

template<class T>
class casa::RFCubeLatticeIterator< T >

Definition at line 68 of file RFCubeLattice.h.

Constructor & Destructor Documentation

default constructor creates empty iterator

template<class T>
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

template<class T>
casa::RFCubeLatticeIterator< T >::~RFCubeLatticeIterator ( )

destructor

Member Function Documentation

template<class T>
void casa::RFCubeLatticeIterator< T >::advance ( casacore::uInt  iz)

advances internal iterator to specified slot along the Z axis

template<class T>
void casa::RFCubeLatticeIterator< T >::flush_curs ( )
template<class T>
T casa::RFCubeLatticeIterator< T >::operator() ( casacore::uInt  i,
casacore::uInt  j 
) const

returns element at i,j of cursor

template<class T>
casacore::uInt casa::RFCubeLatticeIterator< T >::position ( )
inline

returns position of internal iterator

Definition at line 98 of file RFCubeLattice.h.

template<class T>
void casa::RFCubeLatticeIterator< T >::reset ( )

resets the lattice iterator to beginning

template<class T>
void casa::RFCubeLatticeIterator< T >::set ( casacore::uInt  i,
casacore::uInt  j,
const T &  val 
)
template<class T>
void casa::RFCubeLatticeIterator< T >::set ( casacore::uInt  ichan,
casacore::uInt  ifr,
casacore::uInt  icorrs,
bool  val 
)
template<class T>
void casa::RFCubeLatticeIterator< T >::update_curs ( )
private

Member Data Documentation

template<class T>
unsigned int casa::RFCubeLatticeIterator< T >::iter_pos
private

Definition at line 73 of file RFCubeLattice.h.

Referenced by casa::RFCubeLatticeIterator< RFlagWord >::position().

template<class T>
std::vector<std::vector<bool> >* casa::RFCubeLatticeIterator< T >::lattice
private

Definition at line 71 of file RFCubeLattice.h.

template<class T>
unsigned casa::RFCubeLatticeIterator< T >::n_bit
private

Definition at line 75 of file RFCubeLattice.h.

template<class T>
unsigned casa::RFCubeLatticeIterator< T >::n_chan
private

Definition at line 75 of file RFCubeLattice.h.

template<class T>
unsigned casa::RFCubeLatticeIterator< T >::n_corr
private

Definition at line 75 of file RFCubeLattice.h.

template<class T>
unsigned casa::RFCubeLatticeIterator< T >::n_ifr
private

Definition at line 75 of file RFCubeLattice.h.

template<class T>
unsigned casa::RFCubeLatticeIterator< T >::n_time
private

Definition at line 75 of file RFCubeLattice.h.


The documentation for this class was generated from the following file: