array/converters.hpp
Go to the documentation of this file.
1 
8 /*****************************************************************************
9 ** Ifdefs
10 *****************************************************************************/
11 
12 #ifndef ECL_CONTAINERS_ARRAY_CONVERTERS_HPP_
13 #define ECL_CONTAINERS_ARRAY_CONVERTERS_HPP_
14 
15 /*****************************************************************************
16 ** Includes
17 *****************************************************************************/
18 
19 #ifdef ECL_MEM_CHECK_ARRAYS
20  #include "array_mem_check.hpp"
22 #else
23  #include "array_no_mem_check.hpp"
25 #endif
29 #include <ecl/config/macros.hpp>
30 
31 /*****************************************************************************
32 ** Namespaces
33 *****************************************************************************/
34 
35 namespace ecl {
36 
37 /*****************************************************************************
38 ** Byte Array Converters
39 *****************************************************************************/
40 
47 template <typename Integral>
48 class ECL_PUBLIC Converter <Array<char>, Integral > : public converters::IntegralToByteArray< Array<char>, Integral > {};
49 
56 template <typename Integral>
57 class ECL_PUBLIC Converter <Array<signed char>, Integral > : public converters::IntegralToByteArray< Array<signed char>, Integral > {};
58 
59 
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> > {};
73 
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> > {};
84 
85 } // namespace ecl
86 
87 #endif /* ECL_CONTAINERS_ARRAY_CONVERTERS_HPP_ */
Fixed size container with a few bells and whistles.
Embedded control libraries.
Fixed size containers with a few bells and whistles.
Dynamically sized containers with a few bells and whistles.
Fixed size containers with a few bells and whistles.
#define ECL_PUBLIC
Dynamically sized containers with a few bells and whistles.


ecl_containers
Author(s): Daniel Stonier
autogenerated on Mon Jun 10 2019 13:08:30