FilterID< DataType > Class Template Reference

#include <FilterID.hxx>

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

List of all members.

Public Member Functions

 FilterID ()
 Constructor just sets the method name.
virtual ~FilterID ()
 Destructor.
void setSource (IntMap &tbls, IntMap &cols, StringMap units)
 Source is the column with the filter name.
void setTarget (IntMap &cols, StringMap units)
 Target is the column with the filter ID.
void doit (TableData< DataType > &data, int row1, int row2)
 Fill up flter ID column using the filter name column.
void doit2 (TableData< DataType > &rawData, TableData< DataType > &data, int row1, int row2)

Private Attributes

int fidColno
int fnameColno

Detailed Description

template<typename DataType>
class FilterID< DataType >

Implemetation of method to fill up the filter ID as determined from the filter name that is already available in the data table


Constructor & Destructor Documentation

template<typename DataType >
FilterID< DataType >::FilterID (  )  [inline]

Constructor just sets the method name.

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

Destructor.


Member Function Documentation

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

Source is the column with the filter name.

Implements DataMethod< DataType >.

References FilterID< DataType >::fnameColno.

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

Target is the column with the filter ID.

Implements DataMethod< DataType >.

References FilterID< DataType >::fidColno.


Member Data Documentation

template<typename DataType >
int FilterID< DataType >::fidColno [private]
template<typename DataType >
int FilterID< DataType >::fnameColno [private]

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