FilterIDByFits< DataType > Class Template Reference

#include <FilterID.hxx>

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

List of all members.

Public Member Functions

 FilterIDByFits (const FitsFile &aFile)
 Constructor sets things up from the given FitsFile object.
virtual ~FilterIDByFits ()
 Destructor.
void setSource (IntMap &tbls, IntMap &cols, StringMap units)
 No input columns.
void setTarget (IntMap &cols, StringMap units)
 Target is column with the filter ID.
void doit (TableData< DataType > &data, int row1, int row2)
 Fill up the filter ID column.
void doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2)

Private Attributes

int fidColno
int mFilterID

Detailed Description

template<typename DataType>
class FilterIDByFits< DataType >

Implements method to fill up the data with the filter ID as determined by information encoded in a given FITS file


Constructor & Destructor Documentation

template<typename DataType >
FilterIDByFits< DataType >::FilterIDByFits ( const FitsFile aFile  )  [inline]
template<typename DataType >
virtual FilterIDByFits< DataType >::~FilterIDByFits (  )  [inline, virtual]

Destructor.


Member Function Documentation

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

No input columns.

Implements DataMethod< DataType >.

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

Target is column with the filter ID.

Implements DataMethod< DataType >.

References FilterIDByFits< DataType >::fidColno.


Member Data Documentation

template<typename DataType >
int FilterIDByFits< DataType >::fidColno [private]
template<typename DataType >
int FilterIDByFits< DataType >::mFilterID [private]

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