casacore
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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>

Inheritance diagram for casacore::StringFITSFieldCopier:
casacore::FITSFieldCopier

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

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

Definition at line 183 of file FITSFieldCopier.h.

casacore::StringFITSFieldCopier::~StringFITSFieldCopier ( )
inline

Definition at line 201 of file FITSFieldCopier.h.

References fits_p, and rec_p.

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

Undefined and inaccessible.

Member Function Documentation

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().

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

Member Data Documentation

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

Definition at line 204 of file FITSFieldCopier.h.

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

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: