#include <FilterID.hxx>


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 | 
Implemetation of method to fill up the filter ID as determined from the filter name that is already available in the data table
Constructor just sets the method name.
Destructor.
| void FilterID< DataType >::doit | ( | TableData< DataType > & | data, | |
| int | row1, | |||
| int | row2 | |||
| ) |  [inline, virtual] | 
        
Fill up flter ID column using the filter name column.
Implements DataMethod< DataType >.
References TableData< DataType >::assign(), FilterID< DataType >::fidColno, ExpectNames::filterName, FilterID< DataType >::fnameColno, DataOps::getFilterId(), and TableData< DataType >::value().
| void FilterID< DataType >::doit2 | ( | TableData< DataType > & | rawData, | |
| TableData< DataType > & | data, | |||
| int | row1, | |||
| int | row2 | |||
| ) |  [inline, virtual] | 
        
Implements DataMethod< 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.
| 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.
Referenced by FilterID< DataType >::doit(), and FilterID< DataType >::setTarget().
int FilterID< DataType >::fnameColno [private] | 
        
Referenced by FilterID< DataType >::doit(), and FilterID< DataType >::setSource().
 1.6.3