17 #include "stanzaextension.h"
146 Rule(
const std::string& condition,
const std::string& action,
147 const std::string& value );
166 std::string* m_expireat;
182 AMP(
bool perhop =
false );
194 void addRule(
const Rule* rule );
208 virtual const std::string& filterString()
const;
213 return new AMP( tag );
217 virtual Tag* tag()
const;
223 a->m_perhop = m_perhop;
224 RuleList::const_iterator it = m_rules.begin();
225 for( ; it != m_rules.end(); ++it )
226 a->m_rules.push_back(
new Rule( *(*it) ) );
227 a->m_status = m_status;
This is an implementation of XEP-0079 (Advanced Message Processing) as a StanzaExtension.
const RuleList & rules() const
virtual StanzaExtension * newInstance(const Tag *tag) const
virtual StanzaExtension * clone() const
std::list< const Rule * > RuleList
This class abstracts a stanza extension, which is usually an XML child element in a specific namespac...
This is an abstraction of an XML element.
The namespace for the gloox library.