1 /* $Id: router_chain.cpp,v 1.1 2005-10-26 10:55:26 marc Exp $
2 Copyright (c) 2005, Index Data.
8 #include "router_chain.hpp"
11 const yp2::filter::Base * yp2::RouterChain::move(const filter::Base *filter, const Package *package) const {
12 std::list<const filter::Base *>::const_iterator it;
13 it = m_filter_list.begin();
16 for (; it != m_filter_list.end(); it++)
23 if (it == m_filter_list.end())
25 //throw RouterException("no routing rules known");
31 yp2::RouterChain & yp2::RouterChain::append(const filter::Base &filter){
32 m_filter_list.push_back(&filter);
42 * indent-tabs-mode: nil
43 * c-file-style: "stroustrup"
45 * vim: shiftwidth=4 tabstop=8 expandtab