1 /* $Id: router_flexml.hpp,v 1.10 2006-01-05 16:39:37 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
22 RouterFleXML(std::string xmlconf, yp2::FactoryFilter &factory);
26 virtual const filter::Base *move(const filter::Base *filter,
27 const Package *package) const;
28 class XMLError : public std::runtime_error {
30 XMLError(const std::string msg) :
31 std::runtime_error("XMLError : " + msg) {} ;
34 boost::scoped_ptr<Rep> m_p;
43 * indent-tabs-mode: nil
44 * c-file-style: "stroustrup"
46 * vim: shiftwidth=4 tabstop=8 expandtab