MSProcessorColumns.h
Classes
- ROMSProcessorColumns -- A class to provide easy read-only access to MSProcessor columns (full description)
- MSProcessorColumns -- A class to provide easy read-write access to MSProcessor columns (full description)
Interface
- Public Members
- ROMSProcessorColumns(const MSProcessor& msProcessor)
- ~ROMSProcessorColumns()
- const ROScalarColumn<Bool>& flagRow() const
- 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
- uInt nrow() const
- Protected Members
- ROMSProcessorColumns()
- void attach(const MSProcessor& msProcessor)
- Private Members
- ROMSProcessorColumns(const ROMSProcessorColumns&)
- ROMSProcessorColumns& operator=(const ROMSProcessorColumns&)
- void attachOptionalCols(const MSProcessor& msField)
Review Status
- Reviewed By:
- Bob Garwood
- Date Reviewed:
- 1997/02/01
Prerequisite
- MSProcessor
- ArrayColumn
- ScalarColumn
Etymology
ROMSProcessorColumns stands for Read-Only MeasurementSet Processor Table columns.
Synopsis
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.
Motivation
See MSColumns for the motivation.
Member Description
Create a columns object that accesses the data in the specified Table
The destructor does nothing special
Access to required columns
Read-only access to optional columns
uInt nrow() const
Convenience function that returns the number of rows in any of the columns
ROMSProcessorColumns& operator=(const ROMSProcessorColumns&)
Interface
Public Members
- MSProcessorColumns(MSProcessor& msProcessor)
- ~MSProcessorColumns()
- ScalarColumn<Bool>& flagRow()
- ScalarColumn<Int>& modeId()
- ScalarColumn<String>& type()
- ScalarColumn<Int>& typeId()
- ScalarColumn<String>& subType()
- ScalarColumn<Int>& passId()
- const ROScalarColumn<Bool>& flagRow() const
- 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
Protected Members
- MSProcessorColumns()
- void attach(MSProcessor& msProcessor)
Private Members
- MSProcessorColumns(const MSProcessorColumns&)
- MSProcessorColumns& operator=(const MSProcessorColumns&)
- void attachOptionalCols(MSProcessor& msProcessor)
Review Status
- Reviewed By:
- Bob Garwood
- Date Reviewed:
- 1997/02/01
Prerequisite
Etymology
MSProcessorColumns stands for MeasurementSet Processor Table columns.
Synopsis
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.
Motivation
See MSColumns for the motivation.
Member Description
Create a columns object that accesses the data in the specified Table
The destructor does nothing special
Read-write access to required columns
Read-write access to optional columns
Read-only access to required columns
Read-only access to optional columns
MSProcessorColumns& operator=(const MSProcessorColumns&)