util/key/MsgKeyData.h

Go to the documentation of this file.
00001 /*------------------------------------------------------------------------------
00002 Name:      MsgKeyData.h
00003 Project:   xmlBlaster.org
00004 Copyright: xmlBlaster.org, see xmlBlaster-LICENSE file
00005 ------------------------------------------------------------------------------*/
00006 
00037 #ifndef _UTIL_KEY_MSGKEYDATA_H
00038 #define _UTIL_KEY_MSGKEYDATA_H
00039 
00040 #include <util/key/KeyData.h>
00041 #include <string>
00042 
00043 namespace org { namespace xmlBlaster { namespace util { namespace key {
00044 
00045 class Dll_Export MsgKeyData : public KeyData
00046 {
00047 private:
00048    std::string clientTags_;
00049 
00050 public:
00051 
00055    MsgKeyData(org::xmlBlaster::util::Global& global);
00056    
00057    MsgKeyData(const MsgKeyData& key);
00058 
00059    MsgKeyData& operator =(const MsgKeyData& key);
00060 
00064    std::string getOid() const;
00065 
00081    void setClientTags(const std::string& tags);
00082 
00083    std::string getClientTags() const;
00084 
00091    std::string toXml(const std::string& extraOffset) const;
00092    std::string toXml() const;
00093 
00098    MsgKeyData* getClone() const;
00099 };
00100 
00101 }}}} // namespace
00102 
00103 #endif
00104