26 #ifndef MLN_FUN_META_SAT_HH
27 # define MLN_FUN_META_SAT_HH
33 # include <mln/value/hsl.hh>
34 # include <mln/value/hsi.hh>
35 # include <mln/fun/meta/impl.hh>
44 struct sat : impl< sat<H> >
52 template <
class H,
class S,
class I>
53 struct function< meta::sat< value::hsi_<H, S, I> > >
54 :
public Function_v2v<function< meta::sat < value::hsi_<H, S, I> > > >
56 typedef value::hsi_<H, S, I>
value;
59 H read(
const value& h);
66 template <
class H,
class S,
class L>
67 struct function< meta::sat< value::hsl_<H, S, L> > >
68 :
public Function_v2v<function< meta::sat < value::hsl_<H, S, L> > > >
70 typedef value::hsl_<H, S, L>
value;
73 H read(
const value& h);
80 # ifndef MLN_INCLUDE_ONLY
82 template <
class H,
class S,
class I>
85 function< meta::sat< value::hsi_<H, S, I> > >::read(
const value& h)
90 template <
class H,
class S,
class I>
93 function< meta::sat< value::hsi_<H, S, I> > >::write(value& h)
100 template <
class H,
class S,
class L>
103 function< meta::sat< value::hsl_<H, S, L> > >::read(
const value& h)
108 template <
class H,
class S,
class L>
111 function< meta::sat< value::hsl_<H, S, L> > >::write(value& h)
117 # endif // ! MLN_INCLUDE_ONLY
122 #endif // ! MLN_FUN_META_SAT_HH