| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

RuleParser::LT_Rule< Type > Class Template Reference

Less than rule - is parameter less than cut? More...

#include <Rules.h>

Inheritance diagram for RuleParser::LT_Rule< Type >:

[legend]
Collaboration diagram for RuleParser::LT_Rule< Type >:
[legend]
List of all members.

Public Member Functions

 LT_Rule (std::string n, int whichParam, Type value)
virtual ~LT_Rule ()
virtual bool select (const Queriable *thing)
virtual const std::string & name () const

Protected Attributes

int mParameterId
Type mCut
std::string m_name
RulemA
RulemB

Detailed Description

template<typename Type>
class RuleParser::LT_Rule< Type >

Less than rule - is parameter less than cut?

Definition at line 134 of file Rules.h.


Constructor & Destructor Documentation

template<typename Type>
RuleParser::LT_Rule< Type >::LT_Rule ( std::string  n,
int  whichParam,
Type  value 
) [inline]

Definition at line 138 of file Rules.h.

00140         : Rule(n) 
00141         , mParameterId(whichParam),mCut(value) {};

template<typename Type>
virtual RuleParser::LT_Rule< Type >::~LT_Rule (  )  [inline, virtual]

Definition at line 142 of file Rules.h.

00142 {};


Member Function Documentation

template<typename Type>
virtual bool RuleParser::LT_Rule< Type >::select ( const Queriable thing  )  [inline, virtual]

Implements RuleParser::Rule.

Definition at line 143 of file Rules.h.

00143                                               {
00144     Type value;
00145     thing->queryParam(mParameterId,value); 
00146     if(value < mCut) return true;
00147     return false;
00148   }

virtual const std::string& RuleParser::Rule::name (  )  const [inline, virtual, inherited]

Definition at line 25 of file Rules.h.

00025 { return m_name; };


Member Data Documentation

template<typename Type>
int RuleParser::LT_Rule< Type >::mParameterId [protected]

Definition at line 150 of file Rules.h.

template<typename Type>
Type RuleParser::LT_Rule< Type >::mCut [protected]

Definition at line 151 of file Rules.h.

std::string RuleParser::Rule::m_name [protected, inherited]

Definition at line 30 of file Rules.h.

Rule* RuleParser::Rule::mA [protected, inherited]

Definition at line 32 of file Rules.h.

Rule* RuleParser::Rule::mB [protected, inherited]

Definition at line 33 of file Rules.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 20:09:16 2011 for RuleParser by doxygen 1.4.7