mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
23 lines
415 B
C++
23 lines
415 B
C++
#ifndef GRAPH_FUNCTION_STORE_H
|
|
#define GRAPH_FUNCTION_STORE_H
|
|
|
|
#include "function.h"
|
|
|
|
namespace Graph {
|
|
|
|
class FunctionStore {
|
|
public:
|
|
FunctionStore();
|
|
Function * functionAtIndex(int i);
|
|
void pushFunction(const char * functionText);
|
|
int numberOfFunctions();
|
|
private:
|
|
int m_numberOfFunctions;
|
|
static constexpr int k_maxNumberOfFunctions = 8;
|
|
Function m_functions[k_maxNumberOfFunctions];
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|