28 #ifndef MS_MSSTATECOLUMNS_H
29 #define MS_MSSTATECOLUMNS_H
83 const ROScalarColumn<Double>&
cal()
const {
return cal_p;}
86 const ROScalarColumn<Double>&
load()
const {
return load_p;}
89 const ROScalarColumn<Bool>&
ref()
const {
return ref_p;}
90 const ROScalarColumn<Bool>&
sig()
const {
return sig_p;}
106 const String& stateObsMode,
107 const Bool& stateRef,
108 const Bool& stateSig,
109 const Int& stateSubScan,
ScalarColumn< Int > & subScan()
~ROMSStateColumns()
The destructor does nothing special.
const ROScalarColumn< Bool > & sig() const
Int matchState(const Quantum< Double > &stateCalQ, const Quantum< Double > &stateLoadQ, const String &stateObsMode, const Bool &stateRef, const Bool &stateSig, const Int &stateSubScan, const Quantum< Double > &tolerance, Int tryRow=-1)
Returns the last row that contains a state with the specified values.
ROScalarColumn< Bool > ref_p
void attach(MSState &msState)
~MSStateColumns()
The destructor does nothing special.
MSStateColumns()
Read-only access to required columns.
ScalarColumn< Int > subScan_p
ROScalarQuantColumn< Double > calQuant_p
ScalarColumn< Bool > & ref()
ROScalarColumn< String > obsMode_p
ScalarColumn< Bool > sig_p
const ROScalarQuantColumn< Double > & calQuant() const
ScalarColumn< Bool > & flagRow()
const ROScalarQuantColumn< Double > & loadQuant() const
const ROScalarColumn< Bool > & flagRow() const
ScalarQuantColumn< Double > & calQuant()
ScalarQuantColumn< Double > loadQuant_p
uInt nrow() const
Convenience function that returns the number of rows in any of the columns.
ScalarColumn< Double > & load()
ROScalarColumn< Double > load_p
MSStateColumns & operator=(const MSStateColumns &)
const ROScalarColumn< Double > & load() const
A class to provide easy read-only access to MSState columns.
ScalarColumn< Bool > ref_p
ScalarColumn< String > & obsMode()
ROScalarColumn< Bool > flagRow_p
ROMSStateColumns & operator=(const ROMSStateColumns &)
A Table intended to hold a MeasurementSet STATE table.
ScalarColumn< Double > cal_p
void attach(const MSState &msState)
ScalarColumn< String > obsMode_p
ScalarQuantColumn< Double > & loadQuant()
const ROScalarColumn< String > & obsMode() const
ROScalarColumn< Bool > sig_p
const ROScalarColumn< Bool > & ref() const
ScalarQuantColumn< Double > calQuant_p
Access to Quantum columns.
ScalarColumn< Double > load_p
bool Bool
Define the standard types used by Casacore.
ScalarColumn< Bool > flagRow_p
const ROScalarColumn< Double > & cal() const
Access to required columns.
ROScalarColumn< Double > cal_p
ROScalarQuantColumn< Double > loadQuant_p
ROScalarColumn< Int > subScan_p
String: the storage and methods of handling collections of characters.
A class to provide easy read-write access to MSState columns.
const ROScalarColumn< Int > & subScan() const
ScalarColumn< Bool > & sig()
ScalarColumn< Double > & cal()
Read-write access to required columns.
#define casacore
<X11/Intrinsic.h> #defines true, false, casacore::Bool, and String.