Numworks Epsilon  1.4.1
Graphing Calculator Operating System
float_pair_store.h
Go to the documentation of this file.
1 #ifndef SHARED_FLOAT_PAIR_STORE_H
2 #define SHARED_FLOAT_PAIR_STORE_H
3 
4 #include <stdint.h>
5 
6 namespace Shared {
7 
9 public:
11  // Delete the implicit copy constructor: the object is heavy
12  FloatPairStore(const FloatPairStore&) = delete;
13  double get(int i, int j);
14  void set(double f, int i, int j);
15  int numberOfPairs();
16  void deletePairAtIndex(int j);
17  void deleteAllPairs();
18  void resetColumn(int i);
19  double sumOfColumn(int i);
21  constexpr static int k_maxNumberOfPairs = 100;
22 protected:
23  virtual double defaultValue(int i, int j);
26 };
27 
28 }
29 
30 #endif
static constexpr int k_maxNumberOfPairs
unsigned int uint32_t
Definition: stdint.h:6
virtual double defaultValue(int i, int j)
double m_data[2][k_maxNumberOfPairs]