BALL
1.4.79
|
#include <BALL/MOLMEC/COMMON/ruleProcessor.h>
Public Member Functions | |
RuleProcessor () | |
RuleProcessor (INIFile &file, const String &prefix) | |
RuleProcessor (const RuleProcessor &rule_processor) | |
~RuleProcessor () | |
void | clear () |
void | destroy () |
Accessors | |
bool | initialize (INIFile &file, const String &prefix) |
Assignment | |
const RuleProcessor & | operator= (const RuleProcessor &rule_processor) |
void | set (const RuleProcessor &rule_processor) |
Processor related methods | |
virtual bool | start () |
virtual bool | finish () |
String | evaluate (const Atom &atom) |
Debugging and Diagnostics | |
bool | isValid () const |
void | dump (std::ostream &s=std::cout) const |
Public Member Functions inherited from BALL::UnaryProcessor< Atom > | |
UnaryProcessor () | |
UnaryProcessor (const UnaryProcessor &) | |
virtual | ~UnaryProcessor () |
virtual Processor::Result | operator() (Atom &) |
Protected Attributes | |
RuleEvaluator | evaluator_ |
bool | valid_ |
Additional Inherited Members | |
Public Types inherited from BALL::UnaryFunctor< Atom, Processor::Result > | |
typedef Processor::Result | result_type |
typedef Atom | argument_type |
typedef Atom & | argument_reference |
typedef const Atom & | const_argument_reference |
typedef Atom * | argument_pointer |
typedef const Atom * | const_argument_pointer |
Rule Processor class.
Definition at line 26 of file ruleProcessor.h.
BALL::RuleProcessor::RuleProcessor | ( | ) |
Constructors and DestructorsDefault constructor
BALL::RuleProcessor::RuleProcessor | ( | const RuleProcessor & | rule_processor | ) |
Copy constructor
BALL::RuleProcessor::~RuleProcessor | ( | ) |
Destructor
void BALL::RuleProcessor::clear | ( | ) |
void BALL::RuleProcessor::destroy | ( | ) |
void BALL::RuleProcessor::dump | ( | std::ostream & | s = std::cout | ) | const |
|
virtual |
finish method
Reimplemented from BALL::UnaryProcessor< Atom >.
bool BALL::RuleProcessor::isValid | ( | ) | const |
const RuleProcessor& BALL::RuleProcessor::operator= | ( | const RuleProcessor & | rule_processor | ) |
void BALL::RuleProcessor::set | ( | const RuleProcessor & | rule_processor | ) |
|
virtual |
start method
Reimplemented from BALL::UnaryProcessor< Atom >.
|
protected |
Definition at line 116 of file ruleProcessor.h.
|
protected |
Definition at line 119 of file ruleProcessor.h.