casa
5.7.0-16
|
A class to provide easy read-write access to MSProcessor columns. More...
#include <MSProcessorColumns.h>
Public Member Functions | |
MSProcessorColumns (MSProcessor &msProcessor) | |
Create a columns object that accesses the data in the specified Table. More... | |
~MSProcessorColumns () | |
The destructor does nothing special. More... | |
ScalarColumn< Bool > & | flagRow () |
Read-write access to required columns. More... | |
ScalarColumn< Int > & | modeId () |
ScalarColumn< String > & | type () |
ScalarColumn< Int > & | typeId () |
ScalarColumn< String > & | subType () |
ScalarColumn< Int > & | passId () |
Read-write access to optional columns. More... | |
const ROScalarColumn< Bool > & | flagRow () const |
Read-only access to required columns. More... | |
const ROScalarColumn< Int > & | modeId () const |
const ROScalarColumn< String > & | type () const |
const ROScalarColumn< Int > & | typeId () const |
const ROScalarColumn< String > & | subType () const |
const ROScalarColumn< Int > & | passId () const |
Read-only access to optional columns. More... | |
Public Member Functions inherited from casacore::ROMSProcessorColumns | |
ROMSProcessorColumns (const MSProcessor &msProcessor) | |
Create a columns object that accesses the data in the specified Table. More... | |
~ROMSProcessorColumns () | |
The destructor does nothing special. More... | |
const ROScalarColumn< Bool > & | flagRow () const |
Access to required columns. More... | |
const ROScalarColumn< Int > & | modeId () const |
const ROScalarColumn< String > & | type () const |
const ROScalarColumn< Int > & | typeId () const |
const ROScalarColumn< String > & | subType () const |
const ROScalarColumn< Int > & | passId () const |
Read-only access to optional columns. More... | |
uInt | nrow () const |
Convenience function that returns the number of rows in any of the columns. More... | |
Protected Member Functions | |
MSProcessorColumns () | |
void | attach (MSProcessor &msProcessor) |
Protected Member Functions inherited from casacore::ROMSProcessorColumns | |
ROMSProcessorColumns () | |
void | attach (const MSProcessor &msProcessor) |
Private Member Functions | |
MSProcessorColumns (const MSProcessorColumns &) | |
MSProcessorColumns & | operator= (const MSProcessorColumns &) |
void | attachOptionalCols (MSProcessor &msProcessor) |
Private Attributes | |
ScalarColumn< Bool > | flagRow_p |
ScalarColumn< Int > | modeId_p |
ScalarColumn< String > | type_p |
ScalarColumn< Int > | typeId_p |
ScalarColumn< String > | subType_p |
ScalarColumn< Int > | passId_p |
A class to provide easy read-write access to MSProcessor columns.
Public interface
MSProcessorColumns stands for MeasurementSet Processor Table columns.
This class provides access to the columns in the MSProcessor 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 157 of file MSProcessorColumns.h.
casacore::MSProcessorColumns::MSProcessorColumns | ( | MSProcessor & | msProcessor | ) |
Create a columns object that accesses the data in the specified Table.
casacore::MSProcessorColumns::~MSProcessorColumns | ( | ) |
The destructor does nothing special.
|
protected |
|
private |
|
protected |
|
private |
|
inline |
Read-write access to required columns.
Definition at line 168 of file MSProcessorColumns.h.
References flagRow_p.
|
inline |
Read-only access to required columns.
Definition at line 182 of file MSProcessorColumns.h.
References casacore::ROMSProcessorColumns::flagRow().
|
inline |
Definition at line 169 of file MSProcessorColumns.h.
References modeId_p.
Referenced by casa::sdfiller::ProcessorRecord::fill().
|
inline |
Definition at line 184 of file MSProcessorColumns.h.
References casacore::ROMSProcessorColumns::modeId().
|
private |
|
inline |
Read-write access to optional columns.
Definition at line 177 of file MSProcessorColumns.h.
References passId_p.
|
inline |
Read-only access to optional columns.
Definition at line 196 of file MSProcessorColumns.h.
References casacore::ROMSProcessorColumns::passId().
|
inline |
Definition at line 172 of file MSProcessorColumns.h.
References subType_p.
Referenced by casa::sdfiller::ProcessorRecord::fill().
|
inline |
Definition at line 190 of file MSProcessorColumns.h.
References casacore::ROMSProcessorColumns::subType().
|
inline |
Definition at line 170 of file MSProcessorColumns.h.
References type_p.
Referenced by casa::sdfiller::ProcessorRecord::fill().
|
inline |
Definition at line 186 of file MSProcessorColumns.h.
References casacore::ROMSProcessorColumns::type().
|
inline |
Definition at line 171 of file MSProcessorColumns.h.
References typeId_p.
Referenced by casa::sdfiller::ProcessorRecord::fill().
|
inline |
Definition at line 188 of file MSProcessorColumns.h.
References casacore::ROMSProcessorColumns::typeId().
|
private |
Definition at line 218 of file MSProcessorColumns.h.
Referenced by flagRow().
|
private |
Definition at line 219 of file MSProcessorColumns.h.
Referenced by modeId().
|
private |
Definition at line 224 of file MSProcessorColumns.h.
Referenced by passId().
|
private |
Definition at line 222 of file MSProcessorColumns.h.
Referenced by subType().
|
private |
Definition at line 220 of file MSProcessorColumns.h.
Referenced by type().
|
private |
Definition at line 221 of file MSProcessorColumns.h.
Referenced by typeId().