Numworks Epsilon  1.4.1
Graphing Calculator Operating System
bounded_static_hierarchy.h
Go to the documentation of this file.
1 #ifndef POINCARE_BOUNDED_STATIC_HIERARCHY_H
2 #define POINCARE_BOUNDED_STATIC_HIERARCHY_H
3 
5 
6 namespace Poincare {
7 
8 template<int T>
10 public:
12  BoundedStaticHierarchy(const Expression * expression, bool cloneOperands = true); // Specialized constructor for StaticHierarchy<2>
13  BoundedStaticHierarchy(const Expression * expression1, const Expression * expression2, bool cloneOperands = true); // Specialized constructor for StaticHierarchy<2>
14  BoundedStaticHierarchy(const Expression * const * operands, int numberOfOperands, bool cloneOperands = true);
15  void setArgument(ListData * listData, int numberOfEntries, bool clone) override;
16  int numberOfOperands() const override { return m_numberOfOperands; }
17  bool hasValidNumberOfOperands(int numberOfOperands) const override;
18 private:
19  int m_numberOfOperands;
20 };
21 
22 }
23 
24 #endif
bool hasValidNumberOfOperands(int numberOfOperands) const override
const Expression *const * operands() const override
virtual Expression * clone() const =0
void setArgument(ListData *listData, int numberOfEntries, bool clone) override