1 /* $Id: filter.hpp,v 1.7 2005-10-29 22:23:36 marc Exp $
2 Copyright (c) 2005, Index Data.
11 #include <libxml/tree.h>
22 ///sends Package off to next Filter, returns altered Package
23 virtual void process(Package & package) const = 0;
25 virtual void configure(const xmlNode * ptr = 0) { };
28 virtual const std::string type() const = 0;
32 class FilterException : public std::runtime_error {
34 FilterException(const std::string message)
35 : std::runtime_error("FilterException: " + message){
46 * indent-tabs-mode: nil
47 * c-file-style: "stroustrup"
49 * vim: shiftwidth=4 tabstop=8 expandtab