1 /* $Id: router_flexml.hpp,v 1.15 2006-06-10 14:29:12 adam Exp $
2 Copyright (c) 2005-2006, Index Data.
4 See the LICENSE file for details
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 metaproxy_1::Router
26 RouterFleXML(std::string xmlconf, metaproxy_1::FactoryFilter &factory);
27 RouterFleXML(xmlDocPtr doc, metaproxy_1::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