/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 Member Functions | Protected Attributes
RuleParser::Rule Class Reference

Base class for a generic rule. More...

#include <Rules.h>

Inheritance diagram for RuleParser::Rule:
Inheritance graph
[legend]
Collaboration diagram for RuleParser::Rule:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual ~Rule ()
virtual bool select (const Queriable *)=0
virtual const std::string & name () const

Protected Member Functions

 Rule (std::string name="unnamed rule", Rule *a=0, Rule *b=0)

Protected Attributes

std::string m_name
RulemA
RulemB

Detailed Description

Base class for a generic rule.

Definition at line 20 of file Rules.h.


Constructor & Destructor Documentation

virtual RuleParser::Rule::~Rule ( ) [inline, virtual]

Definition at line 23 of file Rules.h.

{ if(mA) delete mA; if(mB) delete mB; };  
RuleParser::Rule::Rule ( std::string  name = "unnamed rule",
Rule a = 0,
Rule b = 0 
) [inline, protected]

Definition at line 28 of file Rules.h.

          : m_name(name), mA(a), mB(b) {};

Member Function Documentation

virtual bool RuleParser::Rule::select ( const Queriable ) [pure virtual]
virtual const std::string& RuleParser::Rule::name ( ) const [inline, virtual]

Definition at line 25 of file Rules.h.

{ return m_name; };

Member Data Documentation

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

Definition at line 30 of file Rules.h.

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

Definition at line 32 of file Rules.h.

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

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