#include <Rules.h>
Inheritance diagram for RuleParser::LT_Rule< Type >:
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 |
Rule * | mA |
Rule * | mB |
Definition at line 134 of file Rules.h.
RuleParser::LT_Rule< Type >::LT_Rule | ( | std::string | n, | |
int | whichParam, | |||
Type | value | |||
) | [inline] |
virtual RuleParser::LT_Rule< Type >::~LT_Rule | ( | ) | [inline, virtual] |
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] |
int RuleParser::LT_Rule< Type >::mParameterId [protected] |
Type RuleParser::LT_Rule< Type >::mCut [protected] |
std::string RuleParser::Rule::m_name [protected, inherited] |
Rule* RuleParser::Rule::mA [protected, inherited] |
Rule* RuleParser::Rule::mB [protected, inherited] |