casacore
|
A class to provide easy access to MSProcessor columns. More...
#include <MSProcessorColumns.h>
Public Member Functions | |
MSProcessorColumns (const 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 () |
Access to required columns. More... | |
ScalarColumn< Int > & | modeId () |
ScalarColumn< String > & | type () |
ScalarColumn< Int > & | typeId () |
ScalarColumn< String > & | subType () |
ScalarColumn< Int > & | passId () |
Access to optional columns. More... | |
const ScalarColumn< Bool > & | flagRow () const |
Const access to required columns. More... | |
const ScalarColumn< Int > & | modeId () const |
const ScalarColumn< String > & | type () const |
const ScalarColumn< Int > & | typeId () const |
const ScalarColumn< String > & | subType () const |
const ScalarColumn< Int > & | passId () const |
Const access to optional columns. More... | |
rownr_t | nrow () const |
Convenience function that returns the number of rows in any of the columns. More... | |
Protected Member Functions | |
MSProcessorColumns () | |
void | attach (const MSProcessor &msProcessor) |
Private Member Functions | |
MSProcessorColumns (const MSProcessorColumns &) | |
MSProcessorColumns & | operator= (const MSProcessorColumns &) |
void | attachOptionalCols (const 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 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 71 of file MSProcessorColumns.h.
casacore::MSProcessorColumns::MSProcessorColumns | ( | const 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 |
Access to required columns.
Definition at line 82 of file MSProcessorColumns.h.
References flagRow_p.
|
inline |
Const access to required columns.
Definition at line 96 of file MSProcessorColumns.h.
References flagRow_p.
|
inline |
Definition at line 83 of file MSProcessorColumns.h.
References modeId_p.
|
inline |
Definition at line 97 of file MSProcessorColumns.h.
References modeId_p.
|
inline |
Convenience function that returns the number of rows in any of the columns.
Definition at line 109 of file MSProcessorColumns.h.
References flagRow_p, and casacore::TableColumn::nrow().
|
private |
|
inline |
Access to optional columns.
Definition at line 91 of file MSProcessorColumns.h.
References passId_p.
|
inline |
Const access to optional columns.
Definition at line 105 of file MSProcessorColumns.h.
References passId_p.
|
inline |
Definition at line 86 of file MSProcessorColumns.h.
References subType_p.
|
inline |
Definition at line 100 of file MSProcessorColumns.h.
References subType_p.
|
inline |
Definition at line 84 of file MSProcessorColumns.h.
References type_p.
|
inline |
Definition at line 98 of file MSProcessorColumns.h.
References type_p.
|
inline |
Definition at line 85 of file MSProcessorColumns.h.
References typeId_p.
|
inline |
Definition at line 99 of file MSProcessorColumns.h.
References typeId_p.
|
private |
Definition at line 129 of file MSProcessorColumns.h.
|
private |
Definition at line 130 of file MSProcessorColumns.h.
Referenced by modeId().
|
private |
Definition at line 135 of file MSProcessorColumns.h.
Referenced by passId().
|
private |
Definition at line 133 of file MSProcessorColumns.h.
Referenced by subType().
|
private |
Definition at line 131 of file MSProcessorColumns.h.
Referenced by type().
|
private |
Definition at line 132 of file MSProcessorColumns.h.
Referenced by typeId().