summaryrefslogtreecommitdiff
path: root/src/memb/memb.h
blob: 9c398eca9511a81f7ab21a41194e7baa761fa2d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef MEMB_H
#define MEMB_H

#include "../incl.h"
#include "../maps/nhashmap.h"
#include "tupel.h"

using namespace std;

template<class obj_type>
class memb
{
private:
  nhashmap< mutexed_tupel<obj_type>* > map_elems;

public:
  inline obj_type get_elem(string s_key);
  inline void set_elem(obj_type t_obj, string s_key);

};

#include "memb.tmpl"
#endif