1 ////////////////////////////////////////////////////////////////////////////////
3 // Author: Andy Rushton
4 // Copyright: (c) Southampton University 1999-2004
5 // (c) Andy Rushton 2004-2009
6 // License: BSD License, see ../docs/license.html
8 ////////////////////////////////////////////////////////////////////////////////
9 #include "print_sequence.hpp"
14 ////////////////////////////////////////////////////////////////////////////////
16 template<typename NT, typename AT, typename NS, typename AS>
17 void print_digraph(std::ostream& device, const digraph<NT,AT>& values,
20 const std::string& separator)
24 print_sequence(device, values.begin(), values.end(), node_print_fn, separator);
27 print_sequence(device, values.arc_begin(), values.arc_end(), arc_print_fn, separator);
30 } // end namespace stlplus