00001 #ifndef KeyValuePort_h_seen
00002 #define KeyValuePort_h_seen
00003
00004 namespace gov {
00005 namespace cca {
00006
00048 class KeyValuePort : public virtual Port {
00049
00050 public:
00051
00053 virtual ~KeyValuePort() {}
00054
00058 virtual CONST char * getValue(CONST char * key)=0;
00059
00064 virtual int setValue(CONST char * key, CONST char * value) =0;
00065
00068 CFREE virtual char * remove(CONST char * key) =0;
00069
00075 CFREE virtual char ** getKeys()=0;
00076
00077 };
00078
00079 } ENDSEMI
00080 } ENDSEMI
00081
00082 #endif //KeyValuePort_h_seen