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

Class to write out Parkes multibeam data. More...

#include <PKSwriter.h>

Inheritance diagram for PKSwriter:
PKSMS2writer PKSSDwriter

List of all members.

Public Member Functions

virtual ~PKSwriter ()
 Destructor.
virtual Int create (const String outName, const String observer, const String project, const String antName, const Vector< Double > antPosition, const String obsMode, const String bunit, const Float equinox, const String dopplerFrame, const Vector< uInt > nChan, const Vector< uInt > nPol, const Vector< Bool > haveXPol, const Bool havebase)=0
 Create the output file and and write static data.
virtual Int write (const PKSrecord &pksrec)=0
 Write the next data record.
virtual Int history (const String text)
 Write a history record.
virtual Int history (const char *text)
virtual void close ()=0
 Close the output file.

Protected Attributes

Bool cHaveBase
uInt cNIF
Vector< Bool > cHaveXPol
Vector< uInt > cNChan
Vector< uInt > cNPol

Detailed Description

Class to write out Parkes multibeam data.

Definition at line 51 of file PKSwriter.h.


Constructor & Destructor Documentation

virtual PKSwriter::~PKSwriter ( ) [inline, virtual]

Destructor.

Definition at line 55 of file PKSwriter.h.


Member Function Documentation

virtual void PKSwriter::close ( ) [pure virtual]

Close the output file.

Implemented in PKSMS2writer, and PKSSDwriter.

virtual Int PKSwriter::create ( const String  outName,
const String  observer,
const String  project,
const String  antName,
const Vector< Double >  antPosition,
const String  obsMode,
const String  bunit,
const Float  equinox,
const String  dopplerFrame,
const Vector< uInt >  nChan,
const Vector< uInt >  nPol,
const Vector< Bool >  haveXPol,
const Bool  havebase 
) [pure virtual]

Create the output file and and write static data.

Implemented in PKSSDwriter, and PKSMS2writer.

virtual Int PKSwriter::history ( const String  text) [inline, virtual]

Write a history record.

Reimplemented in PKSSDwriter.

Definition at line 78 of file PKSwriter.h.

virtual Int PKSwriter::history ( const char *  text) [inline, virtual]

Reimplemented in PKSSDwriter.

Definition at line 79 of file PKSwriter.h.

virtual Int PKSwriter::write ( const PKSrecord pksrec) [pure virtual]

Write the next data record.

Implemented in PKSMS2writer, and PKSSDwriter.


Member Data Documentation

Bool PKSwriter::cHaveBase [protected]

Definition at line 85 of file PKSwriter.h.

Vector<Bool> PKSwriter::cHaveXPol [protected]

Reimplemented in PKSSDwriter.

Definition at line 87 of file PKSwriter.h.

Vector<uInt> PKSwriter::cNChan [protected]

Definition at line 88 of file PKSwriter.h.

uInt PKSwriter::cNIF [protected]

Definition at line 86 of file PKSwriter.h.

Vector<uInt> PKSwriter::cNPol [protected]

Definition at line 88 of file PKSwriter.h.


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