Numworks Epsilon  1.4.1
Graphing Calculator Operating System
calculation_store.h
Go to the documentation of this file.
1 #ifndef CALCULATION_CALCULATION_STORE_H
2 #define CALCULATION_CALCULATION_STORE_H
3 
4 #include "calculation.h"
5 
6 namespace Calculation {
7 
9 public:
12  Calculation * push(const char * text, Poincare::Context * context);
13  void deleteCalculationAtIndex(int i);
14  void deleteAll();
16  void tidy();
18  static constexpr int k_maxNumberOfCalculations = 10;
19 private:
20  int m_startIndex;
21  Calculation m_calculations[k_maxNumberOfCalculations];
22 };
23 
24 }
25 
26 #endif
Calculation * push(const char *text, Poincare::Context *context)
Calculation * calculationAtIndex(int i)
static constexpr int k_maxNumberOfCalculations
Poincare::Expression * ansExpression(Poincare::Context *context)