BALL  1.4.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Protected Attributes | List of all members
BALL::RuleProcessor Class Reference

#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

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
- 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 Atomargument_reference
typedef const Atomconst_argument_reference
typedef Atomargument_pointer
typedef const Atomconst_argument_pointer

Detailed Description

Rule Processor class.

Definition at line 26 of file ruleProcessor.h.

Constructor & Destructor Documentation

BALL::RuleProcessor::RuleProcessor ( )

Constructors and DestructorsDefault 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

RuleEvaluator BALL::RuleProcessor::evaluator_
protected

Definition at line 116 of file ruleProcessor.h.

bool BALL::RuleProcessor::valid_
protected

Definition at line 119 of file ruleProcessor.h.