28 #ifndef MS_MSSTATECOLUMNS_H
29 #define MS_MSSTATECOLUMNS_H
31 #include <casacore/casa/aips.h>
32 #include <casacore/tables/Tables/ScalarColumn.h>
33 #include <casacore/measures/TableMeasures/ScalarQuantColumn.h>
34 #include <casacore/casa/BasicSL/String.h>
119 const String& stateObsMode,
120 const Bool& stateRef,
121 const Bool& stateSig,
122 const Int& stateSubScan,
const ScalarColumn< Bool > & ref() const
ScalarQuantColumn< Double > & loadQuant()
ScalarColumn< Bool > & ref()
ScalarColumn< Bool > & flagRow()
MSStateColumns(const MSStateColumns &)
ScalarColumn< Bool > flagRow_p
ScalarColumn< Double > load_p
ScalarColumn< Double > & load()
const ScalarColumn< Int > & subScan() const
ScalarColumn< String > obsMode_p
const ScalarColumn< Double > & cal() const
Const access to required columns.
const ScalarColumn< String > & obsMode() const
ScalarColumn< Int > subScan_p
ScalarColumn< Int > & subScan()
ScalarColumn< String > & obsMode()
ScalarQuantColumn< Double > loadQuant_p
~MSStateColumns()
The destructor does nothing special.
const ScalarQuantColumn< Double > & loadQuant() const
ScalarColumn< Bool > ref_p
ScalarColumn< Double > cal_p
ScalarQuantColumn< Double > calQuant_p
Access to Quantum columns.
const ScalarColumn< Bool > & flagRow() const
MSStateColumns(const MSState &msState)
Create a columns object that accesses the data in the specified Table.
const ScalarQuantColumn< Double > & calQuant() const
ScalarQuantColumn< Double > & calQuant()
MSStateColumns & operator=(const MSStateColumns &)
ScalarColumn< Bool > & sig()
Int64 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, Int64 tryRow=-1)
Returns the last row that contains a state with the specified values.
const ScalarColumn< Bool > & sig() const
const ScalarColumn< Double > & load() const
ScalarColumn< Bool > sig_p
ScalarColumn< Double > & cal()
Access to required columns.
rownr_t nrow() const
Convenience function that returns the number of rows in any of the columns.
void attach(const MSState &msState)
String: the storage and methods of handling collections of characters.
rownr_t nrow() const
Get the number of rows in the column.
this file contains all the compiler specific defines
MSStateColumns ROMSStateColumns
long long Int64
Define the extra non-standard types used by Casacore (like proposed uSize, Size)
bool Bool
Define the standard types used by Casacore.
uInt64 rownr_t
Define the type of a row number in a table.