FrameType< DataType > Class Template Reference

#include <FrameType.hxx>

Inheritance diagram for FrameType< DataType >:
Inheritance graph
[legend]
Collaboration diagram for FrameType< DataType >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 FrameType (const FitsFile &aFile)
 Constructor just sets the method name.
virtual ~FrameType ()
 Destructor.
void setSource (IntMap &tbls, IntMap &cols, StringMap units)
 Source is the data column that corresponds to the "recipe" attribute.
void setTarget (IntMap &cols, StringMap units)
 Target is the data column for the frame type.
void doit (TableData< DataType > &data, int row1, int row2)
void doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2)

Private Attributes

int ftypeColno
std::string mFrameType

Detailed Description

template<typename DataType>
class FrameType< DataType >

Implements the method to determine the frame type (stack, mosaic, etc) and puts the data in the result in the appropriate data column


Constructor & Destructor Documentation

template<typename DataType >
FrameType< DataType >::FrameType ( const FitsFile aFile  )  [inline]

Constructor just sets the method name.

References FitsFile::getFileName(), DataOps::getFrameType(), and FrameType< DataType >::mFrameType.

template<typename DataType >
virtual FrameType< DataType >::~FrameType (  )  [inline, virtual]

Destructor.


Member Function Documentation

template<typename DataType >
void FrameType< DataType >::doit ( TableData< DataType > &  data,
int  row1,
int  row2 
) [inline, virtual]

Fill up the frame type data column. WARNING: it hasn't been coded up properly yet, as it is not known how the frame type will be determined from the "recipe"

Implements DataMethod< DataType >.

References TableData< DataType >::assign(), FrameType< DataType >::ftypeColno, and FrameType< DataType >::mFrameType.

template<typename DataType >
void FrameType< DataType >::doit2 ( TableData< DataType > &  rawData,
TableData< DataType > &  data,
int  row1,
int  row2 
) [inline, virtual]
template<typename DataType >
void FrameType< DataType >::setSource ( IntMap tbls,
IntMap cols,
StringMap  units 
) [inline, virtual]

Source is the data column that corresponds to the "recipe" attribute.

Implements DataMethod< DataType >.

template<typename DataType >
void FrameType< DataType >::setTarget ( IntMap cols,
StringMap  units 
) [inline, virtual]

Target is the data column for the frame type.

Implements DataMethod< DataType >.

References FrameType< DataType >::ftypeColno.


Member Data Documentation

template<typename DataType >
int FrameType< DataType >::ftypeColno [private]
template<typename DataType >
std::string FrameType< DataType >::mFrameType [private]

The documentation for this class was generated from the following file:
Generated on Mon Oct 4 10:39:31 2010 for WfcamSrc by  doxygen 1.6.3