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

ATNF CFITSIO interface class for SDFITS output. More...

#include <SDFITSwriter.h>

List of all members.

Public Member Functions

 SDFITSwriter ()
 Default constructor.
virtual ~SDFITSwriter ()
 Destructor.
int create (char *sdname, char *observer, char *project, char *telescope, double antPos[3], char *obsMode, char *bunit, float equinox, char *dopplerFrame, int nIF, int *nChan, int *nPol, int *haveXPol, int haveBase, int extraSysCal)
 Create a new SDFITSwriter and store static data.
int write (MBrecord &record)
 Store time-variable data.
int history (char *text)
 Write a history record.
void close ()
 Close the SDFITS file.
void deleteFile ()
 Close and delete the SDFITS file.

Private Member Functions

void log (LogOrigin origin, LogIO::Command cmd, const char *msg=0x0)

Private Attributes

fitsfile * cSDptr
int cDoTDIM
int cDoXPol
int cExtraSysCal
int cHaveBase
int * cHaveXPol
int cIsMX
int * cNChan
int cNIF
int * cNPol
int cStatus
long cRow
char cMsg [256]
 Message handling.

Detailed Description

ATNF CFITSIO interface class for SDFITS output.

Definition at line 51 of file SDFITSwriter.h.


Constructor & Destructor Documentation

Default constructor.

virtual SDFITSwriter::~SDFITSwriter ( ) [virtual]

Destructor.


Member Function Documentation

Close the SDFITS file.

int SDFITSwriter::create ( char *  sdname,
char *  observer,
char *  project,
char *  telescope,
double  antPos[3],
char *  obsMode,
char *  bunit,
float  equinox,
char *  dopplerFrame,
int  nIF,
int *  nChan,
int *  nPol,
int *  haveXPol,
int  haveBase,
int  extraSysCal 
)

Create a new SDFITSwriter and store static data.

Close and delete the SDFITS file.

int SDFITSwriter::history ( char *  text)

Write a history record.

void SDFITSwriter::log ( LogOrigin  origin,
LogIO::Command  cmd,
const char *  msg = 0x0 
) [private]
int SDFITSwriter::write ( MBrecord record)

Store time-variable data.


Member Data Documentation

int SDFITSwriter::cDoTDIM [private]

Definition at line 92 of file SDFITSwriter.h.

int SDFITSwriter::cDoXPol [private]

Definition at line 92 of file SDFITSwriter.h.

Definition at line 92 of file SDFITSwriter.h.

int SDFITSwriter::cHaveBase [private]

Definition at line 92 of file SDFITSwriter.h.

int * SDFITSwriter::cHaveXPol [private]

Definition at line 92 of file SDFITSwriter.h.

int SDFITSwriter::cIsMX [private]

Definition at line 92 of file SDFITSwriter.h.

char SDFITSwriter::cMsg[256] [private]

Message handling.

Definition at line 97 of file SDFITSwriter.h.

int * SDFITSwriter::cNChan [private]

Definition at line 92 of file SDFITSwriter.h.

int SDFITSwriter::cNIF [private]

Definition at line 92 of file SDFITSwriter.h.

int * SDFITSwriter::cNPol [private]

Definition at line 92 of file SDFITSwriter.h.

long SDFITSwriter::cRow [private]

Definition at line 94 of file SDFITSwriter.h.

fitsfile* SDFITSwriter::cSDptr [private]

Definition at line 91 of file SDFITSwriter.h.

int SDFITSwriter::cStatus [private]

Definition at line 92 of file SDFITSwriter.h.


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