Документ взят из кэша поисковой машины. Адрес оригинального документа : http://www.atnf.csiro.au/computing/software/casacore/casacore-1.2.0/doc/html/classcasa_1_1ROMSHistoryColumns.html
Дата изменения: Unknown
Дата индексирования: Mon Feb 14 23:08:07 2011
Кодировка:

Поисковые слова: п п п п п п п п п п п п п п п п
casacore: casa::ROMSHistoryColumns Class Reference
Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes

casa::ROMSHistoryColumns Class Reference
[MeasurementSets_module]

A class to provide easy read-only access to MSHistory columns. More...

#include <MSHistoryColumns.h>

Inheritance diagram for casa::ROMSHistoryColumns:
casa::MSHistoryColumns

List of all members.

Public Member Functions

 ROMSHistoryColumns (const MSHistory &msHistory)
 Create a columns object that accesses the data in the specified Table.
 ~ROMSHistoryColumns ()
 The destructor does nothing special.
const ROScalarColumn< String > & application () const
 Access to required columns.
const ROArrayColumn< String > & appParams () const
const ROArrayColumn< String > & cliCommand () const
const ROScalarColumn< String > & message () const
const ROScalarColumn< Int > & objectId () const
const ROScalarColumn< Int > & observationId () const
const ROScalarColumn< String > & origin () const
const ROScalarColumn< String > & priority () const
const ROScalarColumn< Double > & time () const
const ROScalarQuantColumn
< Double > & 
timeQuant () const
const ROScalarMeasColumn
< MEpoch > & 
timeMeas () const
uInt nrow () const
 Convenience function that returns the number of rows in any of the columns.

Protected Member Functions

 ROMSHistoryColumns ()
void attach (const MSHistory &msHistory)

Private Member Functions

 ROMSHistoryColumns (const ROMSHistoryColumns &)
ROMSHistoryColumnsoperator= (const ROMSHistoryColumns &)

Private Attributes

ROScalarColumn< Stringapplication_p
ROArrayColumn< StringappParams_p
ROArrayColumn< StringcliCommand_p
ROScalarColumn< Stringmessage_p
ROScalarColumn< IntobjectId_p
ROScalarColumn< IntobservationId_p
ROScalarColumn< Stringorigin_p
ROScalarColumn< Stringpriority_p
ROScalarColumn< Doubletime_p
ROScalarMeasColumn< MEpochtimeMeas_p
ROScalarQuantColumn< DoubletimeQuant_p

Detailed Description

A class to provide easy read-only access to MSHistory columns.

Intended use:

Public interface

Review Status

Reviewed By:
Bob Garwood
Date Reviewed:
1997/02/01

Prerequisite

Etymology

ROMSHistoryColumns stands for Read-Only MeasurementSet History Table columns.

Synopsis

This class provides read-only access to the columns in the MSHistory Table. It does the declaration of all the Scalar and ArrayColumns with the correct types, so the application programmer doesn't have to worry about getting those right. There is an access function for every predefined column. Access to non-predefined columns will still have to be done with explicit declarations. See ROMSColumns for an example.

Motivation

See MSColumns for the motivation.

Definition at line 76 of file MSHistoryColumns.h.


Constructor & Destructor Documentation

casa::ROMSHistoryColumns::ROMSHistoryColumns ( const MSHistory msHistory  ) 

Create a columns object that accesses the data in the specified Table.

casa::ROMSHistoryColumns::~ROMSHistoryColumns (  ) 

The destructor does nothing special.

casa::ROMSHistoryColumns::ROMSHistoryColumns (  )  [protected]
casa::ROMSHistoryColumns::ROMSHistoryColumns ( const ROMSHistoryColumns  )  [private]

Member Function Documentation

const ROScalarColumn<String>& casa::ROMSHistoryColumns::application (  )  const [inline]

Access to required columns.

Reimplemented in casa::MSHistoryColumns.

Definition at line 87 of file MSHistoryColumns.h.

References application_p.

const ROArrayColumn<String>& casa::ROMSHistoryColumns::appParams (  )  const [inline]

Reimplemented in casa::MSHistoryColumns.

Definition at line 88 of file MSHistoryColumns.h.

References appParams_p.

void casa::ROMSHistoryColumns::attach ( const MSHistory msHistory  )  [protected]
const ROArrayColumn<String>& casa::ROMSHistoryColumns::cliCommand (  )  const [inline]

Reimplemented in casa::MSHistoryColumns.

Definition at line 89 of file MSHistoryColumns.h.

References cliCommand_p.

const ROScalarColumn<String>& casa::ROMSHistoryColumns::message (  )  const [inline]

Reimplemented in casa::MSHistoryColumns.

Definition at line 90 of file MSHistoryColumns.h.

References message_p.

uInt casa::ROMSHistoryColumns::nrow (  )  const [inline]

Convenience function that returns the number of rows in any of the columns.

Definition at line 101 of file MSHistoryColumns.h.

References application_p, and casa::ROTableColumn::nrow().

const ROScalarColumn<Int>& casa::ROMSHistoryColumns::objectId (  )  const [inline]

Reimplemented in casa::MSHistoryColumns.

Definition at line 91 of file MSHistoryColumns.h.

References objectId_p.

const ROScalarColumn<Int>& casa::ROMSHistoryColumns::observationId (  )  const [inline]

Reimplemented in casa::MSHistoryColumns.

Definition at line 92 of file MSHistoryColumns.h.

References observationId_p.

ROMSHistoryColumns& casa::ROMSHistoryColumns::operator= ( const ROMSHistoryColumns  )  [private]
const ROScalarColumn<String>& casa::ROMSHistoryColumns::origin ( &n