#include <energyProcessor.h>
Inheritance diagram for EnergyProcessor:
Public Member Functions | |
Constructors and Destructors | |
EnergyProcessor () throw () | |
Default constructor. | |
EnergyProcessor (const EnergyProcessor &proc) throw () | |
Copy constructor. | |
virtual | ~EnergyProcessor () throw () |
Destructor. | |
Assignment | |
const EnergyProcessor & | operator= (const EnergyProcessor &proc) throw () |
Assignment operator. | |
virtual void | clear () throw () |
Clear method. | |
Processor related methods | |
virtual bool | start () throw () |
Start-function. | |
virtual Processor::Result | operator() (AtomContainer &fragment) throw () |
Operator-function. | |
Accessors | |
double | getEnergy () const throw () |
Return the computed energy. | |
Predicates | |
bool | isValid () const throw () |
Validity. | |
bool | operator== (const EnergyProcessor &proc) const throw () |
Equality operator. | |
Protected Attributes | |
const AtomContainer * | fragment_ |
double | energy_ |
bool | valid_ |
With this class we provide an interface to different (free) energy calculations.
|
|
Validity.
|
|
Operator-function. This function only stores the AtomContainer. Reimplemented from UnaryProcessor< AtomContainer >. |
|
Assignment operator.
|
|
Equality operator.
|
|
Start-function.
Reimplemented from UnaryProcessor< AtomContainer >. |