#ifndef _PAIR_H_
#define _PAIR_H__
/* - - - - - - - - - - - - - - - - - - - - - - - - - - */
class pair : public element {
private:
protected:
entity * value; // hold another object
char * make_name(char * NAME1, char * NAME2);
public:
pair();
pair(entity * key, entity * VALUE);
~pair();
void set_value(entity * VALUE);
char * get_classname(); // get the classification name of object
entity * get_value(); // get the "value" object of container
Bool equal(entity * ent); // is the given object same to the object
in container?
void print_name(); // print all the name in list on screen
char * get_name(); // get name of the pair of object in container
};
#endif