mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
28 lines
623 B
C++
28 lines
623 B
C++
#ifndef SHARED_STORE_CONTEXT_H
|
|
#define SHARED_STORE_CONTEXT_H
|
|
|
|
#include <poincare/expression.h>
|
|
#include <poincare/context_with_parent.h>
|
|
#include <poincare/symbol.h>
|
|
#include "double_pair_store.h"
|
|
#include <cmath>
|
|
|
|
namespace Shared {
|
|
|
|
class StoreContext : public Poincare::ContextWithParent {
|
|
public:
|
|
StoreContext(Shared::DoublePairStore * store, Context * parentContext) :
|
|
Poincare::ContextWithParent(parentContext),
|
|
m_store(store),
|
|
m_seriesPairIndex(-1)
|
|
{}
|
|
void setSeriesPairIndex(int j) { m_seriesPairIndex = j; }
|
|
protected:
|
|
Shared::DoublePairStore * m_store;
|
|
int m_seriesPairIndex;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|