#include <PrescaleRule.h>
Inheritance diagram for RuleParser::PrescaleRuleFactory:
Public Member Functions | |
| Rule * | createRule (const ParameterDescription &, int, int, bool) |
| User class needs to override at least one of these methods, depending on what type Value is. | |
| virtual Rule * | createRule (const ParameterDescription ¶mter, int operation, double value, bool param_on_left) |
| virtual Rule * | createRule (const ParameterDescription ¶mter, int operation, const std::string &value, bool param_on_left) |
Definition at line 44 of file PrescaleRule.h.
| Rule * PrescaleRuleFactory::createRule | ( | const ParameterDescription & | , | |
| int | , | |||
| int | , | |||
| bool | ||||
| ) | [virtual] |
User class needs to override at least one of these methods, depending on what type Value is.
Reimplemented from RuleParser::RuleFactory.
Definition at line 6 of file PrescaleRule.cc.
00011 { 00012 std::ostringstream stm; 00013 stm << "Prescale by " << value; 00014 00015 std::string name = stm.str(); 00016 return new PrescaleRule(name,value); 00017 };
| Rule * RuleFactory::createRule | ( | const ParameterDescription & | paramter, | |
| int | operation, | |||
| double | value, | |||
| bool | param_on_left | |||
| ) | [virtual, inherited] |
| Rule * RuleFactory::createRule | ( | const ParameterDescription & | paramter, | |
| int | operation, | |||
| const std::string & | value, | |||
| bool | param_on_left | |||
| ) | [virtual, inherited] |
1.4.7