22 static const char* typeValues [] = {
41 const std::string& name = tag->
name();
42 m_type = (
Type)util::lookup( name, typeValues );
72 if( !m_forward || m_type ==
Invalid )
80 if( !m_forward || m_type ==
Invalid )
92 if( m_forward && ( m_type ==
Received || m_type ==
Sent ) )
This is an implementation of Stanza Forwarding (XEP-0297) as a StanzaExtension.
virtual Stanza * embeddedStanza() const
This is the base class for XMPP stanza abstractions.
virtual Stanza * embeddedStanza() const
void addChild(Tag *child)
virtual Tag * tag() const
The namespace for the gloox library.
This class abstracts a stanza extension, which is usually an element in a specific namespace...
virtual const std::string & filterString() const
const std::string & name() const
virtual Tag * tag() const
const std::string XMLNS_STANZA_FORWARDING
virtual StanzaExtension * clone() const
const std::string XMLNS_MESSAGE_CARBONS
Tag * findChild(const std::string &name) const
virtual Tag * embeddedTag() const
This is an abstraction of an XML element.
virtual Tag * embeddedTag() const