Blame view

Modif/epsilon-master/apps/solver/equation.h 691 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  #ifndef SOLVER_EQUATION_h
  #define SOLVER_EQUATION_h
  
  #include "../shared/expression_model.h"
  
  namespace Solver {
  
  class Equation : public Shared::ExpressionModel {
  public:
    Equation();
    ~Equation();
    Equation& operator=(const Equation& other);
    Equation& operator=(Equation&& other) = delete;
    Equation(const Equation& other) = delete;
    Equation(Equation&& other) = delete;
    void setContent(const char * c) override;
    void tidy() override;
    bool shouldBeClearedBeforeRemove() override {
      return false;
    }
    Poincare::Expression * standardForm(Poincare::Context * context) const;
  private:
    void tidyStandardForm();
    mutable Poincare::Expression * m_standardForm;
  };
  
  }
  
  #endif