DirectFrameID< DataType > Class Template Reference

Implements method to calculate the frame ID "directly" from a FITS file. More...

#include <FrameID.hxx>

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

List of all members.

Public Member Functions

 DirectFrameID (const FitsFile &aFile)
 ~DirectFrameID ()
 Destructor.
void setSource (IntMap &tbls, IntMap &cols, StringMap units)
 There are no source columns.
void setTarget (IntMap &cols, StringMap units)
 Target is the column.
void doit (TableData< DataType > &data, int row1, int row2)
void doit2 (TableData< DataType > &inpData, TableData< DataType > &data, int row1, int row2)

Private Attributes

int colNo
std::string mFrameID

Detailed Description

template<typename DataType>
class DirectFrameID< DataType >

Implements method to calculate the frame ID "directly" from a FITS file.


Constructor & Destructor Documentation

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

Constructor takes a FitsFile object and calculates the frame ID from it

References DataOps::makeFrameID(), and DirectFrameID< DataType >::mFrameID.

template<typename DataType >
DirectFrameID< DataType >::~DirectFrameID (  )  [inline]

Destructor.


Member Function Documentation

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

Fill up the column with the frame ID as set up in the constructor

Implements DataMethod< DataType >.

References TableData< DataType >::assign(), DirectFrameID< DataType >::colNo, and DirectFrameID< DataType >::mFrameID.

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

There are no source columns.

Implements DataMethod< DataType >.

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

Target is the column.

Implements DataMethod< DataType >.

References DirectFrameID< DataType >::colNo.


Member Data Documentation

template<typename DataType >
int DirectFrameID< DataType >::colNo [private]
template<typename DataType >
std::string DirectFrameID< DataType >::mFrameID [private]

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