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 )
83 return m_forward->embeddedTag();
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.
StanzaExtension(int type)
This is the base class for XMPP stanza abstractions.
Stanza * embeddedStanza() const
This is an abstraction of an XML element.
void addChild(Tag *child)
The namespace for the gloox library.
const std::string XMLNS_MESSAGE_CARBONS
const std::string XMLNS_STANZA_FORWARDING