14 #include "delayeddelivery.h"
24 if( !m_stamp.empty() )
39 m_reason = tag->
cdata();
51 static const std::string filter =
64 Tag* t =
new Tag(
"delay" );
68 if( !m_stamp.empty() )
70 if( !m_reason.empty() )
DelayedDelivery(const JID &from, const std::string stamp, const std::string &reason="")
virtual const std::string & filterString() const
virtual ~DelayedDelivery()
bool setCData(const std::string &cdata)
The namespace for the gloox library.
This class abstracts a stanza extension, which is usually an element in a specific namespace...
const std::string & findAttribute(const std::string &name) const
bool hasAttribute(const std::string &name, const std::string &value=EmptyString) const
virtual Tag * tag() const
const std::string cdata() const
const std::string XMLNS_X_DELAY
bool addAttribute(Attribute *attr)
const std::string & name() const
const std::string & full() const
This is an abstraction of an XML element.
const std::string XMLNS_DELAY