#include <Rules.h>
Inheritance diagram for RuleParser::NEQ_Rule< Type >:
Public Member Functions | |
NEQ_Rule (std::string n, int whichParam, Type value) | |
virtual | ~NEQ_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 269 of file Rules.h.
RuleParser::NEQ_Rule< Type >::NEQ_Rule | ( | std::string | n, | |
int | whichParam, | |||
Type | value | |||
) | [inline] |
virtual RuleParser::NEQ_Rule< Type >::~NEQ_Rule | ( | ) | [inline, virtual] |
virtual bool RuleParser::NEQ_Rule< Type >::select | ( | const Queriable * | thing | ) | [inline, virtual] |
Implements RuleParser::Rule.
Definition at line 278 of file Rules.h.
00278 { 00279 Type value; 00280 thing->queryParam(mParameterId,value); 00281 if(value != mCut) return true; 00282 return false; 00283 }
virtual const std::string& RuleParser::Rule::name | ( | ) | const [inline, virtual, inherited] |
int RuleParser::NEQ_Rule< Type >::mParameterId [protected] |
Type RuleParser::NEQ_Rule< Type >::mCut [protected] |
std::string RuleParser::Rule::m_name [protected, inherited] |
Rule* RuleParser::Rule::mA [protected, inherited] |
Rule* RuleParser::Rule::mB [protected, inherited] |