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)
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&)
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
(i) Deal with non-standard columns.
Member Description
Construct from a cal_history calibration sub-table
Default destructor
Read-only column accessors
Prohibit public use of the null constructor, which
does not produce a usable object.
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
Prohibit copy constructor and assignment operator
ROCalHistoryColumns& operator= (const ROCalHistoryColumns&)
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&)
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
(i) Deal with non-standard columns.
Member Description
Construct from a calibration table
Default destructor
Read-write column accessors
Prohibit public use of the null constructor, which
does not produce a usable object.
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
Prohibit copy constructor and assignment operator
CalHistoryColumns& operator= (const CalHistoryColumns&)