12 #ifndef ECL_CONTAINERS_ARRAY_CONVERTERS_HPP_ 13 #define ECL_CONTAINERS_ARRAY_CONVERTERS_HPP_ 19 #ifdef ECL_MEM_CHECK_ARRAYS 20 #include "array_mem_check.hpp" 21 #include "array_dynamic_mem_check.hpp" 26 #include <ecl/converters/to_byte_array.hpp> 27 #include <ecl/converters/from_byte_array.hpp> 28 #include <ecl/converters/converter.hpp> 29 #include <ecl/config/macros.hpp> 47 template <
typename Integral>
48 class ECL_PUBLIC Converter <Array<char>, Integral > :
public converters::IntegralToByteArray< Array<char>, Integral > {};
56 template <
typename Integral>
57 class ECL_PUBLIC Converter <Array<signed char>, Integral > :
public converters::IntegralToByteArray< Array<signed char>, Integral > {};
66 template <
typename Integral>
67 class ECL_PUBLIC Converter <Array<unsigned char>, Integral > :
public converters::IntegralToByteArray< Array<unsigned char>, Integral > {};
71 template <
typename Integral, std::
size_t Size>
72 class ECL_PUBLIC Converter <Integral, Array<char,Size> > :
public converters::FromByteArray< Integral, Array<char,Size> > {};
77 template <
typename Integral, std::
size_t Size>
78 class ECL_PUBLIC Converter <Integral, Array<unsigned char,Size> > :
public converters::FromByteArray< Integral, Array<unsigned char,Size> > {};
82 template <
typename Integral, std::
size_t Size>
83 class ECL_PUBLIC Converter <Integral, Array<signed char,Size> > :
public converters::FromByteArray< Integral, Array<signed char,Size> > {};