26 #ifndef MLN_DEBUG_PRINTLN_HH
27 # define MLN_DEBUG_PRINTLN_HH
35 # include <mln/core/concept/image.hh>
36 # include <mln/core/concept/window.hh>
37 # include <mln/geom/bbox.hh>
38 # include <mln/debug/quiet.hh>
39 # include <mln/debug/format.hh>
42 # include <mln/debug/println.spe.hh>
53 void println(
const Image<I>& input);
58 void println(
const std::string& msg,
const Image<I>& input);
61 # ifndef MLN_INCLUDE_ONLY
67 template <
typename S,
typename I>
70 println(
const S&,
const Image<I>& input_)
72 const I& input = exact(input_);
73 mln_piter(I) p(input.domain());
75 std::cout <<
format(input(p)) << ' ';
76 std::cout << std::endl;
89 trace::entering(
"debug::println");
92 impl::println(
geom::bbox(exact(input).domain()),
94 trace::exiting(
"debug::println");
102 std::cout << msg << std::endl;
107 # endif // ! MLN_INCLUDE_ONLY
114 #endif // ! MLN_DEBUG_PRINTLN_HH