12 #ifndef ECL_CONTAINERS_STENCIL_CONVERTERS_HPP_ 13 #define ECL_CONTAINERS_STENCIL_CONVERTERS_HPP_ 34 template<
typename Type, std::
size_t Size>
class Array;
43 template <
typename Integral, std::
size_t Size>
49 template <
typename Integral, std::
size_t Size>
50 class ECL_PUBLIC Converter <
Stencil<
Array<unsigned char,Size> >, Integral > :
public converters::IntegralToByteArray< Stencil< Array<unsigned char,Size> >, Integral > {};
55 template <
typename Integral, std::
size_t Size>
56 class ECL_PUBLIC Converter <
Stencil<
Array<signed char,Size> >, Integral > :
public converters::IntegralToByteArray< Stencil< Array<signed char,Size> >, Integral > {};
61 template <
typename Integral, std::
size_t Size>
67 template <
typename Integral, std::
size_t Size>
68 class ECL_PUBLIC Converter <Integral,
Stencil<
Array<unsigned char,Size> > > :
public converters::FromByteArray< Integral, Stencil< Array<unsigned char,Size> > > {};
73 template <
typename Integral, std::
size_t Size>
80 class ECL_PUBLIC Converter<
Stencil< std::vector<unsigned char> >, unsigned int > :
public converters::IntegralToByteArray< Stencil< std::vector<unsigned char> >, unsigned int > {};
86 class ECL_PUBLIC Converter<
Stencil< std::vector<unsigned char> >, int > :
public converters::IntegralToByteArray< Stencil< std::vector<unsigned char> >, int > {};
92 class ECL_PUBLIC Converter<
Stencil< std::vector<unsigned char> >, long > :
public converters::IntegralToByteArray< Stencil< std::vector<unsigned char> >, long > {};
98 class ECL_PUBLIC Converter<
Stencil< std::vector<unsigned char> >, long long > :
public converters::IntegralToByteArray< Stencil< std::vector<unsigned char> >, long long > {};
103 template <
typename Integral>
104 class ECL_PUBLIC Converter <Integral,
Stencil< const unsigned char* > > :
public converters::FromByteArray< Integral, Stencil< const unsigned char* > > {};
Fixed size container with a few bells and whistles.
Embedded control libraries.
A safe windowing class that opens onto array-like containers.
Windows over ecl type containers.