Rosetta
|
#include <Calculator.hh>
Public Member Functions | |
virtual | ~Calculator () |
Calculator (std::string const &equation) | |
bool | compute (std::map< std::string, Real > &values, Real &output) const |
Calculate the value of the equation, putting it in output Return true if the computation failed. More... | |
![]() | |
ReferenceCount () | |
Default constructor. More... | |
virtual | ~ReferenceCount () |
Private Attributes | |
std::string | equation_ |
Additional Inherited Members | |
![]() | |
typedef platform::Size | Size |
typedef platform::Size | size_type |
Definition at line 31 of file Calculator.hh.
|
virtual |
Definition at line 154 of file Calculator.cc.
numeric::Calculator::Calculator | ( | std::string const & | equation | ) |
Definition at line 156 of file Calculator.cc.
Calculate the value of the equation, putting it in output Return true if the computation failed.
Definition at line 162 of file Calculator.cc.
References equation_, contacts::output, numeric::CalculatorParser::parser(), ObjexxFCL::space(), and loops_kic::success.
|
private |
Definition at line 44 of file Calculator.hh.
Referenced by compute().