casa
5.7.0-16
|
A class to provide easy read-only access to MSProcessor columns. More...
#include <MSProcessorColumns.h>
Public Member Functions | |
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 | |
ROMSProcessorColumns () | |
void | attach (const MSProcessor &msProcessor) |
Private Member Functions | |
ROMSProcessorColumns (const ROMSProcessorColumns &) | |
ROMSProcessorColumns & | operator= (const ROMSProcessorColumns &) |
void | attachOptionalCols (const MSProcessor &msField) |
Private Attributes | |
ROScalarColumn< Bool > | flagRow_p |
ROScalarColumn< Int > | modeId_p |
ROScalarColumn< String > | type_p |
ROScalarColumn< Int > | typeId_p |
ROScalarColumn< String > | subType_p |
ROScalarColumn< Int > | passId_p |
A class to provide easy read-only access to MSProcessor columns.
Public interface
ROMSProcessorColumns stands for Read-Only MeasurementSet Processor Table columns.
This class provides read-only 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 ROMSColumns for an example.
See MSColumns for the motivation.
Definition at line 72 of file MSProcessorColumns.h.
casacore::ROMSProcessorColumns::ROMSProcessorColumns | ( | const MSProcessor & | msProcessor | ) |
Create a columns object that accesses the data in the specified Table.
casacore::ROMSProcessorColumns::~ROMSProcessorColumns | ( | ) |
The destructor does nothing special.
|
protected |
|
private |
|
protected |
|
private |
|
inline |
Access to required columns.
Definition at line 83 of file MSProcessorColumns.h.
References flagRow_p.
Referenced by casacore::MSProcessorColumns::flagRow().
|
inline |
Definition at line 84 of file MSProcessorColumns.h.
References modeId_p.
Referenced by casacore::MSProcessorColumns::modeId().
|
inline |
Convenience function that returns the number of rows in any of the columns.
Definition at line 96 of file MSProcessorColumns.h.
References flagRow_p.
Referenced by casa::sdfiller::ProcessorRecord::fill().
|
private |
|
inline |
Read-only access to optional columns.
Definition at line 92 of file MSProcessorColumns.h.
References passId_p.
Referenced by casacore::MSProcessorColumns::passId().
|
inline |
Definition at line 87 of file MSProcessorColumns.h.
References subType_p.
Referenced by casacore::MSProcessorColumns::subType().
|
inline |
Definition at line 85 of file MSProcessorColumns.h.
References type_p.
Referenced by casacore::MSProcessorColumns::type().
|
inline |
Definition at line 86 of file MSProcessorColumns.h.
References typeId_p.
Referenced by casacore::MSProcessorColumns::typeId().
|
private |
Definition at line 116 of file MSProcessorColumns.h.
|
private |
Definition at line 117 of file MSProcessorColumns.h.
Referenced by modeId().
|
private |
Definition at line 122 of file MSProcessorColumns.h.
Referenced by passId().
|
private |
Definition at line 120 of file MSProcessorColumns.h.
Referenced by subType().
|
private |
Definition at line 118 of file MSProcessorColumns.h.
Referenced by type().
|
private |
Definition at line 119 of file MSProcessorColumns.h.
Referenced by typeId().