BALL::RuleProcessor Class Reference
[Rule-based parameter assignment]

#include <BALL/MOLMEC/COMMON/ruleProcessor.h>

Inheritance diagram for BALL::RuleProcessor:
BALL::UnaryProcessor< Atom > BALL::UnaryFunctor< Atom, Processor::Result > BALL::ChargeRuleProcessor BALL::RadiusRuleProcessor BALL::TypenameRuleProcessor BALL::TypeRuleProcessor

List of all members.


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 RuleProcessoroperator= (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

Protected Attributes

RuleEvaluator evaluator_
bool valid_

Detailed Description

Rule Processor class.


Constructor & Destructor Documentation

BALL::RuleProcessor::RuleProcessor (  ) 

Constructors and Destructors Default constructor

BALL::RuleProcessor::RuleProcessor ( INIFile file,
const String prefix 
)

Detailed constructor

BALL::RuleProcessor::RuleProcessor ( const RuleProcessor rule_processor  ) 

Copy constructor

BALL::RuleProcessor::~RuleProcessor (  ) 

Destructor


Member Function Documentation

void BALL::RuleProcessor::clear (  ) 
void BALL::RuleProcessor::destroy (  ) 
void BALL::RuleProcessor::dump ( std::ostream &  s = std::cout  )  const
String BALL::RuleProcessor::evaluate ( const Atom atom  ) 
virtual bool BALL::RuleProcessor::finish (  )  [virtual]

finish method

Reimplemented from BALL::UnaryProcessor< Atom >.

bool BALL::RuleProcessor::initialize ( INIFile file,
const String prefix 
)
bool BALL::RuleProcessor::isValid (  )  const
const RuleProcessor& BALL::RuleProcessor::operator= ( const RuleProcessor rule_processor  ) 
void BALL::RuleProcessor::set ( const RuleProcessor rule_processor  ) 
virtual bool BALL::RuleProcessor::start (  )  [virtual]

start method

Reimplemented from BALL::UnaryProcessor< Atom >.


Member Data Documentation