blob: ec97f6384c9e07b5fc0f7206e5e3fea151e48d0b (
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
|
// class cont declaration. defines a simple data container class.
#ifndef CONT_H
#define CONT_H
#include "incl.h"
#include "hmap.h"
using namespace std;
class cont
{
protected:
map_string map_vals;
public:
cont::~cont();
// small inline methods:
void clear_vals()
{
map_vals.clear();
} // removes all values.
// public methods:
virtual string get_val( string s_key ); // get a specific map_vals value.
};
#endif
|