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

A filler for the GBT GO (user interface) FITS files. More...

#include <GBTGOFiller.h>

List of all members.

Public Member Functions

 GBTGOFiller (Table &parent)
 makes a new NRAO_GBT_GLISH subtable if one is not already present in parent, otherwise it opens that one up as is.
virtual ~GBTGOFiller ()
virtual void fill (const GBTGOFile &goFile, Double time, Double interval, Int trueScanNumber)
 fill the subtable using the supplied GBTGOFile.
void flush ()
 flush the underlying simple table

Private Member Functions

 GBTGOFiller ()
 unavailable, undefined
 GBTGOFiller (const GBTGOFiller &)
GBTGOFilleroperator= (const GBTGOFiller &)

Private Attributes

GBTSimpleTableitsTable

Detailed Description

A filler for the GBT GO (user interface) FITS files.

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

This fills a subtable of a MS using the contents of the GO fits file. This fits file is generated by the GBT users interface and contains information relevent to how the user set up each scan.

Synopsis

Example

Motivation

This file is not like the DAP files, it needs a separate filler.

Thrown Exceptions

Definition at line 80 of file GBTGOFiller.h.


Constructor & Destructor Documentation

GBTGOFiller::GBTGOFiller ( Table &  parent)

makes a new NRAO_GBT_GLISH subtable if one is not already present in parent, otherwise it opens that one up as is.

virtual GBTGOFiller::~GBTGOFiller ( ) [virtual]
GBTGOFiller::GBTGOFiller ( ) [private]

unavailable, undefined

GBTGOFiller::GBTGOFiller ( const GBTGOFiller ) [private]

Member Function Documentation

virtual void GBTGOFiller::fill ( const GBTGOFile goFile,
Double  time,
Double  interval,
Int  trueScanNumber 
) [virtual]

fill the subtable using the supplied GBTGOFile.

The scan number is used as an index column as is the time and interval. The time should be the midpoint of the scan and the interval is the duration of the scan. A new row is added for each call to this function. trueScanNumber is used to compare the scan number in the GO file with that actually being filled. If the two differ, a warning message is logged and the trueScanNumber is used.

void GBTGOFiller::flush ( ) [inline]

flush the underlying simple table

Definition at line 100 of file GBTGOFiller.h.

References GBTSimpleTable::flush(), and itsTable.

GBTGOFiller& GBTGOFiller::operator= ( const GBTGOFiller ) [private]

Member Data Documentation

Definition at line 102 of file GBTGOFiller.h.

Referenced by flush().


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