Functions

mln::convert::over_load Namespace Reference

Functions

template<typename F , typename T >
void from_to_ (const Object< F > &, Object< T > &)
template<unsigned n>
void from_to_ (const value::label< n > &from, unsigned &to_)
template<typename C1 , typename G >
void from_to_ (const mln::algebra::vec< 1, C1 > &from, point< G, C1 > &to)
template<typename C1 , typename G , typename C2 >
void from_to_ (const mln::algebra::vec< 1, C1 > &from, point< G, C2 > &to)
template<typename W >
void from_to_ (const W &from, mln::mixed_neighb< W > &to)
template<typename W >
void from_to_ (const mln::mixed_neighb< W > &from, W &to)
template<unsigned R, unsigned C>
void from_to_ (const bool(&values)[R][C], window2d &win)
template<unsigned S>
void from_to_ (const bool(&values)[S], window2d &win)
template<unsigned M>
void from_to_ (const bool(&values)[M], window1d &win)
template<unsigned R, unsigned C>
void from_to_ (bool const (&values)[R][C], neighb2d &nbh)
template<unsigned S>
void from_to_ (const bool(&values)[S], neighb2d &nbh)
void from_to_ (const unsigned &from, bool &to)
 Conversion of an unsigned from towards a bool to.
template<typename V >
void from_to_ (const unsigned &from, Value< V > &to)
template<typename V >
void from_to_ (const int &from, Value< V > &to)
void from_to_ (const float &from, short &to)
template<typename Tag , typename V >
void from_to_ (const util::object_id< Tag, V > &from, V &to_)
template<typename T , typename U , typename V , typename W >
void from_to_ (const util::couple< T, U > &from, util::couple< V, W > &to)
template<typename V , typename T >
void from_to_ (const util::array< V > &from, image1d< T > &to)
template<typename V , typename T >
void from_to_ (const histo::array< V > &from, image1d< T > &to)
template<typename P , typename C_ , typename S >
void from_to_ (const std::set< P, C_ > &from, Site_Set< S > &to)
template<typename S , typename P , typename C_ >
void from_to_ (const Site_Set< S > &from, std::set< P, C_ > &to)
template<typename S , typename I >
void from_to_ (const Site_Set< S > &from, Image< I > &to)
template<typename A >
void from_to_ (const Accumulator< A > &from, typename A::result &to)
template<typename T1 , typename T2 >
void from_to_ (const fun::i2v::array< T1 > &from, util::array< T2 > &to)
template<typename T1 , typename T2 >
void from_to_ (const util::array< T1 > &from, util::array< T2 > &to)
template<typename T , typename U >
void from_to_ (const std::vector< T > &from, fun::i2v::array< U > &to)
template<typename T >
void from_to_ (const std::vector< T > &from, fun::i2v::array< T > &to)
template<typename T , typename U >
void from_to_ (const util::array< T > &from, fun::i2v::array< U > &to)
template<typename T >
void from_to_ (const util::array< T > &from, fun::i2v::array< T > &to)
template<typename D , typename W , typename I >
void from_to_ (const w_window< D, W > &from, Image< I > &to)
template<typename W , typename I >
void from_to_ (const Window< W > &from, Image< I > &to)
template<typename W >
void from_to_ (const W &from, mln::neighb< W > &to)
template<typename W >
void from_to_ (const mln::neighb< W > &from, W &to)
template<typename I , typename D , typename W >
void from_to_ (const Image< I > &from, w_window< D, W > &to)
template<typename I , typename S >
void from_to_ (const Image< I > &from, Site_Set< S > &to)
template<typename P >
void from_to_ (const Gpoint< P > &from, typename P::delta &to)
template<typename P , unsigned n, typename T >
void from_to_ (const Gpoint< P > &from, algebra::vec< n, T > &to)
template<typename P , typename T >
void from_to_ (const Proxy< P > &from, T &to)
template<typename T >
void from_to_ (const int &from, Value< T > &to)
void from_to_ (const float &from, int &to)
void from_to_ (const float &from, unsigned &to)
template<typename V >
void from_to_ (const float &from, Value< V > &to)
void from_to_ (const double &from, int &to)
void from_to_ (const double &from, unsigned &to)
template<typename V >
void from_to_ (const double &from, Value< V > &to)
template<typename F , typename T >
void from_to_ (const Value< F > &from, Value< T > &to)
template<typename D >
void from_to_ (const Gdpoint< D > &from, typename D::site &to)
template<unsigned S>
void from_to_ (const bool(&values)[S], neighb< window< dpoint< grid::cube, def::coord > > > &nbh)
template<unsigned R, unsigned C>
void from_to_ (bool const (&values)[R][C], neighb< window< dpoint< grid::square, def::coord > > > &nbh)
template<unsigned S>
void from_to_ (const bool(&values)[S], neighb< window< dpoint< grid::square, def::coord > > > &nbh)
template<unsigned S>
void from_to_ (const bool(&values)[S], window< dpoint< grid::cube, def::coord > > &win)
template<unsigned R, unsigned C>
void from_to_ (const bool(&values)[R][C], window< dpoint< grid::square, def::coord > > &win)
template<unsigned S>
void from_to_ (const bool(&values)[S], window< dpoint< grid::square, def::coord > > &win)
template<typename V , unsigned S, typename D , typename W >
void from_to_ (const V(&weight)[S], w_window< D, W > &to)
template<typename V , unsigned S, typename I >
void from_to_ (const V(&values)[S], Image< I > &to)
template<unsigned m>
void from_to_ (const value::rgb< m > &from, bool &to)
void from_to_ (const value::rgb< 8 > &from, value::hsl_< float, float, float > &to)
void from_to_ (const value::rgb< 16 > &from, value::hsl_< float, float, float > &to)
template<typename H , typename S , typename L >
void from_to_ (const value::hsl_< H, S, L > &, value::qt::rgb32 &to)
template<typename H , typename S , typename L >
void from_to_ (const value::hsl_< H, S, L > &, value::rgb< 16 > &to)
template<typename H , typename S , typename L >
void from_to_ (const value::hsl_< H, S, L > &, value::rgb< 8 > &to)
template<unsigned n, unsigned m>
void from_to_ (const value::int_u< n > &from, value::label< m > &to_)
template<unsigned n>
void from_to_ (const value::label< n > &from, bool &to_)
template<unsigned n>
void from_to_ (const value::label< n > &from, value::int_u< n > &to_)
template<unsigned n>
void from_to_ (const value::int_u< n > &from, double &to_)
template<unsigned n>
void from_to_ (const value::int_u< n > &from, float &to_)
template<unsigned n>
void from_to_ (const value::int_u< n > &from, bool &to_)
template<unsigned n>
void from_to_ (const value::int_u< n > &from, unsigned &to_)
template<unsigned n>
void from_to_ (const value::int_u< n > &from, value::label< n > &to_)
template<unsigned m>
void from_to_ (const value::int_u< m > &from, value::qt::rgb32 &to)
template<unsigned m>
void from_to_ (const value::int_u< m > &from, value::rgb< m > &to)
void from_to_ (const bool &from, value::qt::rgb32 &to)
void from_to_ (const value::qt::rgb32 &from, bool &to)
template<unsigned m>
void from_to_ (bool from, value::rgb< m > &to)
template<typename T , unsigned m>
void from_to_ (const algebra::vec< 3, T > &from, value::rgb< m > &to)
template<unsigned n, typename T , typename P >
void from_to_ (const algebra::vec< n, T > &from, Gpoint< P > &to_)
template<unsigned n, typename C1 , typename G >
void from_to_ (const algebra::vec< n, C1 > &from, point< G, C1 > &to)
template<unsigned n, typename C1 , typename G , typename C2 >
void from_to_ (const algebra::vec< n, C1 > &from, point< G, C2 > &to)
template<typename G , typename C1 , typename C2 >
void from_to_ (const point< G, C1 > &from, point< G, C2 > &to)
template<typename F , typename T >
void from_to_ (const F &from, T &to)
template<typename T >
void from_to_ (const T &from, T &to)
template<typename T >
void from_to_ (const Object< T > &from, Object< T > &to)

