converters.hpp
Go to the documentation of this file.
00001 
00008 /*****************************************************************************
00009 ** Ifdefs
00010 *****************************************************************************/
00011 
00012 #ifndef ECL_CONTAINERS_STENCIL_CONVERTERS_HPP_
00013 #define ECL_CONTAINERS_STENCIL_CONVERTERS_HPP_
00014 
00015 /*****************************************************************************
00016 ** Includes
00017 *****************************************************************************/
00018 
00019 #include <ecl/config/macros.hpp>
00020 #include <ecl/converters/from_byte_array.hpp>
00021 #include <ecl/converters/to_byte_array.hpp>
00022 #include "stencil.hpp"
00023 
00024 /*****************************************************************************
00025 ** Namespaces
00026 *****************************************************************************/
00027 
00028 namespace ecl {
00029 
00030 /*****************************************************************************
00031 ** Forware Declarations
00032 *****************************************************************************/
00033 
00034 template<typename Type, std::size_t Size> class Array;
00035 
00036 /*****************************************************************************
00037 ** Interface [Array]
00038 *****************************************************************************/
00039 
00043 template <typename Integral, std::size_t Size>
00044 class ECL_PUBLIC Converter < Stencil< Array<char,Size> >, Integral > : public converters::IntegralToByteArray< Stencil< Array<char,Size> >, Integral > {};
00045 
00049 template <typename Integral, std::size_t Size>
00050 class ECL_PUBLIC Converter < Stencil< Array<unsigned char,Size> >, Integral > : public converters::IntegralToByteArray< Stencil< Array<unsigned char,Size> >, Integral > {};
00051 
00055 template <typename Integral, std::size_t Size>
00056 class ECL_PUBLIC Converter < Stencil< Array<signed char,Size> >, Integral > : public converters::IntegralToByteArray< Stencil< Array<signed char,Size> >, Integral > {};
00057 
00061 template <typename Integral, std::size_t Size>
00062 class ECL_PUBLIC Converter <Integral, Stencil< Array<char,Size> > > : public converters::FromByteArray< Integral, Stencil< Array<char,Size> > > {};
00063 
00067 template <typename Integral, std::size_t Size>
00068 class ECL_PUBLIC Converter <Integral, Stencil< Array<unsigned char,Size> > > : public converters::FromByteArray< Integral, Stencil< Array<unsigned char,Size> > > {};
00069 
00073 template <typename Integral, std::size_t Size>
00074 class ECL_PUBLIC Converter <Integral, Stencil< Array<signed char,Size> > > : public converters::FromByteArray< Integral, Stencil< Array<signed char,Size> > > {};
00075 
00076 } // namespace ecl
00077 
00078 #endif /* ECL_CONTAINERS_STENCIL_CONVERTERS_HPP_ */


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