C++QEDCore  v2 Milestone 10
a framework for simulating open quantum dynamics – core
Conversions.h File Reference

Some converters along the lines of Boost.NumericConversion More...

#include "ConversionsFwd.h"
#include <boost/mpl/identity.hpp>
#include <boost/numeric/conversion/converter.hpp>
+ Include dependency graph for Conversions.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  cpputils::Converter< T, S >
 

Namespaces

 cpputils
 Namespace comprising otherwise hard-to-classify generic utilities.
 

Typedefs

typedef boost::numeric::converter< int, double, boost::numeric::conversion_traits< int, double >, cpputils::details::OverflowHandler, boost::numeric::Trunc< boost::numeric::conversion_traits< int, double >::source_type >, boost::numeric::raw_converter< boost::numeric::conversion_traits< int, double > >, cpputils::details::RangeCheckerMF< boost::numeric::conversion_traits< int, double > >::type > Double2Int
 
typedef boost::numeric::converter< int, long, boost::numeric::conversion_traits< int, long >, cpputils::details::OverflowHandler, boost::numeric::Trunc< boost::numeric::conversion_traits< int, long >::source_type >, boost::numeric::raw_converter< boost::numeric::conversion_traits< int, long > >, cpputils::details::RangeCheckerMF< boost::numeric::conversion_traits< int, long > >::type > Long2Int
 
typedef boost::numeric::converter< int, size_t, boost::numeric::conversion_traits< int, size_t >, cpputils::details::OverflowHandler, boost::numeric::Trunc< boost::numeric::conversion_traits< int, size_t >::source_type >, boost::numeric::raw_converter< boost::numeric::conversion_traits< int, size_t > >, cpputils::details::RangeCheckerMF< boost::numeric::conversion_traits< int, size_t > >::type > Size2Int
 
typedef boost::numeric::converter< int, ptrdiff_t, boost::numeric::conversion_traits< int, ptrdiff_t >, cpputils::details::OverflowHandler, boost::numeric::Trunc< boost::numeric::conversion_traits< int, ptrdiff_t >::source_type >, boost::numeric::raw_converter< boost::numeric::conversion_traits< int, ptrdiff_t > >, cpputils::details::RangeCheckerMF< boost::numeric::conversion_traits< int, ptrdiff_t > >::type > Idx2Int
 
typedef boost::numeric::converter< size_t, int, boost::numeric::conversion_traits< size_t, int >, cpputils::details::OverflowHandler, boost::numeric::Trunc< boost::numeric::conversion_traits< size_t, int >::source_type >, boost::numeric::raw_converter< boost::numeric::conversion_traits< size_t, int > >, cpputils::details::RangeCheckerMF< boost::numeric::conversion_traits< size_t, int > >::type > Int2Size
 
typedef boost::numeric::converter< double, size_t, boost::numeric::conversion_traits< double, size_t >, cpputils::details::OverflowHandler, boost::numeric::Trunc< boost::numeric::conversion_traits< double, size_t >::source_type >, boost::numeric::raw_converter< boost::numeric::conversion_traits< double, size_t > >, cpputils::details::RangeCheckerMF< boost::numeric::conversion_traits< double, size_t > >::type > Size2Double
 

Variables

const Double2Int double2Int =Double2Int()
 
const Long2Int long2Int =Long2Int()
 
const Size2Int size2Int =Size2Int()
 
const Idx2Int idx2Int =Idx2Int()
 
const Int2Size int2Size =Int2Size()
 
const Size2Double size2Double =Size2Double()
 

Detailed Description

Some converters along the lines of Boost.NumericConversion

Todo:
Update & see why it is not much used in the framework

Definition in file Conversions.h.