Function Documentation

template<typename F , typename T >
void mln::convert::over_load::from_to_ ( const Object< F > &  ,
Object< T > &   
)
template<unsigned n>
void mln::convert::over_load::from_to_ ( const value::label< n > &  from,
unsigned &  to_ 
) [inline]

Definition at line 254 of file label.hh.

template<typename C1 , typename G >
void mln::convert::over_load::from_to_ ( const mln::algebra::vec< 1, C1 > &  from,
point< G, C1 > &  to 
) [inline]

Definition at line 370 of file point.hh.

template<typename C1 , typename G , typename C2 >
void mln::convert::over_load::from_to_ ( const mln::algebra::vec< 1, C1 > &  from,
point< G, C2 > &  to 
) [inline]

Definition at line 343 of file point.hh.

template<typename W >
void mln::convert::over_load::from_to_ ( const W &  from,
mln::mixed_neighb< W > &  to 
)
template<typename W >
void mln::convert::over_load::from_to_ ( const mln::mixed_neighb< W > &  from,
W &  to 
)
template<unsigned R, unsigned C>
void mln::convert::over_load::from_to_ ( const bool(&)  values[R][C],
window2d &  win 
)

Definition at line 166 of file window2d.hh.

References mln::window< D >::clear(), and mln::window< D >::insert().

