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

Writable version (limited to certain 'columns') More...

#include <CTIter.h>

Inheritance diagram for casa::CTIter:
casa::ROCTIter

Public Member Functions

 CTIter (NewCalTable tab, const casacore::Block< casacore::String > &sortcol)
 Constructor/Destructor. More...
 
virtual ~CTIter ()
 
void setfield (casacore::Int fieldid)
 Set fieldid. More...
 
void setscan (casacore::Int scan)
 Set scan number. More...
 
void setobs (casacore::Int obs)
 Set obsid. More...
 
void setantenna2 (const casacore::Vector< casacore::Int > &a2)
 Set antenna2 (e.g., used for setting refant) More...
 
void setflag (const casacore::Cube< casacore::Bool > &flag)
 Set the flags. More...
 
void setfparam (const casacore::Cube< casacore::Float > &f)
 Set the parameters. More...
 
void setcparam (const casacore::Cube< casacore::Complex > &c)
 
- Public Member Functions inherited from casa::ROCTIter
 ROCTIter (NewCalTable tab, const casacore::Block< casacore::String > &sortcol)
 Constructor/Destructor. More...
 
virtual ~ROCTIter ()
 
void reset ()
 Iteration operators. More...
 
casacore::Bool pastEnd ()
 
void next ()
 
void next0 ()
 
NewCalTable table () const
 Return the current table iteration. More...
 
casacore::Int nrow () const
 
casacore::Double thisTime () const
 Column accessors Those methods that return scalars for data coordinates (e.g., thisTime(), thisField(), etc.) return the first element of the corresponding vector of values in the current iteration. More...
 
casacore::Vector
< casacore::Double
time () const
 
void time (casacore::Vector< casacore::Double > &v) const
 
casacore::Int thisField () const
 
casacore::Vector< casacore::Intfield () const
 
void field (casacore::Vector< casacore::Int > &v) const
 
casacore::Int thisSpw () const
 
casacore::Vector< casacore::Intspw () const
 
void spw (casacore::Vector< casacore::Int > &v) const
 
casacore::Int thisScan () const
 
casacore::Vector< casacore::Intscan () const
 
void scan (casacore::Vector< casacore::Int > &v) const
 
casacore::Int thisObs () const
 
casacore::Vector< casacore::Intobs () const
 
void obs (casacore::Vector< casacore::Int > &v) const
 
casacore::Int thisAntenna1 () const
 
casacore::Vector< casacore::Intantenna1 () const
 
void antenna1 (casacore::Vector< casacore::Int > &v) const
 
casacore::Int thisAntenna2 () const
 
casacore::Vector< casacore::Intantenna2 () const
 
void antenna2 (casacore::Vector< casacore::Int > &v) const
 
casacore::Double thisInterval () const
 
casacore::Vector
< casacore::Double
interval () const
 
void interval (casacore::Vector< casacore::Double > &v) const
 
casacore::Cube< casacore::Complex > cparam () const
 
void cparam (casacore::Cube< casacore::Complex > &c) const
 
casacore::Cube< casacore::Floatfparam () const
 
void fparam (casacore::Cube< casacore::Float > &c) const
 
casacore::Cube< casacore::Floatcasfparam (casacore::String what="") const
 
void casfparam (casacore::Cube< casacore::Float > &casf, casacore::String what="") const
 
casacore::Cube< casacore::FloatparamErr () const
 
void paramErr (casacore::Cube< casacore::Float > &c) const
 
casacore::Cube< casacore::Floatsnr () const
 
void snr (casacore::Cube< casacore::Float > &c) const
 
casacore::Cube< casacore::Floatwt () const
 
void wt (casacore::Cube< casacore::Float > &c) const
 
casacore::Cube< casacore::Boolflag () const
 
void flag (casacore::Cube< casacore::Bool > &c) const
 
casacore::Int nchan () const
 
casacore::Vector< casacore::Intchan () const
 
void chan (casacore::Vector< casacore::Int > &v) const
 
casacore::Vector
< casacore::Double
freq () const
 
void freq (casacore::Vector< casacore::Double > &v) const
 

Protected Member Functions

virtual void attach ()
 Attach writable column access. More...
 

Private Member Functions

 CTIter (const CTIter &other)
 Prohibit public use of copy, assignment. More...
 
CTIteroperator= (const CTIter &other)
 

Private Attributes

NewCalTableirwnct_
 Per-iteration table. More...
 
CTMainColumnsiRWCTMainCols_
 Writable column access. More...
 

Detailed Description

Writable version (limited to certain 'columns')

Definition at line 202 of file CTIter.h.

Constructor & Destructor Documentation

casa::CTIter::CTIter ( NewCalTable  tab,
const casacore::Block< casacore::String > &  sortcol 
)

Constructor/Destructor.

virtual casa::CTIter::~CTIter ( )
virtual
casa::CTIter::CTIter ( const CTIter other)
private

Prohibit public use of copy, assignment.

Member Function Documentation

virtual void casa::CTIter::attach ( )
protectedvirtual

Attach writable column access.

Reimplemented from casa::ROCTIter.

CTIter& casa::CTIter::operator= ( const CTIter other)
private
void casa::CTIter::setantenna2 ( const casacore::Vector< casacore::Int > &  a2)

Set antenna2 (e.g., used for setting refant)

void casa::CTIter::setcparam ( const casacore::Cube< casacore::Complex > &  c)
void casa::CTIter::setfield ( casacore::Int  fieldid)

Set fieldid.

void casa::CTIter::setflag ( const casacore::Cube< casacore::Bool > &  flag)

Set the flags.

void casa::CTIter::setfparam ( const casacore::Cube< casacore::Float > &  f)

Set the parameters.

void casa::CTIter::setobs ( casacore::Int  obs)

Set obsid.

void casa::CTIter::setscan ( casacore::Int  scan)

Set scan number.

Member Data Documentation

CTMainColumns* casa::CTIter::iRWCTMainCols_
private

Writable column access.

Definition at line 243 of file CTIter.h.

NewCalTable* casa::CTIter::irwnct_
private

Per-iteration table.

Definition at line 240 of file CTIter.h.


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