20 #ifndef __TPIE_PIPELINING_FORWARDER_H__
21 #define __TPIE_PIPELINING_FORWARDER_H__
23 #include <tpie/pipelining/node.h>
24 #include <tpie/pipelining/pipe_base.h>
25 #include <tpie/pipelining/factory_helpers.h>
26 #include <tpie/pipelining/node_name.h>
31 template <
typename dest_t>
35 typedef std::vector<std::pair<std::string, any_noncopyable> > values_t;
38 : values(std::move(values)), dest(std::move(dest)) {}
41 for (
typename values_t::iterator i=values.begin(); i != values.end(); ++i)
46 void push(T && t) {dest.push(std::forward<T>(t));}
48 std::vector<std::pair<std::string, any_noncopyable> > values;
66 template <
typename VT>
68 std::vector<std::pair<std::string, any_noncopyable> > v;
75 #endif //__TPIE_PIPELINING_FORWARDER_H__