mend
[satune.git] / src / set.h
1 /*
2  * File:   set.h
3  * Author: hamed
4  *
5  * Created on June 13, 2017, 3:01 PM
6  */
7
8 #ifndef SET_H
9 #define SET_H
10
11 #include "classlist.h"
12 #include "stl-model.h"
13 #include "mymemory.h"
14
15 class Set {
16 public:
17         Set(VarType t, uint64_t * elements, int num);
18         Set(VarType t, uint64_t lowrange, uint64_t highrange);
19         ~Set();
20
21         MEMALLOC;
22 private:
23         VarType type;
24         bool isRange;
25         uint64_t low, high;
26
27 protected:
28         ModelVector<uint64_t> *members;
29 };
30 #endif/* SET_H */
31