AxesLength< DataType > Class Template Reference

#include <AxesLength.hxx>

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

List of all members.

Public Member Functions

 AxesLength (const FitsFile &aFile)
 Constructor takes FitsFile objects for the pixel file.
virtual ~AxesLength ()
 Destructor.
void setSource (IntMap &tbls, IntMap &cols, StringMap units)
 Source data column is the one with the extension number.
void setTarget (IntMap &cols, StringMap units)
 Target data columns are numAxes, axis1Length, axis2Length.
void doit (TableData< DataType > &data, int row1, int row2)
void doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2)

Private Attributes

FitsFile mFile
int extnumColno
int numaxesColno
int axis1Colno
int axis2Colno

Detailed Description

template<typename DataType>
class AxesLength< DataType >

Implements method to fill up the appropriate data columns with axis length information


Constructor & Destructor Documentation

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

Constructor takes FitsFile objects for the pixel file.

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

Destructor.


Member Function Documentation

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

Run the data method. This fills up the appropriate columns in the TableData object over the given row range where row>=row1 and row<row2

Implements DataMethod< DataType >.

References AxesLength< DataType >::axis1Colno, AxesLength< DataType >::axis2Colno, and AxesLength< DataType >::numaxesColno.

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

Source data column is the one with the extension number.

Implements DataMethod< DataType >.

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

Target data columns are numAxes, axis1Length, axis2Length.

Implements DataMethod< DataType >.

References AxesLength< DataType >::extnumColno.


Member Data Documentation

template<typename DataType >
int AxesLength< DataType >::axis1Colno [private]
template<typename DataType >
int AxesLength< DataType >::axis2Colno [private]
template<typename DataType >
int AxesLength< DataType >::extnumColno [private]
template<typename DataType >
FitsFile AxesLength< DataType >::mFile [private]
template<typename DataType >
int AxesLength< DataType >::numaxesColno [private]

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