AMPI: drop comm argument from AMPI_Comm_set_migratable and rename to AMPI_Set_migratable
[charm.git] / src / ck-ldb / ckset.h
blob3d718b0f8f61ba51f62de94b8340c3abbad5e269
1 /**
2 * \addtogroup CkLdb
3 */
4 /*@{*/
6 #ifndef SET_DEFS_H
7 #define SET_DEFS_H
9 class InfoRecord;
11 class listNode {
12 public:
13 listNode *next;
14 InfoRecord *info;
17 class Iterator{
18 public:
19 int id; // for debugging
20 listNode* next;
23 class Set {
25 private:
26 listNode *head;
28 public:
29 Set();
30 ~Set();
31 void insert(InfoRecord *);
32 int find(InfoRecord *) ;
33 void remove(InfoRecord *);
34 void myRemove(listNode **n, InfoRecord *r);
35 InfoRecord *iterator(Iterator *);
36 InfoRecord *next(Iterator *);
37 int numElements();
38 void print();
41 #endif
43 /*@}*/