summaryrefslogtreecommitdiff
path: root/cont.h
blob: 90cbd7b35f317fef45b50a290148ffb70f1a886d (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
// 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