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)

class ROMSProcessorColumns

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)

Description

Review Status

Reviewed By:
Bob Garwood
Date Reviewed:
1997/02/01

Prerequisite

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

ROMSProcessorColumns(const MSProcessor& msProcessor)

Create a columns object that accesses the data in the specified Table

~ROMSProcessorColumns()

The destructor does nothing special

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

Access to required columns

const ROScalarColumn<Int>& passId() const

Read-only access to optional columns

uInt nrow() const

Convenience function that returns the number of rows in any of the columns

ROMSProcessorColumns()

void attach(const MSProcessor& msProcessor)

ROMSProcessorColumns(const ROMSProcessorColumns&)

ROMSProcessorColumns& operator=(const ROMSProcessorColumns&)

void attachOptionalCols(const MSProcessor& msField)


class MSProcessorColumns: public 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)

Description

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

MSProcessorColumns(MSProcessor& msProcessor)

Create a columns object that accesses the data in the specified Table

~MSProcessorColumns()

The destructor does nothing special

ScalarColumn<Bool>& flagRow()
ScalarColumn<Int>& modeId()
ScalarColumn<String>& type()
ScalarColumn<Int>& typeId()
ScalarColumn<String>& subType()

Read-write access to required columns

ScalarColumn<Int>& passId()

Read-write access to optional columns

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

Read-only access to required columns

const ROScalarColumn<Int>& passId() const

Read-only access to optional columns

MSProcessorColumns()

void attach(MSProcessor& msProcessor)

MSProcessorColumns(const MSProcessorColumns&)

MSProcessorColumns& operator=(const MSProcessorColumns&)

void attachOptionalCols(MSProcessor& msProcessor)