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

Unequal shape copier. More...

#include <RecordFieldWriter.h>

Inheritance diagram for casa::UnequalShapeCopier< T >:
casa::RecordFieldWriter

List of all members.

Public Member Functions

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

Private Attributes

RecordFieldPtr< Array< T > > out_p
RORecordFieldPtr< Array< T > > in_p

Detailed Description

template<class T>
class casa::UnequalShapeCopier< T >

Unequal shape copier.

Intended use:

Internal

Review Status

Date Reviewed:
yyyy/mm/dd

Etymology

Copy fields where the two fields fields do not have the same shape, however, the number of elements must match. Copying is done element by element in vector order.

Motivation

Sometimes the shapes need to change even though the number of elements stays the same.

Definition at line 125 of file RecordFieldWriter.h.


Constructor & Destructor Documentation

template<class T >
casa::UnequalShapeCopier< T >::UnequalShapeCopier ( RecordInterface outRecord,
RecordFieldId  whichOutField,
const RecordInterface inRecord,
RecordFieldId  whichInField 
)

Member Function Documentation

template<class T >
virtual void casa::UnequalShapeCopier< T >::writeField ( ) [virtual]

Member Data Documentation

template<class T >
RORecordFieldPtr<Array<T> > casa::UnequalShapeCopier< T >::in_p [private]

Definition at line 135 of file RecordFieldWriter.h.

template<class T >
RecordFieldPtr<Array<T> > casa::UnequalShapeCopier< T >::out_p [private]

Definition at line 134 of file RecordFieldWriter.h.


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