casa
$Rev:20696$
|
A class to provide easy read-write access to MSFlagCmd columns. More...
#include <MSFlagCmdColumns.h>
A class to provide easy read-write access to MSFlagCmd columns.
Public interface
MSFlagCmdColumns stands for MeasurementSet FlagCmd Table columns.
This class provides access to the columns in the MSFlagCmd Table, it does the declaration of all the ScalarColumns 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 167 of file MSFlagCmdColumns.h.
casa::MSFlagCmdColumns::MSFlagCmdColumns | ( | MSFlagCmd & | msFlagCmd | ) |
Create a columns object that accesses the data in the specified Table.
The destructor does nothing special.
casa::MSFlagCmdColumns::MSFlagCmdColumns | ( | ) | [protected] |
casa::MSFlagCmdColumns::MSFlagCmdColumns | ( | const MSFlagCmdColumns & | ) | [private] |
ScalarColumn<Bool>& casa::MSFlagCmdColumns::applied | ( | ) | [inline] |
Read-write access to required columns.
Definition at line 178 of file MSFlagCmdColumns.h.
References applied_p.
Referenced by applied().
const ROScalarColumn<Bool>& casa::MSFlagCmdColumns::applied | ( | ) | const [inline] |
Read-only access to required columns.
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 193 of file MSFlagCmdColumns.h.
References applied().
void casa::MSFlagCmdColumns::attach | ( | MSFlagCmd & | msFlagCmd | ) | [protected] |
ScalarColumn<String>& casa::MSFlagCmdColumns::command | ( | ) | [inline] |
const ROScalarColumn<String>& casa::MSFlagCmdColumns::command | ( | ) | const [inline] |
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 195 of file MSFlagCmdColumns.h.
References command().
ScalarColumn<Double>& casa::MSFlagCmdColumns::interval | ( | ) | [inline] |
const ROScalarColumn<Double>& casa::MSFlagCmdColumns::interval | ( | ) | const [inline] |
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 199 of file MSFlagCmdColumns.h.
References interval().
ScalarQuantColumn<Double>& casa::MSFlagCmdColumns::intervalQuant | ( | ) | [inline] |
Definition at line 181 of file MSFlagCmdColumns.h.
References intervalQuant_p.
Referenced by intervalQuant().
const ROScalarQuantColumn<Double>& casa::MSFlagCmdColumns::intervalQuant | ( | ) | const [inline] |
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 197 of file MSFlagCmdColumns.h.
References intervalQuant().
ScalarColumn<Int>& casa::MSFlagCmdColumns::level | ( | ) | [inline] |
const ROScalarColumn<Int>& casa::MSFlagCmdColumns::level | ( | ) | const [inline] |
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 201 of file MSFlagCmdColumns.h.
References level().
MSFlagCmdColumns& casa::MSFlagCmdColumns::operator= | ( | const MSFlagCmdColumns & | ) | [private] |
ScalarColumn<String>& casa::MSFlagCmdColumns::reason | ( | ) | [inline] |
const ROScalarColumn<String>& casa::MSFlagCmdColumns::reason | ( | ) | const [inline] |
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 203 of file MSFlagCmdColumns.h.
References reason().
void casa::MSFlagCmdColumns::setEpochRef | ( | MEpoch::Types | ref, |
Bool | tableMustBeEmpty = True |
||
) |
set the epoch type for the FLAG_CMD column.
Tip: In principle this function can only be used if the table is empty, otherwise already written values may thereafter have an incorrect reference, offset, or unit; However, it is possible that part of the table gets written before these values are known; In that case the reference, offset, or units can be set by using a False tableMustBeEmpty
argument;
ScalarColumn<Int>& casa::MSFlagCmdColumns::severity | ( | ) | [inline] |
const ROScalarColumn<Int>& casa::MSFlagCmdColumns::severity | ( | ) | const [inline] |
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 205 of file MSFlagCmdColumns.h.
References severity().
ScalarColumn<Double>& casa::MSFlagCmdColumns::time | ( | ) | [inline] |
const ROScalarColumn<Double>& casa::MSFlagCmdColumns::time | ( | ) | const [inline] |
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 207 of file MSFlagCmdColumns.h.
References time().
ScalarMeasColumn<MEpoch>& casa::MSFlagCmdColumns::timeMeas | ( | ) | [inline] |
const ROScalarMeasColumn<MEpoch>& casa::MSFlagCmdColumns::timeMeas | ( | ) | const [inline] |
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 211 of file MSFlagCmdColumns.h.
References timeMeas().
ScalarQuantColumn<Double>& casa::MSFlagCmdColumns::timeQuant | ( | ) | [inline] |
Definition at line 186 of file MSFlagCmdColumns.h.
References timeQuant_p.
Referenced by timeQuant().
const ROScalarQuantColumn<Double>& casa::MSFlagCmdColumns::timeQuant | ( | ) | const [inline] |
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 209 of file MSFlagCmdColumns.h.
References timeQuant().
ScalarColumn<String>& casa::MSFlagCmdColumns::type | ( | ) | [inline] |
const ROScalarColumn<String>& casa::MSFlagCmdColumns::type | ( | ) | const [inline] |
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 213 of file MSFlagCmdColumns.h.
References type().
ScalarColumn<Bool> casa::MSFlagCmdColumns::applied_p [private] |
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 243 of file MSFlagCmdColumns.h.
Referenced by applied().
ScalarColumn<String> casa::MSFlagCmdColumns::command_p [private] |
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 244 of file MSFlagCmdColumns.h.
Referenced by command().
ScalarColumn<Double> casa::MSFlagCmdColumns::interval_p [private] |
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 245 of file MSFlagCmdColumns.h.
Referenced by interval().
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 256 of file MSFlagCmdColumns.h.
Referenced by intervalQuant().
ScalarColumn<Int> casa::MSFlagCmdColumns::level_p [private] |
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 246 of file MSFlagCmdColumns.h.
Referenced by level().
ScalarColumn<String> casa::MSFlagCmdColumns::reason_p [private] |
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 247 of file MSFlagCmdColumns.h.
Referenced by reason().
ScalarColumn<Int> casa::MSFlagCmdColumns::severity_p [private] |
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 248 of file MSFlagCmdColumns.h.
Referenced by severity().
ScalarColumn<Double> casa::MSFlagCmdColumns::time_p [private] |
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 249 of file MSFlagCmdColumns.h.
Referenced by time().
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 253 of file MSFlagCmdColumns.h.
Referenced by timeMeas().
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 257 of file MSFlagCmdColumns.h.
Referenced by timeQuant().
ScalarColumn<String> casa::MSFlagCmdColumns::type_p [private] |
Reimplemented from casa::ROMSFlagCmdColumns.
Definition at line 250 of file MSFlagCmdColumns.h.
Referenced by type().