Blame view

Giac_maj/epsilon-giac/poincare/src/simplify/expression_match.h 547 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
  #ifndef POINCARE_SIMPLIFY_EXPRESSION_MATCH_H
  #define POINCARE_SIMPLIFY_EXPRESSION_MATCH_H
  
  #include <poincare/expression.h>
  extern "C" {
  #include <stdint.h>
  }
  
  namespace Poincare {
  
  class ExpressionMatch {
  public:
    ExpressionMatch();
    ExpressionMatch(const Expression ** expressions, int numberOfExpressions);
    ~ExpressionMatch();
    const Expression * expression(int i);
    int numberOfExpressions();
    ExpressionMatch& operator=(ExpressionMatch&& other);
  private:
    const Expression ** m_expressions;
    int m_numberOfExpressions;
  };
  
  }
  
  #endif