aimstil  5.0.5
convert.h File Reference
#include <boost/type_traits.hpp>
#include <boost/utility/enable_if.hpp>
#include "til/templateTools.h"
#include "til/traits.h"
#include "convert.h"
#include "globalTraits.h"
Include dependency graph for convert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  til::Convert_numerical
 conversion between numerical types More...
 
struct  til::Convert
 TODO: The idea here is to have no convert with a loop; use for_each(..., Convert()) instead. More...
 
struct  til::Convert2< T1, T2 >
 

Namespaces

 til
 Belongs to package Box Do not include directly, include til/Box.h instead.
 
 til::detail
 Multiply an image with another object.
 

Functions

template<typename TTo , typename TFrom >
boost::enable_if_c< boost::is_convertible< TFrom, TTo >::value &&!(std::numeric_limits< TFrom >::is_specialized||std::numeric_limits< TTo >::is_specialized) &&!is_same_naked< TFrom, TTo >::value >::type til::convert (const TFrom &x, TTo &y)
 default conversion between types: static conversion More...
 
template<typename TTo , typename TFrom >
boost::enable_if_c< std::numeric_limits< TFrom >::is_specialized &&std::numeric_limits< TTo >::is_specialized &&!is_same_naked< TFrom, TTo >::value >::type til::convert (const TFrom &x, TTo &y)
 
template<typename T >
void til::detail::convert_operatorEqual (const T &x, T &y)
 
template<typename T1 , typename T2 >
boost::enable_if< is_same_naked< T1, T2 > >::type til::convert (const T1 &x, T2 &y)
 By default, if input and output types are the same, use operator=. More...
 
template<int D, typename T1 , typename T2 >
void til::detail::convert_fixedLoop (const T1 &x, T2 &y)
 
void til::convert (const Point3df &x, Point3df &y)
 
template<typename TTo , typename TFrom >
TTo til::convertTo (const TFrom &x)
 
template<typename T , typename B >
void til::convert_allocate (std::vector< til::sparse_vector< T, B > > const &m, std::vector< std::vector< std::pair< std::size_t, T > > > &v)