casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
casa::ROCTMainColumns Class Reference

#include <CTMainColumns.h>

Inheritance diagram for casa::ROCTMainColumns:
casa::ROCTColumns

List of all members.

Public Member Functions

 ROCTMainColumns (const NewCalTable &calTable)
 Construct from a calibration table.
virtual ~ROCTMainColumns ()
 Default destructor.
const ROScalarColumn< Double > & time () const
 Read-only column accessors.
const ROScalarQuantColumn
< Double > & 
timeQuant () const
const ROScalarMeasColumn
< MEpoch > & 
timeMeas () const
const ROScalarColumn< Double > & timeEP () const
const ROScalarQuantColumn
< Double > & 
timeEPQuant () const
const ROScalarColumn< Double > & interval () const
const ROScalarQuantColumn
< Double > & 
intervalQuant () const
const ROScalarColumn< Int > & antenna1 () const
const ROScalarColumn< Int > & antenna2 () const
const ROScalarColumn< Int > & fieldId () const
const ROScalarColumn< Int > & spwId () const
const ROScalarColumn< Int > & scanNo () const
const ROScalarColumn< Int > & obsId () const
const ROArrayColumn< Complex > & cparam () const
const ROArrayColumn< Float > & fparam () const
const ROArrayColumn< Float > & paramerr () const
const ROArrayColumn< Bool > & flag () const
const ROArrayColumn< Float > & snr () const
const ROArrayColumn< Float > & weight () const
Array< FloatfparamArray (String what="", const Vector< uInt > &rows=Vector< uInt >())
 Some additional methods to extract cparam into Array<Float> what can be: "","AP".
void fparamArray (Array< Float > &arr, String what="", const Vector< uInt > &rows=Vector< uInt >())
Array< Floatphase ()
 Some additional methods to extract phase-like info.
void phase (Array< Float > &ph)
Array< Floatcycles ()
void cycles (Array< Float > &cy)

Protected Member Functions

 ROCTMainColumns ()
 Prohibit public use of the null constructor, which does not produce a usable object.
void attach (const NewCalTable &calTable, ROTableColumn &tabCol, CTEnums::colDef colEnum, const Bool &optional=False)
 Return a CalTable as a Table reference.
void attach (const NewCalTable &calTable, ROArrayMeasColumn< MEpoch > &tabCol, CTEnums::colDef colEnum, const Bool &optional=False)
void attach (const NewCalTable &calTable, ROArrayMeasColumn< MFrequency > &tabCol, CTEnums::colDef colEnum, const Bool &optional=False)
void attach (const NewCalTable &calTable, ROArrayMeasColumn< MDirection > &tabCol, CTEnums::colDef colEnum, const Bool &optional=False)
void attach (const NewCalTable &calTable, ROScalarMeasColumn< MEpoch > &tabCol, CTEnums::colDef colEnum, const Bool &optional=False)
void attach (const NewCalTable &calTable, ROScalarQuantColumn< Double > &tabCol, CTEnums::colDef colEnum, const Bool &optional=False)

Private Member Functions

 ROCTMainColumns (const ROCTMainColumns &)
 Prohibit copy constructor and assignment operator.
ROCTMainColumnsoperator= (const ROCTMainColumns &)

Private Attributes

ROScalarColumn< Doubletime_p
 Private column accessors.
ROScalarQuantColumn< DoubletimeQuant_p
ROScalarMeasColumn< MEpochtimeMeas_p
ROScalarColumn< DoubletimeEP_p
ROScalarQuantColumn< DoubletimeEPQuant_p
ROScalarColumn< Doubleinterval_p
ROScalarQuantColumn< DoubleintervalQuant_p
ROScalarColumn< Intantenna1_p
ROScalarColumn< Intantenna2_p
ROScalarColumn< IntfieldId_p
ROScalarColumn< IntspwId_p
ROScalarColumn< IntscanNo_p
ROScalarColumn< IntobsId_p
ROArrayColumn< Complex > cparam_p
ROArrayColumn< Floatfparam_p
ROArrayColumn< Floatparamerr_p
ROArrayColumn< Boolflag_p
ROArrayColumn< Floatsnr_p
ROArrayColumn< Floatweight_p

Detailed Description

Definition at line 50 of file CTMainColumns.h.


Constructor & Destructor Documentation

Construct from a calibration table.

virtual casa::ROCTMainColumns::~ROCTMainColumns ( ) [inline, virtual]

Default destructor.

Definition at line 57 of file CTMainColumns.h.

casa::ROCTMainColumns::ROCTMainColumns ( ) [inline, protected]

Prohibit public use of the null constructor, which does not produce a usable object.

Definition at line 96 of file CTMainColumns.h.

Prohibit copy constructor and assignment operator.


Member Function Documentation

Definition at line 69 of file CTMainColumns.h.

References antenna1_p.

Definition at line 70 of file CTMainColumns.h.

References antenna2_p.

void casa::ROCTMainColumns::attach ( const NewCalTable calTable,
ROTableColumn tabCol,
CTEnums::colDef  colEnum,
const Bool optional = False 
) [protected]

Return a CalTable as a Table reference.

Utilizes friendship relationship with class CalTable. const Table& asTable(const CalTable2& calTable) {return calTable.calMainAsTable();}

Attach a table column accessor

