Files
Upsilon/apps/graph/evaluate_context.h
Émilie Feral 38c3ac0e2b [poincare] make the evaluation of symbol not constant to allow dynamic
evaluation

Change-Id: Iddff962e1617211a4e36704f90090fd808811642
2016-11-04 16:32:05 +01:00

20 lines
400 B
C++

#ifndef GRAPH_EVALUATECONTEXT_H
#define GRAPH_EVALUATECONTEXT_H
#include <poincare.h>
namespace Graph {
class EvaluateContext : public ::Context {
public:
EvaluateContext(Context * parentContext);
void setOverridenValueForSymbolX(float f);
const Expression * expressionForSymbol(const Symbol * symbol) override;
private:
Float m_xValue;
::Context * m_context;
};
}
#endif