This is a simple class to model a Calculator Variable Pool.
More...
#include <InlineCalculator.h>
This is a simple class to model a Calculator Variable Pool.
- Author
- 2012-07-15 Kris Becker
◆ CalculatorVariablePool()
Isis::CalculatorVariablePool::CalculatorVariablePool |
( |
| ) |
|
◆ ~CalculatorVariablePool()
Isis::CalculatorVariablePool::~CalculatorVariablePool |
( |
| ) |
|
◆ add()
void Isis::CalculatorVariablePool::add |
( |
const QString & | key, |
|
|
QVector< double > & | values ) |
|
virtual |
Add a parameter to the variable pool.
Some implementations can take advantage of this if desired but it is not standard.
- Parameters
-
key | A string containing the name of the parameter to be added. |
values | A vector of double precision values to be added to the variable pool. |
- Exceptions
-
References _FILEINFO_, and Isis::IException::Programmer.
◆ exists()
bool Isis::CalculatorVariablePool::exists |
( |
const QString & | variable | ) |
const |
|
virtual |
Returns true so the real error can be reported.
- Parameters
-
variable | A string containing the variable we are looking for. |
- Returns
- bool True
◆ value()
QVector< double > Isis::CalculatorVariablePool::value |
( |
const QString & | variable, |
|
|
const int & | index = 0 ) const |
|
virtual |
The documentation for this class was generated from the following files: