casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Member Functions | Private Attributes
casa::ScalarFITSFieldCopier< recordType, fitsType > Class Template Reference

A FITSFieldCopier for copying scalar non-string RecordFields to FitsFields. More...

#include <FITSFieldCopier.h>

Inheritance diagram for casa::ScalarFITSFieldCopier< recordType, fitsType >:
casa::FITSFieldCopier

List of all members.

Public Member Functions

 ScalarFITSFieldCopier (RORecordFieldPtr< recordType > *recptr, FitsField< fitsType > *fitsptr)
 ~ScalarFITSFieldCopier ()
virtual void copyToFITS ()
 Copy the current contents of the input RORecordFieldPtr to the output FitsField.

Private Member Functions

 ScalarFITSFieldCopier (const ScalarFITSFieldCopier< recordType, fitsType > &other)
ScalarFITSFieldCopieroperator= (const ScalarFITSFieldCopier< recordType, fitsType > &other)

Private Attributes

RORecordFieldPtr< recordType > * rec_p
FitsField< fitsType > * fits_p

Detailed Description

template<class recordType, class fitsType>
class casa::ScalarFITSFieldCopier< recordType, fitsType >

A FITSFieldCopier for copying scalar non-string RecordFields to FitsFields.

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Thrown Exceptions

To Do

Definition at line 123 of file FITSFieldCopier.h.


Constructor & Destructor Documentation

template<class recordType, class fitsType>
casa::ScalarFITSFieldCopier< recordType, fitsType >::ScalarFITSFieldCopier ( RORecordFieldPtr< recordType > *  recptr,
FitsField< fitsType > *  fitsptr 
) [inline]

Definition at line 127 of file FITSFieldCopier.h.

template<class recordType, class fitsType>
casa::ScalarFITSFieldCopier< recordType, fitsType >::~ScalarFITSFieldCopier ( ) [inline]
template<class recordType, class fitsType>
casa::ScalarFITSFieldCopier< recordType, fitsType >::ScalarFITSFieldCopier ( const ScalarFITSFieldCopier< recordType, fitsType > &  other) [private]

Member Function Documentation

template<class recordType, class fitsType>
virtual void casa::ScalarFITSFieldCopier< recordType, fitsType >::copyToFITS ( ) [inline, virtual]

Copy the current contents of the input RORecordFieldPtr to the output FitsField.

Implements casa::FITSFieldCopier.

Definition at line 134 of file FITSFieldCopier.h.

References casa::ScalarFITSFieldCopier< recordType, fitsType >::rec_p.

template<class recordType, class fitsType>
ScalarFITSFieldCopier& casa::ScalarFITSFieldCopier< recordType, fitsType >::operator= ( const ScalarFITSFieldCopier< recordType, fitsType > &  other) [private]

Member Data Documentation

template<class recordType, class fitsType>
FitsField<fitsType>* casa::ScalarFITSFieldCopier< recordType, fitsType >::fits_p [private]
template<class recordType, class fitsType>
RORecordFieldPtr<recordType>* casa::ScalarFITSFieldCopier< recordType, fitsType >::rec_p [private]

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