casacore
Public Member Functions | Private Member Functions | Private Attributes | List of all members
casacore::StringFITSFieldCopier Class Reference

A FITSFieldCopier for copying String RecordFields to FitsFields. More...

#include <FITSFieldCopier.h>

Public Member Functions

 StringFITSFieldCopier (RORecordFieldPtr< String > *rptr, FitsField< char > *fptr)
 
virtual void copyToFITS ()
 Copy the current contents of the input RORecordFieldPtr to the output FitsField. More...
 
 ~StringFITSFieldCopier ()
 
- Public Member Functions inherited from casacore::FITSFieldCopier
virtual ~FITSFieldCopier ()
 destructor More...
 

Private Member Functions

 StringFITSFieldCopier (const StringFITSFieldCopier &other)
 Undefined and inaccessible. More...
 
StringFITSFieldCopieroperator= (const StringFITSFieldCopier &other)
 

Private Attributes

RORecordFieldPtr< String > * rec_p
 
FitsField< char > * fits_p
 

Detailed Description

A FITSFieldCopier for copying 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 180 of file FITSFieldCopier.h.

Constructor & Destructor Documentation

◆ StringFITSFieldCopier() [1/2]

casacore::StringFITSFieldCopier::StringFITSFieldCopier ( RORecordFieldPtr< String > *  rptr,
FitsField< char > *  fptr 
)
inline

Definition at line 183 of file FITSFieldCopier.h.

◆ ~StringFITSFieldCopier()

casacore::StringFITSFieldCopier::~StringFITSFieldCopier ( )
inline

Definition at line 201 of file FITSFieldCopier.h.

References fits_p, and rec_p.

◆ StringFITSFieldCopier() [2/2]

casacore::StringFITSFieldCopier::StringFITSFieldCopier ( const StringFITSFieldCopier other)
private

Undefined and inaccessible.

Member Function Documentation

◆ copyToFITS()

virtual void casacore::StringFITSFieldCopier::copyToFITS ( )
inlinevirtual

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

Implements casacore::FITSFieldCopier.

Definition at line 187 of file FITSFieldCopier.h.

References fits_p, casacore::length(), and casacore::FitsBase::nelements().

◆ operator=()

StringFITSFieldCopier& casacore::StringFITSFieldCopier::operator= ( const StringFITSFieldCopier other)
private

Member Data Documentation

◆ fits_p

FitsField<char>* casacore::StringFITSFieldCopier::fits_p
private

Definition at line 204 of file FITSFieldCopier.h.

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

◆ rec_p

RORecordFieldPtr<String>* casacore::StringFITSFieldCopier::rec_p
private

Definition at line 203 of file FITSFieldCopier.h.

Referenced by ~StringFITSFieldCopier().


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