template<unsigned S>
void mln::convert::over_load::from_to_ ( const bool(&)  values[S],
window2d &  win 
)

Definition at line 149 of file window2d.hh.

References mln::window< D >::clear(), and mln::window< D >::insert().

template<unsigned M>
void mln::convert::over_load::from_to_ ( const bool(&)  values[M],
window1d &  win 
)

Definition at line 162 of file window3d.hh.

References mln::window< D >::clear(), and mln::window< D >::insert().

template<unsigned R, unsigned C>
void mln::convert::over_load::from_to_ ( bool const (&)  values[R][C],
neighb2d &  nbh 
)
template<unsigned S>
void mln::convert::over_load::from_to_ ( const bool(&)  values[S],
neighb2d &  nbh 
)
void mln::convert::over_load::from_to_ ( const unsigned &  from,
bool &  to 
) [inline]

Conversion of an unsigned from towards a bool to.

Definition at line 131 of file from_unsigned_to_value.hh.

Referenced by mln::convert::internal::from_to_dispatch(), and mln::convert::impl::from_value_to_value_().

template<typename V >
void mln::convert::over_load::from_to_ ( const unsigned &  from,
Value< V > &  to 
)
template<typename V >
void mln::convert::over_load::from_to_ ( const int &  from,
Value< V > &  to 
)
void mln::convert::over_load::from_to_ ( const float &  from,
short &  to 
) [inline]

Definition at line 150 of file from_float_to_value.hh.

template<typename Tag , typename V >
void mln::convert::over_load::from_to_ ( const util::object_id< Tag, V > &  from,
V &  to_ 
)

Definition at line 239 of file object_id.hh.

References mln::util::object_id< Tag, V >::value().

template<typename T , typename U , typename V , typename W >
void mln::convert::over_load::from_to_ ( const util::couple< T, U > &  from,
util::couple< V, W > &  to 
)
template<typename V , typename T >
void mln::convert::over_load::from_to_ ( const util::array< V > &  from,
image1d< T > &  to 
) [inline]
template<typename V , typename T >
void mln::convert::over_load::from_to_ ( const histo::array< V > &  from,
image1d< T > &  to 
) [inline]
template<typename P , typename C_ , typename S >
void mln::convert::over_load::from_to_ ( const std::set< P, C_ > &  from,
Site_Set< S > &  to 
) [inline]

