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