26 #ifndef MLN_TRAIT_IMAGE_PRINT_HH
27 # define MLN_TRAIT_IMAGE_PRINT_HH
34 # include <mln/trait/images.hh>
35 # include <mln/metal/is_a.hh>
43 template <
typename E>
struct Image;
53 void print(std::ostream& ostr = std::cout);
56 void print(
const Image<I>& ima, std::ostream& ostr = std::cout);
59 # ifndef MLN_INCLUDE_ONLY
63 void print(std::ostream& ostr)
65 mlc_is_a(I, Image)::check();
68 <<
typename the::category().name() <<
", "
69 <<
typename the::speed().name() <<
", "
70 <<
typename the::size().name() <<
", "
71 <<
typename the::value_access().name() <<
", "
72 <<
typename the::value_storage().name() <<
", "
73 <<
typename the::value_browsing().name() <<
", "
74 <<
typename the::value_io().name() <<
", "
75 <<
typename the::localization().name() <<
", "
76 <<
typename the::dimension().name() <<
", "
77 <<
typename the::ext_domain().name() <<
", "
78 <<
typename the::ext_value().name() <<
", "
79 <<
typename the::ext_io().name() <<
", "
81 <<
typename the::nature().name() <<
", "
82 <<
typename the::quant().name() <<
" }" << std::endl;
87 void print(
const Image<I>&, std::ostream& ostr)
92 # endif // ! MLN_INCLUDE_ONLY
101 #endif // ! MLN_TRAIT_IMAGE_PRINT_HH