BALL  1.5.0
Public Member Functions | List of all members

#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)
 
- Public Member Functions inherited from BALL::UnaryProcessor< Atom >
 UnaryProcessor ()
 
 UnaryProcessor (const UnaryProcessor &)
 
virtual ~UnaryProcessor ()
 
virtual Processor::Result operator() (Atom &)
 

Debugging and Diagnostics

RuleEvaluator evaluator_
 
bool valid_
 
bool isValid () const
 
void dump (std::ostream &s=std::cout) const
 

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

◆ RuleProcessor() [1/3]

BALL::RuleProcessor::RuleProcessor ( )

Constructors and Destructors Default constructor

◆ RuleProcessor() [2/3]

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

Detailed constructor

◆ RuleProcessor() [3/3]

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

Copy constructor

◆ ~RuleProcessor()

BALL::RuleProcessor::~RuleProcessor ( )

Destructor

Member Function Documentation

◆ clear()

void BALL::RuleProcessor::clear ( )

◆ destroy()

void BALL::RuleProcessor::destroy ( )

◆ dump()

void BALL::RuleProcessor::dump ( std::ostream &  s = std::cout) const

◆ evaluate()

String BALL::RuleProcessor::evaluate ( const Atom atom)

◆ finish()

virtual bool BALL::RuleProcessor::finish ( )
virtual

finish method

Reimplemented from BALL::UnaryProcessor< Atom >.

◆ initialize()

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

◆ isValid()

bool BALL::RuleProcessor::isValid ( ) const

◆ operator=()

const RuleProcessor& BALL::RuleProcessor::operator= ( const RuleProcessor rule_processor)

◆ set()

void BALL::RuleProcessor::set ( const RuleProcessor rule_processor)

◆ start()

virtual bool BALL::RuleProcessor::start ( )
virtual

start method

Reimplemented from BALL::UnaryProcessor< Atom >.

Member Data Documentation

◆ evaluator_

RuleEvaluator BALL::RuleProcessor::evaluator_
protected

Definition at line 116 of file ruleProcessor.h.

◆ valid_

bool BALL::RuleProcessor::valid_
protected

Definition at line 119 of file ruleProcessor.h.