org::xmlBlaster::util::key::MsgKeyData Class Reference

Inheritance diagram for org::xmlBlaster::util::key::MsgKeyData:

Inheritance graph
[legend]
Collaboration diagram for org::xmlBlaster::util::key::MsgKeyData:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MsgKeyData (org::xmlBlaster::util::Global &global)
 Minimal constructor.
 MsgKeyData (const MsgKeyData &key)
MsgKeyDataoperator= (const MsgKeyData &key)
std::string getOid () const
 
Returns:
never '' (empty), an oid is generated if it was empty.

void setClientTags (const std::string &tags)
 Set client specific meta informations.
std::string getClientTags () const
std::string toXml (const std::string &extraOffset) const
 Dump state of this object into a XML ASCII std::string.
std::string toXml () const
MsgKeyDatagetClone () const
 Allocate a clone.

Detailed Description

Definition at line 45 of file MsgKeyData.h.


Constructor & Destructor Documentation

org::xmlBlaster::util::key::MsgKeyData::MsgKeyData ( org::xmlBlaster::util::Global global  ) 

Minimal constructor.

Definition at line 16 of file MsgKeyData.cpp.

org::xmlBlaster::util::key::MsgKeyData::MsgKeyData ( const MsgKeyData key  ) 


Member Function Documentation

MsgKeyData& org::xmlBlaster::util::key::MsgKeyData::operator= ( const MsgKeyData key  ) 

std::string org::xmlBlaster::util::key::MsgKeyData::getOid (  )  const

Returns:
never '' (empty), an oid is generated if it was empty.

Reimplemented from org::xmlBlaster::util::key::KeyData.

void org::xmlBlaster::util::key::MsgKeyData::setClientTags ( const std::string &  tags  ) 

Set client specific meta informations.

May be used to integrate your application tags, for example:

<key oid='4711' contentMime='text/xml'>
   <AGENT id='192.168.124.20' subId='1' type='generic'>
      <DRIVER id='FileProof' pollingFreq='10'>
      </DRIVER>
   </AGENT>
</key>
 
Parameters:
str Your tags in ASCII XML syntax

std::string org::xmlBlaster::util::key::MsgKeyData::getClientTags (  )  const

Referenced by org::xmlBlaster::test::TestKeys::testPublishKey().

std::string org::xmlBlaster::util::key::MsgKeyData::toXml ( const std::string &  extraOffset  )  const [virtual]

Dump state of this object into a XML ASCII std::string.


Parameters:
extraOffset indenting of tags for nice output
Returns:
internal state of the query as a XML ASCII std::string

Reimplemented from org::xmlBlaster::util::key::KeyData.

std::string org::xmlBlaster::util::key::MsgKeyData::toXml (  )  const [virtual]

Reimplemented from org::xmlBlaster::util::key::KeyData.

MsgKeyData* org::xmlBlaster::util::key::MsgKeyData::getClone (  )  const [virtual]

Allocate a clone.

Returns:
The caller needs to free it with 'delete'.

Reimplemented from org::xmlBlaster::util::key::KeyData.


The documentation for this class was generated from the following files: