-/* $Id: test_filter2.cpp,v 1.13 2005-10-26 10:55:26 marc Exp $
+/* $Id: test_filter2.cpp,v 1.14 2005-10-29 22:23:36 marc Exp $
Copyright (c) 2005, Index Data.
%LICENSE%
package.data() = m_constant;
package.move();
};
+ const std::string type() const {
+ return "FilterConstant";
+ };
void configure(const xmlNode* ptr = 0);
int get_constant() const { return m_constant; };
private:
package.data() = package.data() * 2;
package.move();
};
+ const std::string type() const {
+ return "FilterConstant";
+ };
};
{
try {
FilterConstant fc;
- fc.name() = "FilterConstant";
FilterDouble fd;
- fd.name() = "FilterDouble";
{
yp2::RouterChain router1;