CalHistoryColumns.h

Classes

ROCalHistoryColumns -- ROCalHistoryColumns: Read-only cal_history calibration table column access (full description)
CalHistoryColumns -- CalHistoryColumns: Read-write cal_history calibration table column access (full description)

class ROCalHistoryColumns

Interface

Public Members
ROCalHistoryColumns (const CalTable& calTable)
virtual ~ROCalHistoryColumns()
const ROScalarColumn<String>& calParms() const
const ROScalarColumn<String>& calTables() const
const ROScalarColumn<String>& calSelect() const
const ROScalarColumn<String>& calNotes() const
Protected Members
ROCalHistoryColumns()
const Table& calHistoryAsTable(const CalTable& calTable)
void attach (const CalTable& calTable, ROTableColumn& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
Private Members
ROCalHistoryColumns (const ROCalHistoryColumns&)
ROCalHistoryColumns& operator= (const ROCalHistoryColumns&)

Description

Prerequisite

Etymology

From "read-only", "calibration history table" and "columns".

Synopsis

The ROCalHistoryColumns class allows read-only access to columns in the cal_history calibration sub-table.

Example


 

Motivation

Encapsulate read-only access to cal_history calibration sub-table columns.

To Do

Member Description

ROCalHistoryColumns (const CalTable& calTable)

Construct from a cal_history calibration sub-table

virtual ~ROCalHistoryColumns()

Default destructor

const ROScalarColumn<String>& calParms() const

Read-only column accessors

const ROScalarColumn<String>& calTables() const

const ROScalarColumn<String>& calSelect() const

const ROScalarColumn<String>& calNotes() const

ROCalHistoryColumns()

Prohibit public use of the null constructor, which does not produce a usable object.

const Table& calHistoryAsTable(const CalTable& calTable)

Return a CalTable cal_history subtable as a Table reference. Utilizes friendship relationship with class CalTable.

void attach (const CalTable& calTable, ROTableColumn& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)

Attach a table column accessor

ROCalHistoryColumns (const ROCalHistoryColumns&)

Prohibit copy constructor and assignment operator

ROCalHistoryColumns& operator= (const ROCalHistoryColumns&)


class CalHistoryColumns

Interface

Public Members
CalHistoryColumns (CalTable& calTable)
virtual ~CalHistoryColumns()
ScalarColumn<String>& calParms()
ScalarColumn<String>& calTables()
ScalarColumn<String>& calSelect()
ScalarColumn<String>& calNotes()
Protected Members
CalHistoryColumns()
Table& calHistoryAsTable(CalTable& calTable)
void attach (CalTable& calTable, ROTableColumn& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)
Private Members
CalHistoryColumns (const CalHistoryColumns&)
CalHistoryColumns& operator= (const CalHistoryColumns&)

Description

Prerequisite

Etymology

From "calibration history table" and "columns".

Synopsis

The CalHistoryColumns class allows read-write access to columns in the cal_history calibration sub-table.

Example


 

Motivation

Encapsulate access to cal_history calibration sub-table columns.

To Do

Member Description

CalHistoryColumns (CalTable& calTable)

Construct from a calibration table

virtual ~CalHistoryColumns()

Default destructor

ScalarColumn<String>& calParms()

Read-write column accessors

ScalarColumn<String>& calTables()

ScalarColumn<String>& calSelect()

ScalarColumn<String>& calNotes()

CalHistoryColumns()

Prohibit public use of the null constructor, which does not produce a usable object.

Table& calHistoryAsTable(CalTable& calTable)

Return a CalTable cal_history subtable as a Table reference. Utilizes friendship relationship with class CalTable.

void attach (CalTable& calTable, ROTableColumn& tabCol, MSCalEnums::colDef colEnum, const Bool& optional = False)

Attach a table column accessor

CalHistoryColumns (const CalHistoryColumns&)

Prohibit copy constructor and assignment operator

CalHistoryColumns& operator= (const CalHistoryColumns&)