+/* $Id: filter.hpp,v 1.6 2005-10-24 09:53:06 adam Exp $
+ Copyright (c) 2005, Index Data.
+
+%LICENSE%
+ */
#ifndef FILTER_HPP
#define FILTER_HPP
#include <stdexcept>
+#include <libxml/tree.h>
namespace yp2 {
virtual ~Base(){};
///sends Package off to next Filter, returns altered Package
- virtual void process(Package & package) const {
- };
- virtual void configure(){};
+ virtual void process(Package & package) const = 0;
+
+ virtual void configure(const xmlNode * ptr = 0) { } ;
/// get function - right val in assignment
std::string name() const {
* Local variables:
* c-basic-offset: 4
* indent-tabs-mode: nil
+ * c-file-style: "stroustrup"
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
*/