casa
$Rev:20696$
|
Unequal shape copier. More...
#include <RecordFieldWriter.h>
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 |
Unequal shape copier.
Internal
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.
Sometimes the shapes need to change even though the number of elements stays the same.
Definition at line 125 of file RecordFieldWriter.h.
casa::UnequalShapeCopier< T >::UnequalShapeCopier | ( | RecordInterface & | outRecord, |
RecordFieldId | whichOutField, | ||
const RecordInterface & | inRecord, | ||
RecordFieldId | whichInField | ||
) |
virtual void casa::UnequalShapeCopier< T >::writeField | ( | ) | [virtual] |
Implements casa::RecordFieldWriter.
RORecordFieldPtr<Array<T> > casa::UnequalShapeCopier< T >::in_p [private] |
Definition at line 135 of file RecordFieldWriter.h.
RecordFieldPtr<Array<T> > casa::UnequalShapeCopier< T >::out_p [private] |
Definition at line 134 of file RecordFieldWriter.h.