casacore
Loading...
Searching...
No Matches
casacore::ScalarFITSFieldCopier< recordType, fitsType > Class Template Reference

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

#include <FITSFieldCopier.h>

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.
Public Member Functions inherited from casacore::FITSFieldCopier
virtual ~FITSFieldCopier ()
 destructor

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 casacore::ScalarFITSFieldCopier< recordType, fitsType >

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

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

  • RORecordField
  • FitsFields

Etymology

Synopsis

Example

Motivation

Thrown Exceptions

To Do

  • actually document this

Definition at line 120 of file FITSFieldCopier.h.

Constructor & Destructor Documentation

◆ ScalarFITSFieldCopier() [1/2]

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

Definition at line 124 of file FITSFieldCopier.h.

References fits_p, and rec_p.

Referenced by operator=(), and ScalarFITSFieldCopier().

◆ ~ScalarFITSFieldCopier()

template<class recordType, class fitsType>
casacore::ScalarFITSFieldCopier< recordType, fitsType >::~ScalarFITSFieldCopier ( )
inline

Definition at line 127 of file FITSFieldCopier.h.

References fits_p, and rec_p.

◆ ScalarFITSFieldCopier() [2/2]

template<class recordType, class fitsType>
casacore::ScalarFITSFieldCopier< recordType, fitsType >::ScalarFITSFieldCopier ( const ScalarFITSFieldCopier< recordType, fitsType > & other)
private

Member Function Documentation

◆ copyToFITS()

template<class recordType, class fitsType>
virtual void casacore::ScalarFITSFieldCopier< recordType, fitsType >::copyToFITS ( )
inlinevirtual

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

Implements casacore::FITSFieldCopier.

Definition at line 131 of file FITSFieldCopier.h.

References rec_p.

◆ operator=()

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

Member Data Documentation

◆ fits_p

template<class recordType, class fitsType>
FitsField<fitsType>* casacore::ScalarFITSFieldCopier< recordType, fitsType >::fits_p
private

Definition at line 134 of file FITSFieldCopier.h.

Referenced by ScalarFITSFieldCopier(), and ~ScalarFITSFieldCopier().

◆ rec_p

template<class recordType, class fitsType>
RORecordFieldPtr<recordType>* casacore::ScalarFITSFieldCopier< recordType, fitsType >::rec_p
private

Definition at line 133 of file FITSFieldCopier.h.

Referenced by copyToFITS(), ScalarFITSFieldCopier(), and ~ScalarFITSFieldCopier().


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