Definition at line 155 of file mln/core/concept/site_set.hh.

References mln::exact(), and mln::convert::to().

template<typename S , typename P , typename C_ >
void mln::convert::over_load::from_to_ ( const Site_Set< S > &  from,
std::set< P, C_ > &  to 
) [inline]

Definition at line 141 of file mln/core/concept/site_set.hh.

References mln::exact().

template<typename S , typename I >
void mln::convert::over_load::from_to_ ( const Site_Set< S > &  from,
Image< I > &  to 
)
template<typename A >
void mln::convert::over_load::from_to_ ( const Accumulator< A > &  from,
typename A::result &  to 
)

Definition at line 139 of file accumulator.hh.

References mln::exact().

template<typename T1 , typename T2 >
void mln::convert::over_load::from_to_ ( const fun::i2v::array< T1 > &  from,
util::array< T2 > &  to 
)
template<typename T1 , typename T2 >
void mln::convert::over_load::from_to_ ( const util::array< T1 > &  from,
util::array< T2 > &  to 
)
template<typename T , typename U >
void mln::convert::over_load::from_to_ ( const std::vector< T > &  from,
fun::i2v::array< U > &  to 
) [inline]

Definition at line 217 of file fun/i2v/array.hh.

References mln::fun::i2v::array< T >::resize(), and mln::convert::to().

template<typename T >
void mln::convert::over_load::from_to_ ( const std::vector< T > &  from,
fun::i2v::array< T > &  to 
) [inline]

Definition at line 209 of file fun/i2v/array.hh.

template<typename T , typename U >
void mln::convert::over_load::from_to_ ( const util::array< T > &  from,
fun::i2v::array< U > &  to 
) [inline]
template<typename T >
void mln::convert::over_load::from_to_ ( const util::array< T > &  from,
fun::i2v::array< T > &  to 
) [inline]

Definition at line 191 of file fun/i2v/array.hh.

template<typename D , typename W , typename I >
void mln::convert::over_load::from_to_ ( const w_window< D, W > &  from,
Image< I > &  to 
)
template<typename W , typename I >
void mln::convert::over_load::from_to_ ( const Window< W > &  from,
Image< I > &  to 
)

Definition at line 407 of file concept/window.hh.

References mln::exact(), and mln::internal::geom_bbox().

template<typename W >
void mln::convert::over_load::from_to_ ( const W &  from,
mln::neighb< W > &  to 
)
template<typename W >
void mln::convert::over_load::from_to_ ( const mln::neighb< W > &  from,
W &  to 
)
template<typename I , typename D , typename W >
void mln::convert::over_load::from_to_ ( const Image< I > &  from,
w_window< D, W > &  to 
)
template<typename I , typename S >
void mln::convert::over_load::from_to_ ( const Image< I > &  from,
Site_Set< S > &  to 
)
template<typename P >
void mln::convert::over_load::from_to_ ( const Gpoint< P > &  from,
typename P::delta &  to 
) [inline]

Definition at line 321 of file gpoint.hh.

References mln::exact().

template<typename P , unsigned n, typename T >
void mln::convert::over_load::from_to_ ( const Gpoint< P > &  from,
algebra::vec< n, T > &  to 
) [inline]

Definition at line 336 of file gpoint.hh.

References mln::exact().

template<typename P , typename T >
void mln::convert::over_load::from_to_ ( const Proxy< P > &  from,
T &  to 
)

Definition at line 349 of file core/concept/proxy.hh.

References mln::exact(), and mln::convert::from_to().

template<typename T >
void mln::convert::over_load::from_to_ ( const int &  from,
Value< T > &  to 
)
void mln::convert::over_load::from_to_ ( const float &  from,
int &  to 
) [inline]

Definition at line 141 of file from_float_to_value.hh.

