blob: 6affcbb90bbb9846d8152119ce04c0d8e531965d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
|
// $Header$
#ifndef MULTISTORAGE_HH
#define MULTISTORAGE_HH
#include <list>
#include "storage.hh"
using namespace std;
class multistorage
{
list<storage *> stores;
multistorage (multistorage const &);
multistorage
operator= (multistorage const &);
public:
multistorage ();
~ multistorage ();
void
add_storage (storage *);
int
num_storages ()
const;
void
store (char const * key, int value)
const;
void
store (char const * key, double value)
const;
void
store (char const * key, char const * value)
const;
};
#endif // ifndef MULTISTORAGE_HH
|