#include <Rules.h>
Inheritance diagram for RuleParser::AndRule:
Public Member Functions | |
AndRule (std::string n, Rule *a, Rule *b) | |
virtual | ~AndRule () |
virtual bool | select (const Queriable *thing) |
virtual const std::string & | name () const |
Protected Attributes | |
std::string | m_name |
Rule * | mA |
Rule * | mB |
Definition at line 76 of file Rules.h.
virtual RuleParser::AndRule::~AndRule | ( | ) | [inline, virtual] |
virtual bool RuleParser::AndRule::select | ( | const Queriable * | thing | ) | [inline, virtual] |
Implements RuleParser::Rule.
Definition at line 82 of file Rules.h.
00082 { 00083 if(this->mA->select(thing)) return this->mB->select(thing); 00084 return false; 00085 };
virtual const std::string& RuleParser::Rule::name | ( | ) | const [inline, virtual, inherited] |
std::string RuleParser::Rule::m_name [protected, inherited] |
Rule* RuleParser::Rule::mA [protected, inherited] |
Rule* RuleParser::Rule::mB [protected, inherited] |