void mln::convert::over_load::from_to_ ( const float &  from,
unsigned &  to 
) [inline]

Definition at line 131 of file from_float_to_value.hh.

template<typename V >
void mln::convert::over_load::from_to_ ( const float &  from,
Value< V > &  to 
) [inline]
void mln::convert::over_load::from_to_ ( const double &  from,
int &  to 
) [inline]

Definition at line 140 of file from_double_to_value.hh.

void mln::convert::over_load::from_to_ ( const double &  from,
unsigned &  to 
) [inline]

Definition at line 130 of file from_double_to_value.hh.

template<typename V >
void mln::convert::over_load::from_to_ ( const double &  from,
Value< V > &  to 
) [inline]
template<typename F , typename T >
void mln::convert::over_load::from_to_ ( const Value< F > &  from,
Value< T > &  to 
)
template<typename D >
void mln::convert::over_load::from_to_ ( const Gdpoint< D > &  from,
typename D::site &  to 
) [inline]

Definition at line 231 of file gdpoint.hh.

References mln::exact().

template<unsigned S>
void mln::convert::over_load::from_to_ ( const bool(&)  values[S],
neighb< window< dpoint< grid::cube, def::coord > > > &  nbh 
)
template<unsigned R, unsigned C>
void mln::convert::over_load::from_to_ ( bool const (&)  values[R][C],
neighb< window< dpoint< grid::square, def::coord > > > &  nbh 
)
template<unsigned S>
void mln::convert::over_load::from_to_ ( const bool(&)  values[S],
neighb< window< dpoint< grid::square, def::coord > > > &  nbh 
)
template<unsigned S>
void mln::convert::over_load::from_to_ ( const bool(&)  values[S],
window< dpoint< grid::cube, def::coord > > &  win 
)
template<unsigned R, unsigned C>
void mln::convert::over_load::from_to_ ( const bool(&)  values[R][C],
window< dpoint< grid::square, def::coord > > &  win 
)
template<unsigned S>
void mln::convert::over_load::from_to_ ( const bool(&)  values[S],
window< dpoint< grid::square, def::coord > > &  win 
)
template<typename V , unsigned S, typename D , typename W >
void mln::convert::over_load::from_to_ ( const V(&)  weight[S],
w_window< D, W > &  to 
)
template<typename V , unsigned S, typename I >
void mln::convert::over_load::from_to_ ( const V(&)  values[S],
Image< I > &  to 
)

Definition at line 279 of file core/concept/image.hh.

References mln::all_to(), mln::exact(), and mln::convert::to().

template<unsigned m>
void mln::convert::over_load::from_to_ ( const value::rgb< m > &  from,
bool &  to 
)
void mln::convert::over_load::from_to_ ( const value::rgb< 8 > &  from,
value::hsl_< float, float, float > &  to 
) [inline]

Definition at line 401 of file hsl.hh.

References mln::fun::v2v::f_rgb_to_hsl_f.

void mln::convert::over_load::from_to_ ( const value::rgb< 16 > &  from,
value::hsl_< float, float, float > &  to 
) [inline]

Definition at line 394 of file hsl.hh.

References mln::fun::v2v::f_rgb_to_hsl_f.

template<typename H , typename S , typename L >
void mln::convert::over_load::from_to_ ( const value::hsl_< H, S, L > &  from,
value::qt::rgb32 &  to 
)
template<typename H , typename S , typename L >
void mln::convert::over_load::from_to_ ( const value::hsl_< H, S, L > &  ,
value::rgb< 16 > &  to 
)
template<typename H , typename S , typename L >
void mln::convert::over_load::from_to_ ( const value::hsl_< H, S, L > &  from,
value::rgb< 8 > &  to 
)

Definition at line 805 of file value/rgb.hh.

References mln::fun::v2v::f_hsl_to_rgb_3x8.

template<unsigned n, unsigned m>
void mln::convert::over_load::from_to_ ( const value::int_u< n > &  from,
value::label< m > &  to_ 
) [inline]

