VSAProject< DataType > Class Template Reference

Implementation of method to determine the project for the VSA. More...

#include <VSAProject.hxx>

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

List of all members.

Public Member Functions

 VSAProject (const FitsFile &aFile)
 Constructor requires user input.
virtual ~VSAProject ()
 Destructor.
void setSource (IntMap &tbls, IntMap &aCols, StringMap aUnits)
 Source is data column with the project name.
void setTarget (IntMap &aCols, StringMap aUnits)
 Target is data column with the project ID.
void doit (TableData< DataType > &aData, int aFirstRow, int aLastRow)
 Fill up data column for project ID.
void doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2)

Private Attributes

std::string mfileName
int mProjectColNum
ProgrammeTable mProgTable
 Programme ID<->Name translation table.

Detailed Description

template<typename DataType>
class VSAProject< DataType >

Implementation of method to determine the project for the VSA.


Constructor & Destructor Documentation

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

Constructor requires user input.

References FitsFile::getFileName(), and VSAProject< DataType >::mfileName.

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

Destructor.


Member Function Documentation

template<typename DataType >
void VSAProject< DataType >::doit ( TableData< DataType > &  aData,
int  aFirstRow,
int  aLastRow 
) [inline, virtual]
template<typename DataType >
void VSAProject< DataType >::doit2 ( TableData< DataType > &  rawData,
TableData< DataType > &  data,
int  row1,
int  row2 
) [inline, virtual]
template<typename DataType >
void VSAProject< DataType >::setSource ( IntMap tbls,
IntMap aCols,
StringMap  aUnits 
) [inline, virtual]

Source is data column with the project name.

Implements DataMethod< DataType >.

template<typename DataType >
void VSAProject< DataType >::setTarget ( IntMap aCols,
StringMap  aUnits 
) [inline, virtual]

Target is data column with the project ID.

Implements DataMethod< DataType >.

References VSAProject< DataType >::mProjectColNum.


Member Data Documentation

template<typename DataType >
std::string VSAProject< DataType >::mfileName [private]
template<typename DataType >
ProgrammeTable VSAProject< DataType >::mProgTable [private]

Programme ID<->Name translation table.

Referenced by VSAProject< DataType >::doit().

template<typename DataType >
int VSAProject< DataType >::mProjectColNum [private]

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