casacore
|
A class to provide easy read-write access to MSState columns. More...
#include <MSStateColumns.h>
Public Member Functions | |
MSStateColumns (MSState &msState) | |
Create a columns object that accesses the data in the specified Table. More... | |
~MSStateColumns () | |
The destructor does nothing special. More... | |
ScalarColumn< Double > & | cal () |
Read-write access to required columns. More... | |
ScalarQuantColumn< Double > & | calQuant () |
ScalarColumn< Bool > & | flagRow () |
ScalarColumn< Double > & | load () |
ScalarQuantColumn< Double > & | loadQuant () |
ScalarColumn< String > & | obsMode () |
ScalarColumn< Bool > & | ref () |
ScalarColumn< Bool > & | sig () |
ScalarColumn< Int > & | subScan () |
![]() | |
ROMSStateColumns (const MSState &msState) | |
Create a columns object that accesses the data in the specified Table. More... | |
~ROMSStateColumns () | |
The destructor does nothing special. More... | |
const ROScalarColumn< Double > & | cal () const |
Access to required columns. More... | |
const ROScalarQuantColumn< Double > & | calQuant () const |
const ROScalarColumn< Bool > & | flagRow () const |
const ROScalarColumn< Double > & | load () const |
const ROScalarQuantColumn< Double > & | loadQuant () const |
const ROScalarColumn< String > & | obsMode () const |
const ROScalarColumn< Bool > & | ref () const |
const ROScalarColumn< Bool > & | sig () const |
const ROScalarColumn< Int > & | subScan () const |
uInt | nrow () const |
Convenience function that returns the number of rows in any of the columns. More... | |
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. More... | |
Protected Member Functions | |
MSStateColumns () | |
Read-only access to required columns. More... | |
void | attach (MSState &msState) |
![]() | |
ROMSStateColumns () | |
void | attach (const MSState &msState) |
Private Member Functions | |
MSStateColumns (const MSStateColumns &) | |
MSStateColumns & | operator= (const MSStateColumns &) |
Private Attributes | |
ScalarColumn< Double > | cal_p |
ScalarColumn< Bool > | flagRow_p |
ScalarColumn< Double > | load_p |
ScalarColumn< String > | obsMode_p |
ScalarColumn< Bool > | ref_p |
ScalarColumn< Bool > | sig_p |
ScalarColumn< Int > | subScan_p |
ScalarQuantColumn< Double > | calQuant_p |
Access to Quantum columns. More... | |
ScalarQuantColumn< Double > | loadQuant_p |
A class to provide easy read-write access to MSState columns.
Public interface
MSStateColumns stands for MeasurementSet State Table columns.
This class provides access to the columns in the MSState Table, it does the declaration of all the Scalar and ArrayColumns with the correct types, so the application programmer doesn't have to worry about getting those right. There is an access function for every predefined column. Access to non-predefined columns will still have to be done with explicit declarations. See MSColumns for an example.
See MSColumns for the motivation.
Definition at line 174 of file MSStateColumns.h.
casacore::MSStateColumns::MSStateColumns | ( | MSState & | msState | ) |
Create a columns object that accesses the data in the specified Table.
casacore::MSStateColumns::~MSStateColumns | ( | ) |
The destructor does nothing special.
|
protected |
Read-only access to required columns.
|
private |
|
protected |
|
inline |
Read-write access to required columns.
Definition at line 185 of file MSStateColumns.h.
References casacore::ROMSStateColumns::cal_p.
|
inline |
Definition at line 186 of file MSStateColumns.h.
References casacore::ROMSStateColumns::calQuant_p.
|
inline |
Definition at line 187 of file MSStateColumns.h.
References casacore::ROMSStateColumns::flagRow_p.
|
inline |
Definition at line 188 of file MSStateColumns.h.
References casacore::ROMSStateColumns::load_p.
|
inline |
Definition at line 189 of file MSStateColumns.h.
References casacore::ROMSStateColumns::loadQuant_p.
|
inline |
Definition at line 190 of file MSStateColumns.h.
References casacore::ROMSStateColumns::obsMode_p.
|
private |
|
inline |
Definition at line 191 of file MSStateColumns.h.
References casacore::ROMSStateColumns::ref_p.
|
inline |
Definition at line 192 of file MSStateColumns.h.
References casacore::ROMSStateColumns::sig_p.
|
inline |
Definition at line 193 of file MSStateColumns.h.
References casacore::ROMSStateColumns::attach(), casacore::ROMSStateColumns::operator=(), and casacore::ROMSStateColumns::subScan_p.
|
private |
Definition at line 215 of file MSStateColumns.h.
|
private |
Access to Quantum columns.
Definition at line 224 of file MSStateColumns.h.
|
private |
Definition at line 216 of file MSStateColumns.h.
|
private |
Definition at line 217 of file MSStateColumns.h.
|
private |
Definition at line 225 of file MSStateColumns.h.
|
private |
Definition at line 218 of file MSStateColumns.h.
|
private |
Definition at line 219 of file MSStateColumns.h.
|
private |
Definition at line 220 of file MSStateColumns.h.
|
private |
Definition at line 221 of file MSStateColumns.h.