#include <Rules.h>
Inheritance diagram for RuleParser::GE_Rule< Type >:
Public Member Functions | |
GE_Rule (std::string n, int whichParam, Type value) | |
virtual | ~GE_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 215 of file Rules.h.
RuleParser::GE_Rule< Type >::GE_Rule | ( | std::string | n, | |
int | whichParam, | |||
Type | value | |||
) | [inline] |
virtual RuleParser::GE_Rule< Type >::~GE_Rule | ( | ) | [inline, virtual] |
virtual bool RuleParser::GE_Rule< Type >::select | ( | const Queriable * | thing | ) | [inline, virtual] |
Implements RuleParser::Rule.
Definition at line 224 of file Rules.h.
00224 { 00225 Type value; 00226 thing->queryParam(mParameterId,value); 00227 if(value >= mCut) return true; 00228 return false; 00229 }
virtual const std::string& RuleParser::Rule::name | ( | ) | const [inline, virtual, inherited] |
int RuleParser::GE_Rule< Type >::mParameterId [protected] |
Type RuleParser::GE_Rule< Type >::mCut [protected] |
std::string RuleParser::Rule::m_name [protected, inherited] |
Rule* RuleParser::Rule::mA [protected, inherited] |
Rule* RuleParser::Rule::mB [protected, inherited] |