casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
casa::CalHistoryColumns Class Reference

CalHistoryColumns: Read-write cal_history calibration table column access. More...

#include <CalHistoryColumns.h>

List of all members.

Public Member Functions

 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 ()

Protected Member Functions

 CalHistoryColumns ()
 Prohibit public use of the null constructor, which does not produce a usable object.
TablecalHistoryAsTable (CalTable &calTable)
 Return a CalTable cal_history subtable as a Table reference.
void attach (CalTable &calTable, ROTableColumn &tabCol, MSCalEnums::colDef colEnum, const Bool &optional=False)
 Attach a table column accessor.

Private Member Functions

 CalHistoryColumns (const CalHistoryColumns &)
 Prohibit copy constructor and assignment operator.
CalHistoryColumnsoperator= (const CalHistoryColumns &)

Private Attributes

ScalarColumn< StringcalParms_p
 Private column accessors.
ScalarColumn< StringcalTables_p
ScalarColumn< StringcalSelect_p
ScalarColumn< StringcalNotes_p

Detailed Description

CalHistoryColumns: Read-write cal_history calibration table column access.

Intended use:

Public interface

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.

Definition at line 150 of file CalHistoryColumns.h.


Constructor & Destructor Documentation

Construct from a calibration table.

virtual casa::CalHistoryColumns::~CalHistoryColumns ( ) [inline, virtual]

Default destructor.

Definition at line 157 of file CalHistoryColumns.h.

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

Definition at line 168 of file CalHistoryColumns.h.

Prohibit copy constructor and assignment operator.


Member Function Documentation

void casa::CalHistoryColumns::attach ( CalTable calTable,
ROTableColumn tabCol,
MSCalEnums::colDef  colEnum,
const Bool optional = False 
) [protected]

Attach a table column accessor.

Table& casa::CalHistoryColumns::calHistoryAsTable ( CalTable calTable) [inline, protected]

Return a CalTable cal_history subtable as a Table reference.

Utilizes friendship relationship with class CalTable.

Definition at line 172 of file CalHistoryColumns.h.

References casa::CalTable::calHistoryAsTable().

Definition at line 163 of file CalHistoryColumns.h.

References calNotes_p.

Read-write column accessors.

Definition at line 160 of file CalHistoryColumns.h.

References calParms_p.

Definition at line 162 of file CalHistoryColumns.h.

References calSelect_p.

Definition at line 161 of file CalHistoryColumns.h.

References calTables_p.

CalHistoryColumns& casa::CalHistoryColumns::operator= ( const CalHistoryColumns ) [private]

Member Data Documentation

Definition at line 188 of file CalHistoryColumns.h.

Referenced by calNotes().

Private column accessors.

Definition at line 185 of file CalHistoryColumns.h.

Referenced by calParms().

Definition at line 187 of file CalHistoryColumns.h.

Referenced by calSelect().

Definition at line 186 of file CalHistoryColumns.h.

Referenced by calTables().


The documentation for this class was generated from the following file: