casacore
Public Member Functions | Private Attributes | List of all members
casacore::RecordFieldCopier< outType, inType > Class Template Reference

Record field copier. More...

#include <RecordFieldWriter.h>

Public Member Functions

 RecordFieldCopier (RecordInterface &outRecord, RecordFieldId whichOutField, const RecordInterface &inRecord, RecordFieldId whichInField)
 
void copy ()
 
virtual void writeField ()
 
- Public Member Functions inherited from casacore::RecordFieldWriter
virtual ~RecordFieldWriter ()
 

Private Attributes

RecordFieldPtr< outType > out_p
 
RORecordFieldPtr< inType > in_p
 

Detailed Description

template<class outType, class inType>
class casacore::RecordFieldCopier< outType, inType >

Record field copier.

Copies field to field as is.

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Etymology

Copies a field from a record to another record with a field of the same type.

Motivation

This type of copy can be inlined.

Definition at line 91 of file RecordFieldWriter.h.

Constructor & Destructor Documentation

◆ RecordFieldCopier()

template<class outType , class inType >
casacore::RecordFieldCopier< outType, inType >::RecordFieldCopier ( RecordInterface outRecord,
RecordFieldId  whichOutField,
const RecordInterface inRecord,
RecordFieldId  whichInField 
)

Member Function Documentation

◆ copy()

template<class outType , class inType >
void casacore::RecordFieldCopier< outType, inType >::copy ( )
inline

◆ writeField()

template<class outType , class inType >
virtual void casacore::RecordFieldCopier< outType, inType >::writeField ( )
virtual

Member Data Documentation

◆ in_p

template<class outType , class inType >
RORecordFieldPtr<inType> casacore::RecordFieldCopier< outType, inType >::in_p
private

◆ out_p

template<class outType , class inType >
RecordFieldPtr<outType> casacore::RecordFieldCopier< outType, inType >::out_p
private

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