#include <Rules.h>
Inheritance diagram for RuleParser::LE_Rule< Type >:
Public Member Functions | |
LE_Rule (std::string n, int whichParam, Type value) | |
virtual | ~LE_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 161 of file Rules.h.
RuleParser::LE_Rule< Type >::LE_Rule | ( | std::string | n, | |
int | whichParam, | |||
Type | value | |||
) | [inline] |
virtual RuleParser::LE_Rule< Type >::~LE_Rule | ( | ) | [inline, virtual] |
virtual bool RuleParser::LE_Rule< Type >::select | ( | const Queriable * | thing | ) | [inline, virtual] |
Implements RuleParser::Rule.
Definition at line 170 of file Rules.h.
00170 { 00171 Type value; 00172 thing->queryParam(mParameterId,value); 00173 if(value <= mCut) return true; 00174 return false; 00175 }
virtual const std::string& RuleParser::Rule::name | ( | ) | const [inline, virtual, inherited] |
int RuleParser::LE_Rule< Type >::mParameterId [protected] |
Type RuleParser::LE_Rule< Type >::mCut [protected] |
std::string RuleParser::Rule::m_name [protected, inherited] |
Rule* RuleParser::Rule::mA [protected, inherited] |
Rule* RuleParser::Rule::mB [protected, inherited] |