22 static const char* typeValues [] = {
41 const std::string& name =
tag->
name();
42 m_type =
static_cast<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 ) )
virtual Stanza * embeddedStanza() const
virtual StanzaExtension * clone() const
virtual Tag * embeddedTag() const
virtual const std::string & filterString() const
virtual Tag * tag() const
This is an implementation of Stanza Forwarding (XEP-0297) as a StanzaExtension.
virtual Tag * embeddedTag() const
virtual Stanza * embeddedStanza() const
virtual Tag * tag() const
This class abstracts a stanza extension, which is usually an XML child element in a specific namespac...
This is the base class for XMPP stanza abstractions.
This is an abstraction of an XML element.
Tag * findChild(const std::string &name) const
void addChild(Tag *child)
const std::string & name() const
The namespace for the gloox library.
const std::string XMLNS_MESSAGE_CARBONS
const std::string XMLNS_STANZA_FORWARDING