'Classic' CCA c++ binding (ccaffeine-only)
0.5.7
|
00001 #ifndef KeyValuePort_h_seen 00002 #define KeyValuePort_h_seen 00003 00004 00005 #include <string> 00006 #include <vector> 00007 00008 namespace classic { 00009 00010 namespace gov { 00011 namespace cca { 00012 00056 class KeyValuePort : public virtual Port { 00057 00058 public: 00059 00061 virtual ~KeyValuePort() {} 00062 00066 virtual const ::std::string getValue(const ::std::string & key) CLASSIC_CCA_PURE; 00067 00072 virtual void setValue(const ::std::string & key, const ::std::string & value) CLASSIC_CCA_PURE; 00073 00076 virtual const ::std::string remove( const ::std::string & key) CLASSIC_CCA_PURE; 00077 00081 virtual ::std::vector< ::std::string > getKeys() CLASSIC_CCA_PURE; 00082 00083 }; 00084 00085 } ENDSEMI // end namespace cca 00086 } ENDSEMI // end namespace gov 00087 } ENDSEMI // end namespace classic 00088 00089 #endif //KeyValuePort_h_seen