1 /* $Id: router_flexml.hpp,v 1.9 2006-01-04 14:30:51 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
21 RouterFleXML(std::string xmlconf, yp2::FactoryFilter &factory);
25 virtual const filter::Base *move(const filter::Base *filter,
26 const Package *package) const;
27 class XMLError : public std::runtime_error {
29 XMLError(const std::string msg) :
30 std::runtime_error("XMLError : " + msg) {} ;
33 boost::scoped_ptr<Rep> m_p;
42 * indent-tabs-mode: nil
43 * c-file-style: "stroustrup"
45 * vim: shiftwidth=4 tabstop=8 expandtab