20 #ifndef __TPIE_PIPELINING_NODE_MAP_DUMP_H__
21 #define __TPIE_PIPELINING_NODE_MAP_DUMP_H__
24 #include <tpie/pipelining/node.h>
28 namespace pipelining {
32 inline void node_map::dump(std::ostream & os)
const {
33 os <<
this <<
" node_map\n";
35 os <<
"Non-authoritative" << std::endl;
37 os <<
"Authoritative" << std::endl;
38 for (mapit i = m_tokens.begin(); i != m_tokens.end(); ++i) {
39 os << i->first <<
" -> " << i->second << std::endl;
41 for (relmapit i = m_relations.begin(); i != m_relations.end(); ++i) {
42 os << i->first <<
" -> " << i->second.first <<
" edge type " << i->second.second << std::endl;
52 #endif // __TPIE_PIPELINING_NODE_MAP_DUMP_H__