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 Table & calHistoryAsTable (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< String > calParms_p
 Private column accessors.
ROScalarColumn< String > calTables_p
ROScalarColumn< String > calSelect_p
ROScalarColumn< String > calNotes_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

casa::ROCalHistoryColumns::ROCalHistoryColumns ( const CalTable calTable  ) 

Construct from a cal_history calibration sub-table.

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

Default destructor.

Definition at line 82 of file CalHistoryColumns.h.

casa::ROCalHistoryColumns::ROCalHistoryColumns (  )  [inline, protected]

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

Definition at line 93 of file CalHistoryColumns.h.

casa::ROCalHistoryColumns::ROCalHistoryColumns ( const ROCalHistoryColumns  )  [private]

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

const ROScalarColumn<String>& casa::ROCalHistoryColumns::calNotes (  )  const [inline]

Definition at line 88 of file CalHistoryColumns.h.

References calNotes_p.

const ROScalarColumn<String>& casa::ROCalHistoryColumns::calParms (  )  const [inline]

Read-only column accessors.

Definition at line 85 of file CalHistoryColumns.h.

References calParms_p.

const ROScalarColumn<String>& casa::ROCalHistoryColumns::calSelect (  )  const [inline]

Definition at line 87 of file CalHistoryColumns.h.

References calSelect_p.

const ROScalarColumn<String>& casa::ROCalHistoryColumns::calTables (  )  const [inline]

Definition at line 86 of file CalHistoryColumns.h.

References calTables_p.

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

Member Data Documentation

ROScalarColumn<String> casa::ROCalHistoryColumns::calNotes_p [private]

Definition at line 113 of file CalHistoryColumns.h.

Referenced by calNotes().

ROScalarColumn<String> casa::ROCalHistoryColumns::calParms_p [private]

Private column accessors.

Definition at line 110 of file CalHistoryColumns.h.

Referenced by calParms().

ROScalarColumn<String> casa::ROCalHistoryColumns::calSelect_p [private]

Definition at line 112 of file CalHistoryColumns.h.

Referenced by calSelect().

ROScalarColumn<String> casa::ROCalHistoryColumns::calTables_p [private]

Definition at line 111 of file CalHistoryColumns.h.

Referenced by calTables().


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1