FITSFieldCopier.h

Classes

FITSFieldCopier -- Virtual base class for copying RORecordFields to FitsFields (full description)
ScalarFITSFieldCopier -- A FITSFieldCopier for copying scalar non-string RecordFields to FitsFields (full description)
StringFITSFieldCopier -- A FITSFieldCopier for copying String RecordFields to FitsFields (full description)
ArrayFITSFieldCopier -- A FITSFieldCopier for copying Array RecordFields to FitsFields (full description)
VariableArrayFITSFieldCopier -- (full description)

class FITSFieldCopier

Interface

Public Members
virtual ~FITSFieldCopier()
virtual void copyToFITS() = 0

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Thrown Exceptions

To Do

Member Description

virtual ~FITSFieldCopier()

destructor

virtual void copyToFITS() = 0

the things which does the work - to be implemented in each derived class

template<class recordType, class fitsType> class ScalarFITSFieldCopier : public FITSFieldCopier

Interface

ScalarFITSFieldCopier(RORecordFieldPtr<recordType> *recptr, recptr<fitsType> *fitsptr) : rec_p(recptr), fits_p(fitsptr)
~ScalarFITSFieldCopier()
virtual void copyToFITS()
Private Members
ScalarFITSFieldCopier(const ScalarFITSFieldCopier<recordType,fitsType> &other)
ScalarFITSFieldCopier &operator=( const ScalarFITSFieldCopier<recordType,fitsType> &other)

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Thrown Exceptions

To Do

Member Description

ScalarFITSFieldCopier(RORecordFieldPtr<recordType> *recptr, recptr<fitsType> *fitsptr) : rec_p(recptr), fits_p(fitsptr)

~ScalarFITSFieldCopier()

virtual void copyToFITS()

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

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

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


class StringFITSFieldCopier : public FITSFieldCopier

Interface

Public Members
StringFITSFieldCopier(RORecordFieldPtr<String> *rptr, FitsField<char> *fptr) : rec_p(rptr), fits_p(fptr)
virtual void copyToFITS()
~StringFITSFieldCopier()
Private Members
StringFITSFieldCopier(const StringFITSFieldCopier &other)
StringFITSFieldCopier &operator=(const StringFITSFieldCopier &other)

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Thrown Exceptions

To Do

Member Description

StringFITSFieldCopier(RORecordFieldPtr<String> *rptr, FitsField<char> *fptr) : rec_p(rptr), fits_p(fptr)

virtual void copyToFITS()

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

~StringFITSFieldCopier()

StringFITSFieldCopier(const StringFITSFieldCopier &other)

Undefined and inaccessible.

StringFITSFieldCopier &operator=(const StringFITSFieldCopier &other)


template<class recordType, class fitsType> class ArrayFITSFieldCopier : public FITSFieldCopier

Interface

Public Members
ArrayFITSFieldCopier(RORecordFieldPtr<Array<recordType> > *recptr, recptr<fitsType> *fitsptr) : rec_p(recptr), fits_p(fitsptr)
~ArrayFITSFieldCopier()
virtual void copyToFITS()
Private Members
ArrayFITSFieldCopier(const ArrayFITSFieldCopier<recordType,fitsType> &other)
ArrayFITSFieldCopier &operator=( const ArrayFITSFieldCopier<recordType,fitsType> &other)

Description

Review Status

Date Reviewed:
yyyy/mm/dd

Prerequisite

Etymology

Synopsis

Example

Motivation

Thrown Exceptions

To Do

Member Description

ArrayFITSFieldCopier(RORecordFieldPtr<Array<recordType> > *recptr, recptr<fitsType> *fitsptr) : rec_p(recptr), fits_p(fitsptr)

~ArrayFITSFieldCopier()

virtual void copyToFITS()

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

ArrayFITSFieldCopier(const ArrayFITSFieldCopier<recordType,fitsType> &other)

Undefined and inaccessible

ArrayFITSFieldCopier &operator=( const ArrayFITSFieldCopier<recordType,fitsType> &other)


template<class recordType, class fitsType> class VariableArrayFITSFieldCopier : public FITSFieldCopier

Interface

Public Members
VariableArrayFITSFieldCopier(RORecordFieldPtr<Array<recordType> > *recptr, recptr<fitsType> *fitsptr, recptr<char> *tdirptr) : rec_p(recptr), fits_p(fitsptr), tdir_p(tdirptr)
~VariableArrayFITSFieldCopier()
virtual void copyToFITS()
Private Members
VariableArrayFITSFieldCopier(const VariableArrayFITSFieldCopier<recordType,fitsType> &other)
VariableArrayFITSFieldCopier &operator=( const VariableArrayFITSFieldCopier<recordType,fitsType> &other)

Description

Member Description

VariableArrayFITSFieldCopier(RORecordFieldPtr<Array<recordType> > *recptr, recptr<fitsType> *fitsptr, recptr<char> *tdirptr) : rec_p(recptr), fits_p(fitsptr), tdir_p(tdirptr)

~VariableArrayFITSFieldCopier()

virtual void copyToFITS()

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

VariableArrayFITSFieldCopier(const VariableArrayFITSFieldCopier<recordType,fitsType> &other)

Undefined and inaccessible

VariableArrayFITSFieldCopier &operator=( const VariableArrayFITSFieldCopier<recordType,fitsType> &other)