7 #include "fwTools/DynamicType.hpp" 11 #include "fwTools/Dispatcher.hpp" 12 #include "fwTools/DynamicTypeKeyTypeMapping.hpp" 14 #include <type_traits> 32 typedef boost::mpl::vector<
signed char,
unsigned char,
signed short,
unsigned short,
signed int,
unsigned int, float,
33 double >::type SupportedTypes;
39 return m_value == d2.m_value;
46 return m_value != d2.m_value;
53 return m_value < d2.m_value;
64 this->m_value = d2.m_value;
65 this->m_sizeof = d2.m_sizeof;
83 SLM_ASSERT(
"Sizeof not specified.", m_sizeof != 0);
91 return !isType<float>() && !isType<double>();
100 template<
typename PIXEL >
103 isSigned = !std::is_unsigned<PIXEL>::value;
127 std::string getString(
const std::vector<DynamicType>& dtv)
129 return getString(dtv.begin(), dtv.end());
#define SLM_ASSERT(message, cond)
work like 'assert' from 'cassert', with in addition a message logged by spylog (with FATAL loglevel) ...
This file defines SpyLog macros. These macros are used to log messages to a file or to the console du...