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 );
200 const RuleList&
rules()
const {
return m_rules; }
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;
std::list< const Rule * > RuleList
virtual StanzaExtension * clone() const
const RuleList & rules() const
The namespace for the gloox library.
This class abstracts a stanza extension, which is usually an element in a specific namespace...
virtual StanzaExtension * newInstance(const Tag *tag) const
This is an implementation of XEP-0079 (Advanced Message Processing) as a StanzaExtension.
This is an abstraction of an XML element.