Class CompositeXMLHandler
alps::CompositeXMLHandler
Synopsis
class CompositeXMLHandler : public alps::XMLHandlerBase {
public:
CompositeXMLHandler(const std::string &);
~CompositeXMLHandler();
void clear_handler();
void add_handler(XMLHandlerBase &);
bool has_handler(const XMLHandlerBase &) const;
bool has_handler(const std::string &) const;
virtual void
start_element(const std::string &, const XMLAttributes &, xml::tag_type);
virtual void end_element(const std::string &, xml::tag_type);
virtual void text(const std::string &);
virtual void
start_top(const std::string &, const XMLAttributes &, xml::tag_type);
virtual void end_top(const std::string &, xml::tag_type);
virtual void
start_child(const std::string &, const XMLAttributes &, xml::tag_type);
virtual void end_child(const std::string &, xml::tag_type);
virtual bool
start_element_impl(const std::string &, const XMLAttributes &,
xml::tag_type);
virtual bool end_element_impl(const std::string &, xml::tag_type);
virtual bool text_impl(const std::string &);
};
Description
CompositeXMLHandler
public
construct/copy/destruct
CompositeXMLHandler(const std::string & basename);
~CompositeXMLHandler();
CompositeXMLHandler
public member functions
void clear_handler();
void add_handler(XMLHandlerBase & handler);
bool has_handler(const XMLHandlerBase & handler) const;
bool has_handler(const std::string & name) const;
virtual void
start_element(const std::string & name, const XMLAttributes & attributes,
xml::tag_type type);
virtual void end_element(const std::string & name, xml::tag_type type);
virtual void text(const std::string & text);
CompositeXMLHandler
protected member functions
virtual void
start_top(const std::string &, const XMLAttributes &, xml::tag_type);
virtual void end_top(const std::string &, xml::tag_type);
virtual void
start_child(const std::string &, const XMLAttributes &, xml::tag_type);
virtual void end_child(const std::string &, xml::tag_type);
virtual bool
start_element_impl(const std::string &, const XMLAttributes &, xml::tag_type);
virtual bool end_element_impl(const std::string &, xml::tag_type);
virtual bool text_impl(const std::string &);