1 /* $Id: router_flexml.hpp,v 1.7 2005-12-08 15:34:08 adam Exp $
2 Copyright (c) 2005, Index Data.
11 #include <boost/scoped_ptr.hpp>
15 class RouterFleXML : public yp2::Router
19 RouterFleXML(std::string xmlconf);
23 virtual const filter::Base *move(const filter::Base *filter,
24 const Package *package) const;
25 class XMLError : public std::runtime_error {
27 XMLError(const std::string msg) :
28 std::runtime_error("XMLError : " + msg) {} ;
31 boost::scoped_ptr<Rep> m_p;
40 * indent-tabs-mode: nil
41 * c-file-style: "stroustrup"
43 * vim: shiftwidth=4 tabstop=8 expandtab