4 #ifndef _iqxmlrpc_parser2_h_
5 #define _iqxmlrpc_parser2_h_
10 #include <boost/shared_ptr.hpp>
21 visit_element(
const std::string& tag);
24 visit_element_end(
const std::string& tag);
27 visit_text(
const std::string&);
48 build(
bool flat =
false);
51 template <
class R,
class BUILDER>
53 sub_build(
bool flat =
false)
67 do_visit_element(
const std::string&) = 0;
70 do_visit_element_end(
const std::string&);
73 do_visit_text(
const std::string&);
83 Parser(
const std::string& buf);
96 boost::shared_ptr<Impl> impl_;
113 get_state()
const {
return curr_; }
116 change(
const std::string& tag);
119 set_state(
int new_state);
122 typedef const StateTransition* TransitionMap;
126 TransitionMap trans_;
Definition: parser2.h:101
XML-RPC library.
Definition: auth_plugin.cc:6