1 /* $Id: filter.hpp,v 1.5 2005-10-16 16:05:44 adam Exp $
2 Copyright (c) 2005, Index Data.
21 ///sends Package off to next Filter, returns altered Package
22 virtual void process(Package & package) const = 0;
24 virtual void configure(){};
26 /// get function - right val in assignment
27 std::string name() const {
31 /// set function - left val in assignment
32 std::string & name() {
36 /// set function - can be chained
37 Base & name(const std::string & name){
47 class FilterException : public std::runtime_error {
49 FilterException(const std::string message)
50 : std::runtime_error("FilterException: " + message){
61 * indent-tabs-mode: nil
62 * c-file-style: "stroustrup"
64 * vim: shiftwidth=4 tabstop=8 expandtab