void casa::ROCTMainColumns::attach ( const NewCalTable calTable,
ROArrayMeasColumn< MEpoch > &  tabCol,
CTEnums::colDef  colEnum,
const Bool optional = False 
) [protected]
void casa::ROCTMainColumns::attach ( const NewCalTable calTable,
ROArrayMeasColumn< MFrequency > &  tabCol,
CTEnums::colDef  colEnum,
const Bool optional = False 
) [protected]
void casa::ROCTMainColumns::attach ( const NewCalTable calTable,
ROArrayMeasColumn< MDirection > &  tabCol,
CTEnums::colDef  colEnum,
const Bool optional = False 
) [protected]
void casa::ROCTMainColumns::attach ( const NewCalTable calTable,
ROScalarMeasColumn< MEpoch > &  tabCol,
CTEnums::colDef  colEnum,
const Bool optional = False 
) [protected]
void casa::ROCTMainColumns::attach ( const NewCalTable calTable,
ROScalarQuantColumn< Double > &  tabCol,
CTEnums::colDef  colEnum,
const Bool optional = False 
) [protected]
const ROArrayColumn<Complex>& casa::ROCTMainColumns::cparam ( ) const [inline]

Definition at line 75 of file CTMainColumns.h.

References cparam_p.

Definition at line 71 of file CTMainColumns.h.

References fieldId_p.

const ROArrayColumn<Bool>& casa::ROCTMainColumns::flag ( ) const [inline]

Definition at line 78 of file CTMainColumns.h.

References flag_p.

Referenced by casa::CTMainColInterface::flag(), and casa::CTMainColInterface::flagRow().

Definition at line 76 of file CTMainColumns.h.

References fparam_p.

Array<Float> casa::ROCTMainColumns::fparamArray ( String  what = "",
const Vector< uInt > &  rows = VectoruInt >() 
)

Some additional methods to extract cparam into Array<Float> what can be: "","AP".

void casa::ROCTMainColumns::fparamArray ( Array< Float > &  arr,
String  what = "",
const Vector< uInt > &  rows = VectoruInt >() 
)

Definition at line 66 of file CTMainColumns.h.

References interval_p.

Definition at line 67 of file CTMainColumns.h.

References intervalQuant_p.

const ROScalarColumn<Int>& casa::ROCTMainColumns::obsId ( ) const [inline]

Definition at line 74 of file CTMainColumns.h.

References obsId_p.

ROCTMainColumns& casa::ROCTMainColumns::operator= ( const ROCTMainColumns ) [private]

Definition at line 77 of file CTMainColumns.h.

References paramerr_p.

Some additional methods to extract phase-like info.

const ROScalarColumn<Int>& casa::ROCTMainColumns::scanNo ( ) const [inline]

Definition at line 73 of file CTMainColumns.h.

References scanNo_p.

const ROArrayColumn<Float>& casa::ROCTMainColumns::snr ( ) const [inline]

Definition at line 79 of file CTMainColumns.h.

References snr_p.

const ROScalarColumn<Int>& casa::ROCTMainColumns::spwId ( ) const [inline]

Definition at line 72 of file CTMainColumns.h.

References spwId_p.

Read-only column accessors.

Definition at line 60 of file CTMainColumns.h.

References time_p.

Definition at line 63 of file CTMainColumns.h.

References timeEP_p.

Definition at line 64 of file CTMainColumns.h.

References timeEPQuant_p.

Referenced by casa::CTMainColInterface::exposureQuant().

Definition at line 62 of file CTMainColumns.h.

References timeMeas_p.

Definition at line 61 of file CTMainColumns.h.

References timeQuant_p.

Referenced by casa::CTMainColInterface::timeQuant().

Definition at line 80 of file CTMainColumns.h.

References weight_p.


Member Data Documentation

Definition at line 133 of file CTMainColumns.h.

Referenced by antenna1().

Definition at line 134 of file CTMainColumns.h.

Referenced by antenna2().

Definition at line 139 of file CTMainColumns.h.

Referenced by cparam().

Definition at line 135 of file CTMainColumns.h.

Referenced by fieldId().

Definition at line 142 of file CTMainColumns.h.

Referenced by flag().

Definition at line 140 of file CTMainColumns.h.

Referenced by fparam().

Definition at line 131 of file CTMainColumns.h.

Referenced by interval().

Definition at line 132 of file CTMainColumns.h.

Referenced by intervalQuant().

Definition at line 138 of file CTMainColumns.h.

Referenced by obsId().

Definition at line 141 of file CTMainColumns.h.

Referenced by paramerr().

Definition at line 137 of file CTMainColumns.h.

Referenced by scanNo().

Definition at line 143 of file CTMainColumns.h.

Referenced by snr().

Definition at line 136 of file CTMainColumns.h.

Referenced by spwId().

Private column accessors.

Definition at line 126 of file CTMainColumns.h.

Referenced by time().

Definition at line 129 of file CTMainColumns.h.

Referenced by timeEP().

Definition at line 130 of file CTMainColumns.h.

Referenced by timeEPQuant().

Definition at line 128 of file CTMainColumns.h.

Referenced by timeMeas().

Definition at line 127 of file CTMainColumns.h.

Referenced by timeQuant().

Definition at line 144 of file CTMainColumns.h.

Referenced by weight().


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