Definition at line 234 of file label.hh.

template<unsigned n>
void mln::convert::over_load::from_to_ ( const value::label< n > &  from,
bool &  to_ 
) [inline]

Definition at line 245 of file label.hh.

template<unsigned n>
void mln::convert::over_load::from_to_ ( const value::label< n > &  from,
value::int_u< n > &  to_ 
)

Definition at line 224 of file label.hh.

template<unsigned n>
void mln::convert::over_load::from_to_ ( const value::int_u< n > &  from,
double &  to_ 
) [inline]

Definition at line 260 of file int_u.hh.

template<unsigned n>
void mln::convert::over_load::from_to_ ( const value::int_u< n > &  from,
float &  to_ 
) [inline]

Definition at line 251 of file int_u.hh.

template<unsigned n>
void mln::convert::over_load::from_to_ ( const value::int_u< n > &  from,
bool &  to_ 
) [inline]

Definition at line 242 of file int_u.hh.

template<unsigned n>
void mln::convert::over_load::from_to_ ( const value::int_u< n > &  from,
unsigned &  to_ 
) [inline]

Definition at line 233 of file int_u.hh.

template<unsigned n>
void mln::convert::over_load::from_to_ ( const value::int_u< n > &  from,
value::label< n > &  to_ 
) [inline]

Definition at line 216 of file label.hh.

template<unsigned m>
void mln::convert::over_load::from_to_ ( const value::int_u< m > &  from,
value::qt::rgb32 &  to 
)

Definition at line 769 of file rgb32.hh.

template<unsigned m>
void mln::convert::over_load::from_to_ ( const value::int_u< m > &  from,
value::rgb< m > &  to 
)

Definition at line 798 of file value/rgb.hh.

void mln::convert::over_load::from_to_ ( const bool &  from,
value::qt::rgb32 &  to 
) [inline]

Definition at line 795 of file rgb32.hh.

References mln::literal::black, and mln::literal::white.

void mln::convert::over_load::from_to_ ( const value::qt::rgb32 &  from,
bool &  to 
) [inline]

Definition at line 787 of file rgb32.hh.

References mln::literal::black.

template<unsigned m>
void mln::convert::over_load::from_to_ ( bool  from,
value::rgb< m > &  to 
)

Definition at line 783 of file value/rgb.hh.

template<typename T , unsigned m>
void mln::convert::over_load::from_to_ ( const algebra::vec< 3, T > &  from,
value::rgb< m > &  to 
) [inline]

Definition at line 771 of file value/rgb.hh.

template<unsigned n, typename T , typename P >
void mln::convert::over_load::from_to_ ( const algebra::vec< n, T > &  from,
Gpoint< P > &  to_ 
) [inline]

Definition at line 348 of file gpoint.hh.

References mln::exact(), and mln::convert::to().

template<unsigned n, typename C1 , typename G >
void mln::convert::over_load::from_to_ ( const algebra::vec< n, C1 > &  from,
point< G, C1 > &  to 
) [inline]

Definition at line 355 of file point.hh.

template<unsigned n, typename C1 , typename G , typename C2 >
void mln::convert::over_load::from_to_ ( const algebra::vec< n, C1 > &  from,
point< G, C2 > &  to 
) [inline]

Definition at line 327 of file point.hh.

template<typename G , typename C1 , typename C2 >
void mln::convert::over_load::from_to_ ( const point< G, C1 > &  from,
point< G, C2 > &  to 
) [inline]

Definition at line 314 of file point.hh.

template<typename F , typename T >
void mln::convert::over_load::from_to_ ( const F &  from,
T &  to 
) [inline]

Definition at line 242 of file from_to.hh.

template<typename T >
void mln::convert::over_load::from_to_ ( const T &  from,
T &  to 
) [inline]
template<typename T >
void mln::convert::over_load::from_to_ ( const Object< T > &  from,
Object< T > &  to 
) [inline]