converters.hpp
Go to the documentation of this file.
00001 
00008 /*****************************************************************************
00009 ** Ifdefs
00010 *****************************************************************************/
00011 
00012 #ifndef ECL_CONTAINERS_ARRAY_CONVERTERS_HPP_
00013 #define ECL_CONTAINERS_ARRAY_CONVERTERS_HPP_
00014 
00015 /*****************************************************************************
00016 ** Includes
00017 *****************************************************************************/
00018 
00019 #ifdef ECL_MEM_CHECK_ARRAYS
00020   #include "array_mem_check.hpp"
00021   #include "array_dynamic_mem_check.hpp"
00022 #else
00023   #include "array_no_mem_check.hpp"
00024   #include "array_dynamic_no_mem_check.hpp"
00025 #endif
00026 #include <ecl/converters/to_byte_array.hpp>
00027 #include <ecl/converters/from_byte_array.hpp>
00028 #include <ecl/converters/converter.hpp>
00029 #include <ecl/config/macros.hpp>
00030 
00031 /*****************************************************************************
00032 ** Namespaces
00033 *****************************************************************************/
00034 
00035 namespace ecl {
00036 
00037 /*****************************************************************************
00038 ** Byte Array Converters
00039 *****************************************************************************/
00040 
00047 template <typename Integral>
00048 class ECL_PUBLIC Converter <Array<char>, Integral > : public converters::IntegralToByteArray< Array<char>, Integral > {};
00049 
00056 template <typename Integral>
00057 class ECL_PUBLIC Converter <Array<signed char>, Integral > : public converters::IntegralToByteArray< Array<signed char>, Integral > {};
00058 
00059 
00066 template <typename Integral>
00067 class ECL_PUBLIC Converter <Array<unsigned char>, Integral > : public converters::IntegralToByteArray< Array<unsigned char>, Integral > {};
00071 template <typename Integral, std::size_t Size>
00072 class ECL_PUBLIC Converter <Integral, Array<char,Size> > : public converters::FromByteArray< Integral, Array<char,Size> > {};
00073 
00077 template <typename Integral, std::size_t Size>
00078 class ECL_PUBLIC Converter <Integral, Array<unsigned char,Size> > : public converters::FromByteArray< Integral, Array<unsigned char,Size> > {};
00082 template <typename Integral, std::size_t Size>
00083 class ECL_PUBLIC Converter <Integral, Array<signed char,Size> > : public converters::FromByteArray< Integral, Array<signed char,Size> > {};
00084 
00085 } // namespace ecl
00086 
00087 #endif /* ECL_CONTAINERS_ARRAY_CONVERTERS_HPP_ */


ecl_containers
Author(s): Daniel Stonier
autogenerated on Wed Aug 26 2015 11:27:29