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