/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
RuleParser::RuleFactory Class Reference

(non)virtual base class for a user-creatable class that makes a rule. More...

#include <RuleFactory.h>

Inheritance diagram for RuleParser::RuleFactory:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual RulecreateRule (const ParameterDescription &parameter, int operation, int value, bool param_on_left)
 User class needs to override at least one of these methods, depending on what type Value is.
virtual RulecreateRule (const ParameterDescription &paramter, int operation, double value, bool param_on_left)
virtual RulecreateRule (const ParameterDescription &paramter, int operation, const std::string &value, bool param_on_left)
virtual ~RuleFactory ()

Detailed Description

(non)virtual base class for a user-creatable class that makes a rule.

Author:
Nathaniel Tagg (tagg@minos.phy.tufts.edu)

Definition at line 14 of file RuleFactory.h.


Constructor & Destructor Documentation

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

Definition at line 39 of file RuleFactory.h.

{};

Member Function Documentation

Rule * RuleFactory::createRule ( const ParameterDescription parameter,
int  operation,
int  value,
bool  param_on_left 
) [virtual]

User class needs to override at least one of these methods, depending on what type Value is.

Reimplemented in RuleParser::PrescaleRuleFactory.

Definition at line 5 of file RuleFactory.cc.

{ 
  assert(0 && "Not implimented: int type factory"); 
};
Rule * RuleFactory::createRule ( const ParameterDescription paramter,
int  operation,
double  value,
bool  param_on_left 
) [virtual]

Definition at line 14 of file RuleFactory.cc.

{ 
  assert(0 && "Not implimented: double type factory"); 
};
Rule * RuleFactory::createRule ( const ParameterDescription paramter,
int  operation,
const std::string &  value,
bool  param_on_left 
) [virtual]

Definition at line 23 of file RuleFactory.cc.

{ 
  assert(0 && "Not implimented: string type factory"); 
};

The documentation for this class was generated from the following files:
| 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