Files
Upsilon/apps/graph/evaluate_context.h
Émilie Feral e132c9ae13 [poincare] Use a buffer in the class context to store expression
Change-Id: I9a3ae1bb02b1714940a339d039b6f4e917255f8d
2016-10-19 16:22:49 +02:00

20 lines
406 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) const override;
private:
Float m_xValue;
::Context * m_context;
};
}
#endif