17#include "stanzaextension.h"
89 void setAppError(
Tag* appError );
100 const std::string& text(
const std::string& lang =
EmptyString )
const;
115 virtual const std::string& filterString()
const;
124 virtual Tag* tag()
const;
129 return new Error( *
this );
135 void setValues(
const Tag* tag );
A stanza error abstraction implemented as a StanzaExtension.
virtual StanzaExtension * clone() const
const Tag * appError() const
StanzaErrorType type() const
void setText(const std::string &text, const std::string &lang=EmptyString)
Error(StanzaErrorType type, StanzaError error, Tag *appError=0)
virtual StanzaExtension * newInstance(const Tag *tag) const
const std::string & text(const std::string &lang=EmptyString) const
StanzaError error() const
virtual Tag * tag() const
StanzaExtension(int type)
This is an abstraction of an XML element.
The namespace for the gloox library.
const std::string EmptyString
std::map< std::string, std::string > StringMap