casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
casacore::UnequalShapeCopier< T > Class Template Reference

Unequal shape copier. More...

#include <RecordFieldWriter.h>

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

Public Member Functions

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

Private Attributes

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

Detailed Description

template<class T>
class casacore::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 >
casacore::UnequalShapeCopier< T >::UnequalShapeCopier ( RecordInterface outRecord,
RecordFieldId  whichOutField,
const RecordInterface inRecord,
RecordFieldId  whichInField 
)

Member Function Documentation

template<class T >
virtual void casacore::UnequalShapeCopier< T >::writeField ( )
virtual

Member Data Documentation

template<class T >
RORecordFieldPtr<Array<T> > casacore::UnequalShapeCopier< T >::in_p
private

Definition at line 135 of file RecordFieldWriter.h.

template<class T >
RecordFieldPtr<Array<T> > casacore::UnequalShapeCopier< T >::out_p
private

Definition at line 134 of file RecordFieldWriter.h.


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