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::ROCalHistoryColumns Class Reference

ROCalHistoryColumns: Read-only cal_history calibration table column access. More...

#include <CalHistoryColumns.h>

List of all members.

Public Member Functions

 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

Protected Member Functions

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

Private Member Functions

 ROCalHistoryColumns (const ROCalHistoryColumns &)
 Prohibit copy constructor and assignment operator.
ROCalHistoryColumnsoperator= (const ROCalHistoryColumns &)

Private Attributes

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

Detailed Description

ROCalHistoryColumns: Read-only cal_history calibration table column access.

Intended use:

Public interface

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.

Definition at line 75 of file CalHistoryColumns.h.


Constructor & Destructor Documentation

Construct from a cal_history calibration sub-table.

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

Default destructor.

Definition at line 82 of file CalHistoryColumns.h.

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

Definition at line 93 of file CalHistoryColumns.h.

Prohibit copy constructor and assignment operator.


Member Function Documentation

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

Attach a table column accessor.

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

Return a CalTable cal_history subtable as a Table reference.

Utilizes friendship relationship with class CalTable.

Definition at line 97 of file CalHistoryColumns.h.

References casa::CalTable::calHistoryAsTable().

Definition at line 88 of file CalHistoryColumns.h.

References calNotes_p.

Read-only column accessors.

Definition at line 85 of file CalHistoryColumns.h.

References calParms_p.

Definition at line 87 of file CalHistoryColumns.h.

References calSelect_p.

Definition at line 86 of file CalHistoryColumns.h.

References calTables_p.

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

Member Data Documentation

Definition at line 113 of file CalHistoryColumns.h.

Referenced by calNotes().

Private column accessors.

Definition at line 110 of file CalHistoryColumns.h.

Referenced by calParms().

Definition at line 112 of file CalHistoryColumns.h.

Referenced by calSelect().

Definition at line 111 of file CalHistoryColumns.h.

Referenced by calTables().


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