/search.css" rel="stylesheet" type="text/css"/> /search.js">
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

Public Member Functions | Protected Attributes
RuleParser::OrRule Class Reference

Logical OR of two owned rules. More...

#include <Rules.h>

Inheritance diagram for RuleParser::OrRule:
Inheritance graph
Collaboration diagram for RuleParser::OrRule:
Collaboration graph

List of all members.

Public Member Functions

 OrRule (std::string n, Rule *a, Rule *b)
virtual ~OrRule ()
virtual bool select (const Queriable *thing)
virtual const std::string & name () const

Protected Attributes

std::string m_name

Detailed Description

Logical OR of two owned rules.

Definition at line 95 of file Rules.h.

Constructor & Destructor Documentation

RuleParser::OrRule::OrRule ( std::string  n,
Rule a,
Rule b 
) [inline]

Definition at line 99 of file Rules.h.

                           : Rule(n,a,b) {};
virtual RuleParser::OrRule::~OrRule ( ) [inline, virtual]

Definition at line 101 of file Rules.h.


Member Function Documentation

virtual bool RuleParser::OrRule::select ( const Queriable thing) [inline, virtual]

Implements RuleParser::Rule.

Definition at line 102 of file Rules.h.

    if(this->mA->select(thing)) return true; 
    return this->mB->select(thing); 
virtual const std::string& RuleParser::Rule::name ( ) const [inline, virtual, inherited]

Definition at line 25 of file Rules.h.

{ return m_name; };

Member Data Documentation

std::string RuleParser::Rule::m_name [protected, inherited]

Definition at line 30 of file Rules.h.

Rule* RuleParser::Rule::mA [protected, inherited]

Definition at line 32 of file Rules.h.

Rule* RuleParser::Rule::mB [protected, inherited]

Definition at line 33 of file Rules.h.

The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Fri May 16 2014 09:53:45 for RuleParser by doxygen 1.7.4