![]() |
Rosetta Utilities
2015.25
|
#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... | |
Public Member Functions inherited from utility::pointer::ReferenceCount | |
| ReferenceCount () | |
| Default constructor. More... | |
| virtual | ~ReferenceCount () |
Private Attributes | |
| std::string | equation_ |
Additional Inherited Members | |
Public Types inherited from utility::pointer::ReferenceCount | |
| typedef platform::Size | Size |
| typedef platform::Size | size_type |
|
virtual |
| numeric::Calculator::Calculator | ( | std::string const & | equation | ) |
Calculate the value of the equation, putting it in output Return true if the computation failed.
References equation_, and numeric::CalculatorParser::parser().
|
private |
Referenced by compute().
1.8.7