MSStateColumns.h

Classes

ROMSStateColumns -- A class to provide easy read-only access to MSState columns (full description)
MSStateColumns -- A class to provide easy read-write access to MSState columns (full description)

class ROMSStateColumns

Interface

Public Members
ROMSStateColumns(const MSState& msState)
~ROMSStateColumns()
const ROScalarColumn<Double>& cal() const
const ROScalarQuantColumn<Double>& calQuant() const
const ROScalarColumn<Bool>& flagRow() const
const ROScalarColumn<Double>& load() const
const ROScalarQuantColumn<Double>& loadQuant() const
const ROScalarColumn<String>& obsMode() const
const ROScalarColumn<Bool>& ref() const
const ROScalarColumn<Bool>& sig() const
const ROScalarColumn<Int>& subScan() const
uInt nrow() const
Protected Members
ROMSStateColumns()
void attach(const MSState& msState)
Private Members
ROMSStateColumns(const ROMSStateColumns&)
ROMSStateColumns& operator=(const ROMSStateColumns&)

Description

Review Status

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

Prerequisite

Etymology

ROMSStateColumns stands for Read-Only MeasurementSet State Table columns.

Synopsis

This class provides read-only access to the columns in the MSState 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

ROMSStateColumns(const MSState& msState)

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

~ROMSStateColumns()

The destructor does nothing special

const ROScalarColumn<Double>& cal() const
const ROScalarQuantColumn<Double>& calQuant() const
const ROScalarColumn<Bool>& flagRow() const
const ROScalarColumn<Double>& load() const
const ROScalarQuantColumn<Double>& loadQuant() const
const ROScalarColumn<String>& obsMode() const
const ROScalarColumn<Bool>& ref() const
const ROScalarColumn<Bool>& sig() const
const ROScalarColumn<Int>& subScan() const

Access to required columns

uInt nrow() const

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

ROMSStateColumns()

void attach(const MSState& msState)

ROMSStateColumns(const ROMSStateColumns&)

ROMSStateColumns& operator=(const ROMSStateColumns&)


class MSStateColumns: public ROMSStateColumns

Interface

Public Members
MSStateColumns(MSState& msState)
~MSStateColumns()
ScalarColumn<Double>& cal()
ScalarQuantColumn<Double>& calQuant()
ScalarColumn<Bool>& flagRow()
ScalarColumn<Double>& load()
ScalarQuantColumn<Double>& loadQuant()
ScalarColumn<String>& obsMode()
ScalarColumn<Bool>& ref()
ScalarColumn<Bool>& sig()
ScalarColumn<Int>& subScan()
Protected Members
MSStateColumns()
void attach(MSState& msState)
Private Members
MSStateColumns(const MSStateColumns&)
MSStateColumns& operator=(const MSStateColumns&)

Description

Review Status

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

Prerequisite

Etymology

MSStateColumns stands for MeasurementSet State Table columns.

Synopsis

This class provides access to the columns in the MSState 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

MSStateColumns(MSState& msState)

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

~MSStateColumns()

The destructor does nothing special

ScalarColumn<Double>& cal()
ScalarQuantColumn<Double>& calQuant()
ScalarColumn<Bool>& flagRow()
ScalarColumn<Double>& load()
ScalarQuantColumn<Double>& loadQuant()
ScalarColumn<String>& obsMode()
ScalarColumn<Bool>& ref()
ScalarColumn<Bool>& sig()
ScalarColumn<Int>& subScan()

Read-only access to required columns

MSStateColumns()

void attach(MSState& msState)

MSStateColumns(const MSStateColumns&)

MSStateColumns& operator=(const MSStateColumns&)