19 #include "taghandler.h"
56 int feed( std::string& data );
63 void cleanup(
bool deleteRoot =
true );
66 enum ParserInternalState
76 TagNameAlmostComplete,
92 ForwardInsufficientSize
106 bool isWhitespace(
unsigned char c );
107 void streamEvent(
Tag* tag );
108 ForwardScanState forwardScan( std::string::size_type& pos,
const std::string& data,
109 const std::string& needle );
110 DecodeState decode( std::string::size_type& pos,
const std::string& data );
117 ParserInternalState m_state;
121 std::string m_attrib;
124 std::string m_tagPrefix;
125 std::string m_attribPrefix;
126 std::string m_backBuffer;
129 bool m_haveTagPrefix;
130 bool m_haveAttribPrefix;
131 bool m_attribIsXmlns;
This class implements an XML parser.
A virtual interface which can be reimplemented to receive non-XMPP Core stanzas.
This is an abstraction of an XML element.
std::list< Attribute * > AttributeList
The namespace for the gloox library.
std::map< std::string, std::string > StringMap