/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::EQ_Rule< Type > Class Template Reference

equal-to rule More...

#include <Rules.h>

Inheritance diagram for RuleParser::EQ_Rule< Type >:
Inheritance graph
Collaboration diagram for RuleParser::EQ_Rule< Type >:
Collaboration graph

List of all members.

Public Member Functions

 EQ_Rule (std::string n, int whichParam, Type value)
virtual ~EQ_Rule ()
virtual bool select (const Queriable *thing)
virtual const std::string & name () const

Protected Attributes

int mParameterId
Type mCut
std::string m_name

Detailed Description

template<typename Type>
class RuleParser::EQ_Rule< Type >

equal-to rule

Definition at line 242 of file Rules.h.

Constructor & Destructor Documentation

template<typename Type>
RuleParser::EQ_Rule< Type >::EQ_Rule ( std::string  n,
int  whichParam,
Type  value 
) [inline]

Definition at line 246 of file Rules.h.

        : Rule(n) 
        , mParameterId(whichParam),mCut(value) {};
template<typename Type>
virtual RuleParser::EQ_Rule< Type >::~EQ_Rule ( ) [inline, virtual]

Definition at line 250 of file Rules.h.


Member Function Documentation

template<typename Type>
virtual bool RuleParser::EQ_Rule< Type >::select ( const Queriable thing) [inline, virtual]

Implements RuleParser::Rule.

Definition at line 251 of file Rules.h.

    Type value;
    if(value == mCut) return true;
    return false;
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

template<typename Type>
int RuleParser::EQ_Rule< Type >::mParameterId [protected]

Definition at line 258 of file Rules.h.

template<typename Type>
Type RuleParser::EQ_Rule< Type >::mCut [protected]

Definition at line 259 of file Rules.h.

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