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

In This Package:

RuleParser::GE_Rule< Type > Class Template Reference

Greater-than or equal-to than rule - is parameter less than cut? More...

#include <Rules.h>

Inheritance diagram for RuleParser::GE_Rule< Type >:

[legend]
Collaboration diagram for RuleParser::GE_Rule< Type >:
[legend]
List of all members.

Public Member Functions

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

Protected Attributes

int mParameterId
Type mCut
std::string m_name
RulemA
RulemB

Detailed Description

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

Greater-than or equal-to than rule - is parameter less than cut?

Definition at line 215 of file Rules.h.


Constructor & Destructor Documentation

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

Definition at line 219 of file Rules.h.

00221         : Rule(n) 
00222         , mParameterId(whichParam),mCut(value) {};

template<typename Type>
virtual RuleParser::GE_Rule< Type >::~GE_Rule (  )  [inline, virtual]

Definition at line 223 of file Rules.h.

00223 {};


Member Function Documentation

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

Implements RuleParser::Rule.

Definition at line 224 of file Rules.h.

00224                                               {
00225     Type value;
00226     thing->queryParam(mParameterId,value); 
00227     if(value >= mCut) return true;
00228     return false;
00229   }

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

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

Definition at line 231 of file Rules.h.

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

Definition at line 232 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 Mon Apr 11 20:09:16 2011 for RuleParser by doxygen 1.4.7