#include <Rules.h>
Inheritance diagram for RuleParser::GT_Rule< Type >:
Public Member Functions | |
| GT_Rule (std::string n, int whichParam, Type value) | |
| virtual | ~GT_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 188 of file Rules.h.
| RuleParser::GT_Rule< Type >::GT_Rule | ( | std::string | n, | |
| int | whichParam, | |||
| Type | value | |||
| ) | [inline] |
| virtual RuleParser::GT_Rule< Type >::~GT_Rule | ( | ) | [inline, virtual] |
| virtual bool RuleParser::GT_Rule< Type >::select | ( | const Queriable * | thing | ) | [inline, virtual] |
Implements RuleParser::Rule.
Definition at line 197 of file Rules.h.
00197 { 00198 Type value; 00199 thing->queryParam(mParameterId,value); 00200 if(value > mCut) return true; 00201 return false; 00202 }
| virtual const std::string& RuleParser::Rule::name | ( | ) | const [inline, virtual, inherited] |
int RuleParser::GT_Rule< Type >::mParameterId [protected] |
Type RuleParser::GT_Rule< Type >::mCut [protected] |
std::string RuleParser::Rule::m_name [protected, inherited] |
Rule* RuleParser::Rule::mA [protected, inherited] |
Rule* RuleParser::Rule::mB [protected, inherited] |
1.4.7