| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

RuleParser::NotRule Class Reference

negates owned rules. More...

#include <Rules.h>

Inheritance diagram for RuleParser::NotRule:

[legend]
Collaboration diagram for RuleParser::NotRule:
[legend]
List of all members.

Public Member Functions

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

Protected Attributes

std::string m_name
RulemA
RulemB

Detailed Description

negates owned rules.

Definition at line 115 of file Rules.h.


Constructor & Destructor Documentation

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

Definition at line 119 of file Rules.h.

00120                    : Rule(n,a) {};

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

Definition at line 121 of file Rules.h.

00121 {};


Member Function Documentation

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

Implements RuleParser::Rule.

Definition at line 122 of file Rules.h.

00122                                               { 
00123     return (! this->mA->select(thing) ); 
00124   };

virtual const std::string& RuleParser::Rule::name (  )  const [inline, virtual, inherited]

Definition at line 25 of file Rules.h.

00025 { 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 Mon Apr 11 20:09:16 2011 for RuleParser by doxygen 1.4.7