Namespaces | Functions

mln::convert::impl Namespace Reference

Namespaces

namespace  internal

Functions

template<typename V >
void from_double_to_value (const double &from, mln::value::Integer< V > &to)
template<typename V >
void from_double_to_value (const double &from, mln::value::Floating< V > &to)
template<typename V >
void from_double_to_value (const double &from, Value< V > &to)
template<typename V >
void from_float_to_value (const float &from, mln::value::Integer< V > &to)
template<typename V >
void from_float_to_value (const float &from, mln::value::Floating< V > &to)
template<typename V >
void from_float_to_value (const float &from, Value< V > &to)
template<typename I , typename S >
void from_image_to_site_set (const Image< I > &from, Site_Set< S > &to)
 Conversion of an image from towards a site set to.
template<typename V >
void from_int_to_value (const int &from, mln::value::Integer< V > &to)
template<typename V >
void from_int_to_value (const int &from, Value< V > &to)
template<typename S , typename I >
void from_site_set_to_image (const Site_Set< S > &from, Image< I > &to)
 Conversion of an image from towards a site set to.
template<typename V >
void from_unsigned_to_value (const unsigned &from, mln::value::Integer< V > &to)
template<typename V >
void from_unsigned_to_value (const unsigned &, Value< V > &)
template<unsigned n>
void from_unsigned_to_value (const unsigned &from, mln::value::label< n > &to)
template<typename V >
void from_value_to_value (const Value< V > &from, Value< V > &to)
 Specialization.
template<typename V , typename W >
void from_value_to_value (const Value< V > &from, Value< W > &to)
 Conversion of a value from towards a value to.
template<typename V , typename W >
void from_value_to_value_ (const mln::value::Scalar< V > &from, mln::value::Scalar< W > &to)
template<typename V , typename W >
void from_value_to_value_ (const mln::value::Vectorial< V > &from, mln::value::Vectorial< W > &to)
template<typename V , typename W >
void from_value_to_value_ (const Value< V > &from, Value< W > &to)

Function Documentation

template<typename V >
void mln::convert::impl::from_double_to_value ( const double &  from,
mln::value::Integer< V > &  to 
) [inline]
template<typename V >
void mln::convert::impl::from_double_to_value ( const double &  from,
mln::value::Floating< V > &  to 
) [inline]

References mln::exact().

template<typename V >
void mln::convert::impl::from_double_to_value ( const double &  from,
Value< V > &  to 
) [inline]
template<typename V >
void mln::convert::impl::from_float_to_value ( const float &  from,
mln::value::Integer< V > &  to 
) [inline]
template<typename V >
void mln::convert::impl::from_float_to_value ( const float &  from,
mln::value::Floating< V > &  to 
) [inline]

References mln::exact().

template<typename V >
void mln::convert::impl::from_float_to_value ( const float &  from,
Value< V > &  to 
) [inline]
template<typename I , typename S >
void mln::convert::impl::from_image_to_site_set ( const Image< I > &  from,
Site_Set< S > &  to 
) [inline]

Conversion of an image from towards a site set to.

References mln::exact(), and mln::convert::impl::internal::from_image_to_site_set().

Referenced by mln::convert::internal::from_to_dispatch().

template<typename V >
void mln::convert::impl::from_int_to_value ( const int &  from,
mln::value::Integer< V > &  to 
) [inline]
template<typename V >
void mln::convert::impl::from_int_to_value ( const int &  from,
Value< V > &  to 
) [inline]
template<typename S , typename I >
void mln::convert::impl::from_site_set_to_image ( const Site_Set< S > &  from,
Image< I > &  to 
) [inline]
template<typename V >
void mln::convert::impl::from_unsigned_to_value ( const unsigned &  from,
mln::value::Integer< V > &  to 
) [inline]
template<typename V >
void mln::convert::impl::from_unsigned_to_value ( const unsigned &  ,
Value< V > &   
) [inline]
template<unsigned n>
void mln::convert::impl::from_unsigned_to_value ( const unsigned &  from,
mln::value::label< n > &  to 
) [inline]

References mln::exact().

template<typename V >
void mln::convert::impl::from_value_to_value ( const Value< V > &  from,
Value< V > &  to 
) [inline]

Specialization.

References mln::exact().

template<typename V , typename W >
void mln::convert::impl::from_value_to_value ( const Value< V > &  from,
Value< W > &  to 
) [inline]

Conversion of a value from towards a value to.

References mln::exact(), and from_value_to_value_().

Referenced by mln::convert::internal::from_to_dispatch().

template<typename V , typename W >
void mln::convert::impl::from_value_to_value_ ( const mln::value::Scalar< V > &  from,
mln::value::Scalar< W > &  to 
)

References mln::exact().

template<typename V , typename W >
void mln::convert::impl::from_value_to_value_ ( const mln::value::Vectorial< V > &  from,
mln::value::Vectorial< W > &  to 
)

References mln::exact().

Referenced by from_value_to_value().

template<typename V , typename W >
void mln::convert::impl::from_value_to_value_ ( const Value< V > &  from,
Value< W > &  to 
) [inline]