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