casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Attributes
casa::RecordFieldCopier< outType, inType > Class Template Reference

Record field copier. More...

#include <RecordFieldWriter.h>

Inheritance diagram for casa::RecordFieldCopier< outType, inType >:
casa::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 casa::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 >
casa::RecordFieldCopier< outType, inType >::RecordFieldCopier ( RecordInterface outRecord,
RecordFieldId  whichOutField,
const RecordInterface inRecord,
RecordFieldId  whichInField 
)

Member Function Documentation

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

Member Data Documentation

template<class outType , class inType >
RORecordFieldPtr<inType> casa::RecordFieldCopier< outType, inType >::in_p [private]
template<class outType , class inType >
RecordFieldPtr<outType> casa::RecordFieldCopier< outType, inType >::out_p [private]

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