casacore::RecordFieldCopier< outType, inType > Class Template Reference

Record field copier. More...

#include <RecordFieldWriter.h>

Inheritance diagram for casacore::RecordFieldCopier< outType, inType >:
casacore::RecordFieldWriter

List of all members.

Public Member Functions

 RecordFieldCopier (RecordInterface &outRecord, RecordFieldId whichOutField, const RecordInterface &inRecord, RecordFieldId whichInField)
void copy ()
virtual void writeField ()

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

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

Member Function Documentation

template<class outType , class inType >
void casacore::RecordFieldCopier< outType, inType >::copy (  )  [inline]
template<class outType , class inType >
virtual void casacore::RecordFieldCopier< outType, inType >::writeField (  )  [virtual]

Member Data Documentation

template<class outType , class inType >
RORecordFieldPtr<inType> casacore::RecordFieldCopier< outType, inType >::in_p [private]
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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 31 Aug 2016 for casa by  doxygen 1.6.1