casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
casa::CalDescRecord Class Reference

CalDescRecord: Cal_desc table record access and creation. More...

#include <CalDescRecord.h>

Public Member Functions

 CalDescRecord ()
 Default null constructor, and destructor. More...
 
 ~CalDescRecord ()
 
 CalDescRecord (const casacore::Record &inpRec)
 Construct from an existing record. More...
 
const casacore::Recordrecord ()
 Return as record. More...
 
void defineNumSpw (const casacore::Int &numSpw)
 Field accessors a) define. More...
 
void defineNumChan (const casacore::Array< casacore::Int > &numChan)
 
void defineNumReceptors (const casacore::Int &numReceptors)
 
void defineNJones (const casacore::Int &nJones)
 
void defineSpwId (const casacore::Array< casacore::Int > &spwId)
 
void defineChanFreq (const casacore::Array< casacore::Double > &chanFreq)
 
void defineChanWidth (const casacore::Array< casacore::Double > &chanWidth)
 
void defineChanRange (const casacore::Array< casacore::Int > &chanRange)
 
void definePolznType (const casacore::Array< casacore::String > &polznType)
 
void defineJonesType (const casacore::String &jonesType)
 
void defineMSName (const casacore::String &msName)
 
void getNumSpw (casacore::Int &numSpw)
 b) get More...
 
void getNumChan (casacore::Array< casacore::Int > &numChan)
 
void getNumReceptors (casacore::Int &numReceptors)
 
void getNJones (casacore::Int &nJones)
 
void getSpwId (casacore::Array< casacore::Int > &spwId)
 
void getChanFreq (casacore::Array< casacore::Double > &chanFreq)
 
void getChanWidth (casacore::Array< casacore::Double > &chanWidth)
 
void getChanRange (casacore::Array< casacore::Int > &chanRange)
 
void getPolznType (casacore::Array< casacore::String > &polznType)
 
void getJonesType (casacore::String &jonesType)
 
void getMSName (casacore::String &msName)
 

Protected Member Functions

void addRec (const casacore::Record &newRec)
 Add to itsRecord. More...
 

Private Attributes

casacore::Record itsRecord
 

Detailed Description

CalDescRecord: Cal_desc table record access and creation.

Intended use:

Public interface

Prerequisite

Etymology

From "calibration description sub-table" and "record".

Synopsis

The CalDescRecord classes allow access to, and creation of, records in the cal_desc calibration sub-table. Specializations for SkyJones calibration table record types is provided through inheritance.

Example

Motivation

Encapsulate access to cal_desc calibration table records.

Definition at line 72 of file CalDescRecord.h.

Constructor & Destructor Documentation

casa::CalDescRecord::CalDescRecord ( )

Default null constructor, and destructor.

casa::CalDescRecord::~CalDescRecord ( )
inline

Definition at line 77 of file CalDescRecord.h.

casa::CalDescRecord::CalDescRecord ( const casacore::Record inpRec)

Construct from an existing record.

Member Function Documentation

void casa::CalDescRecord::addRec ( const casacore::Record newRec)
protected

Add to itsRecord.

void casa::CalDescRecord::defineChanFreq ( const casacore::Array< casacore::Double > &  chanFreq)
void casa::CalDescRecord::defineChanRange ( const casacore::Array< casacore::Int > &  chanRange)
void casa::CalDescRecord::defineChanWidth ( const casacore::Array< casacore::Double > &  chanWidth)
void casa::CalDescRecord::defineJonesType ( const casacore::String jonesType)
void casa::CalDescRecord::defineMSName ( const casacore::String msName)
void casa::CalDescRecord::defineNJones ( const casacore::Int nJones)
void casa::CalDescRecord::defineNumChan ( const casacore::Array< casacore::Int > &  numChan)
void casa::CalDescRecord::defineNumReceptors ( const casacore::Int numReceptors)
void casa::CalDescRecord::defineNumSpw ( const casacore::Int numSpw)

Field accessors a) define.

void casa::CalDescRecord::definePolznType ( const casacore::Array< casacore::String > &  polznType)
void casa::CalDescRecord::defineSpwId ( const casacore::Array< casacore::Int > &  spwId)
void casa::CalDescRecord::getChanFreq ( casacore::Array< casacore::Double > &  chanFreq)
void casa::CalDescRecord::getChanRange ( casacore::Array< casacore::Int > &  chanRange)
void casa::CalDescRecord::getChanWidth ( casacore::Array< casacore::Double > &  chanWidth)
void casa::CalDescRecord::getJonesType ( casacore::String jonesType)
void casa::CalDescRecord::getMSName ( casacore::String msName)
void casa::CalDescRecord::getNJones ( casacore::Int nJones)
void casa::CalDescRecord::getNumChan ( casacore::Array< casacore::Int > &  numChan)
void casa::CalDescRecord::getNumReceptors ( casacore::Int numReceptors)
void casa::CalDescRecord::getNumSpw ( casacore::Int numSpw)

b) get

void casa::CalDescRecord::getPolznType ( casacore::Array< casacore::String > &  polznType)
void casa::CalDescRecord::getSpwId ( casacore::Array< casacore::Int > &  spwId)
const casacore::Record& casa::CalDescRecord::record ( )

Return as record.

Member Data Documentation

casacore::Record casa::CalDescRecord::itsRecord
private

Definition at line 117 of file CalDescRecord.h.


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