class ResultCalculatorParams

Parameters for a given result calculator.

Allows the user to specify parameters with a name (string) and a value (double) to a result calculator. The supported parameters from a result calculator will be exposed by the plugin and can be queried with the keyArray() method.

Public Functions



bool hasKey(const Str &key) const

Returns true of if the given key is a parameter in the result calculator.

double value(const Str &key) const

Returns the value of the parameter with the given key.

Will return cee::UNDEFINED_DOUBLE if key is not a parameter

void setValue(const Str &key, double value)

Sets the parameter with name key to the given value.

std::vector<Str> keyArray() const

Returns an array with all the keys the result calculator supports.