1 /* $Id: router_flexml.hpp,v 1.12 2006-01-09 13:53:13 adam Exp $
2 Copyright (c) 2005, Index Data.
9 #include "factory_filter.hpp"
13 #include <boost/scoped_ptr.hpp>
17 class RouterFleXML : public yp2::Router
23 RouterFleXML(std::string xmlconf, yp2::FactoryFilter &factory);
24 RouterFleXML(xmlDocPtr doc, yp2::FactoryFilter &factory);
28 virtual RoutePos *createpos() const;
29 class XMLError : public std::runtime_error {
31 XMLError(const std::string msg) :
32 std::runtime_error("XMLError : " + msg) {} ;
35 boost::scoped_ptr<Rep> m_p;
44 * indent-tabs-mode: nil
45 * c-file-style: "stroustrup"
47 * vim: shiftwidth=4 tabstop=8 expandtab