1 /* $Id: router_flexml.hpp,v 1.13 2006-01-11 11:51:50 adam Exp $
2 Copyright (c) 2005, Index Data.
7 #ifndef ROUTER_FLEXML_HPP
8 #define ROUTER_FLEXML_HPP
12 #include "factory_filter.hpp"
16 #include <boost/scoped_ptr.hpp>
20 class RouterFleXML : public yp2::Router
26 RouterFleXML(std::string xmlconf, yp2::FactoryFilter &factory);
27 RouterFleXML(xmlDocPtr doc, yp2::FactoryFilter &factory);
31 virtual RoutePos *createpos() const;
32 class XMLError1 : public std::runtime_error {
34 XMLError1(const std::string msg) :
35 std::runtime_error("XMLError : " + msg) {} ;
38 boost::scoped_ptr<Rep> m_p;
47 * indent-tabs-mode: nil
48 * c-file-style: "stroustrup"
50 * vim: shiftwidth=4 tabstop=8 expandtab