namespace efl { namespace gfx { 
inline ::efl::eolian::return_traits<void>::type Buffer::buffer_size_get( ::efl::eolian::out_traits<int>::type w,  ::efl::eolian::out_traits<int>::type h) const
{
   int __out_param_w = {};
   int __out_param_h = {};
    ::efl_gfx_buffer_size_get(this->_eo_ptr()
      , & __out_param_w
      , & __out_param_h);
   ::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(w, __out_param_w);
   ::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(h, __out_param_h);
}
inline ::efl::eolian::return_traits<void>::type Buffer::buffer_size_set( ::efl::eolian::in_traits<int>::type w,  ::efl::eolian::in_traits<int>::type h) const
{
    ::efl_gfx_buffer_size_set(this->_eo_ptr()
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(w)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(h));
}
inline ::efl::eolian::return_traits<Efl_Gfx_Colorspace>::type Buffer::colorspace_get() const
{
   Efl_Gfx_Colorspace __return_value =  ::efl_gfx_buffer_colorspace_get(this->_eo_ptr());
   return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Efl_Gfx_Colorspace>::type>(__return_value);
}
inline ::efl::eolian::return_traits<bool>::type Buffer::alpha_get() const
{
   Eina_Bool __return_value =  ::efl_gfx_buffer_alpha_get(this->_eo_ptr());
   return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
}
inline ::efl::eolian::return_traits<void>::type Buffer::alpha_set( ::efl::eolian::in_traits<bool>::type alpha) const
{
    ::efl_gfx_buffer_alpha_set(this->_eo_ptr()
      ,  ::efl::eolian::convert_to_c<Eina_Bool,  ::efl::eolian::in_traits<bool>::type>(alpha));
}
inline ::efl::eolian::return_traits<int>::type Buffer::stride_get() const
{
   int __return_value =  ::efl_gfx_buffer_stride_get(this->_eo_ptr());
   return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
}
inline ::efl::eolian::return_traits<void>::type Buffer::buffer_borders_get( ::efl::eolian::out_traits< unsigned int>::type l,  ::efl::eolian::out_traits< unsigned int>::type r,  ::efl::eolian::out_traits< unsigned int>::type t,  ::efl::eolian::out_traits< unsigned int>::type b) const
{
   unsigned int __out_param_l = {};
   unsigned int __out_param_r = {};
   unsigned int __out_param_t = {};
   unsigned int __out_param_b = {};
    ::efl_gfx_buffer_borders_get(this->_eo_ptr()
      , & __out_param_l
      , & __out_param_r
      , & __out_param_t
      , & __out_param_b);
   ::efl::eolian::assign_out< ::efl::eolian::out_traits< unsigned int>::type, unsigned int>(l, __out_param_l);
   ::efl::eolian::assign_out< ::efl::eolian::out_traits< unsigned int>::type, unsigned int>(r, __out_param_r);
   ::efl::eolian::assign_out< ::efl::eolian::out_traits< unsigned int>::type, unsigned int>(t, __out_param_t);
   ::efl::eolian::assign_out< ::efl::eolian::out_traits< unsigned int>::type, unsigned int>(b, __out_param_b);
}
inline ::efl::eolian::return_traits<void>::type Buffer::buffer_update_add( ::efl::eolian::in_traits<int>::type x,  ::efl::eolian::in_traits<int>::type y,  ::efl::eolian::in_traits<int>::type w,  ::efl::eolian::in_traits<int>::type h) const
{
    ::efl_gfx_buffer_update_add(this->_eo_ptr()
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(x)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(y)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(w)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(h));
}
inline ::efl::eolian::return_traits<void*>::type Buffer::buffer_map( ::efl::eolian::out_traits<int>::type length,  ::efl::eolian::in_traits<Efl_Gfx_Buffer_Access_Mode>::type mode,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type x,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type y,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type w,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type h,  ::efl::eolian::in_traits< ::efl::eina::optional<Efl_Gfx_Colorspace>>::type cspace,  ::efl::eolian::out_traits<int*>::type stride) const
{
   int __out_param_length = {};
   int __out_param_stride = {};
   void * __return_value =  ::efl_gfx_buffer_map(this->_eo_ptr()
      , & __out_param_length
      ,  ::efl::eolian::convert_to_c<Efl_Gfx_Buffer_Access_Mode,  ::efl::eolian::in_traits<Efl_Gfx_Buffer_Access_Mode>::type>(mode)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type>(x)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type>(y)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type>(w)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type>(h)
      ,  ::efl::eolian::convert_to_c<Efl_Gfx_Colorspace,  ::efl::eolian::in_traits< ::efl::eina::optional<Efl_Gfx_Colorspace>>::type>(cspace)
      , & __out_param_stride);
   ::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(length, __out_param_length);
   ::efl::eolian::assign_out< ::efl::eolian::out_traits<int*>::type, int>(stride, __out_param_stride);
   return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<void*>::type>(__return_value);
}
inline ::efl::eolian::return_traits<bool>::type Buffer::buffer_unmap( ::efl::eolian::in_traits<void*>::type data,  ::efl::eolian::in_traits<int>::type length) const
{
   Eina_Bool __return_value =  ::efl_gfx_buffer_unmap(this->_eo_ptr()
      ,  ::efl::eolian::convert_to_c<void *,  ::efl::eolian::in_traits<void*>::type>(data)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(length));
   return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
}
inline ::efl::eolian::return_traits<bool>::type Buffer::buffer_data_set( ::efl::eolian::in_traits<void*>::type pixels,  ::efl::eolian::in_traits<int>::type width,  ::efl::eolian::in_traits<int>::type height,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type stride,  ::efl::eolian::in_traits< ::efl::eina::optional<Efl_Gfx_Colorspace>>::type cspace) const
{
   Eina_Bool __return_value =  ::efl_gfx_buffer_data_set(this->_eo_ptr()
      ,  ::efl::eolian::convert_to_c<void *,  ::efl::eolian::in_traits<void*>::type>(pixels)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(width)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(height)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type>(stride)
      ,  ::efl::eolian::convert_to_c<Efl_Gfx_Colorspace,  ::efl::eolian::in_traits< ::efl::eina::optional<Efl_Gfx_Colorspace>>::type>(cspace));
   return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
}
inline ::efl::eolian::return_traits<bool>::type Buffer::buffer_copy_set( ::efl::eolian::in_traits<void const*>::type pixels,  ::efl::eolian::in_traits<int>::type width,  ::efl::eolian::in_traits<int>::type height,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type stride,  ::efl::eolian::in_traits< ::efl::eina::optional<Efl_Gfx_Colorspace>>::type cspace) const
{
   Eina_Bool __return_value =  ::efl_gfx_buffer_copy_set(this->_eo_ptr()
      ,  ::efl::eolian::convert_to_c<const void *,  ::efl::eolian::in_traits<void const*>::type>(pixels)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(width)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(height)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type>(stride)
      ,  ::efl::eolian::convert_to_c<Efl_Gfx_Colorspace,  ::efl::eolian::in_traits< ::efl::eina::optional<Efl_Gfx_Colorspace>>::type>(cspace));
   return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
}
inline ::efl::eolian::return_traits<void*>::type Buffer::buffer_data_get() const
{
   void * __return_value =  ::efl_gfx_buffer_data_get(this->_eo_ptr());
   return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<void*>::type>(__return_value);
}
} } 
namespace eo_cxx {
namespace efl { namespace gfx { 
inline ::efl::eolian::return_traits<void>::type Buffer::buffer_size_get( ::efl::eolian::out_traits<int>::type w,  ::efl::eolian::out_traits<int>::type h) const
{
   int __out_param_w = {};
   int __out_param_h = {};
    ::efl_gfx_buffer_size_get(this->_eo_ptr()
      , & __out_param_w
      , & __out_param_h);
   ::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(w, __out_param_w);
   ::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(h, __out_param_h);
}
inline ::efl::eolian::return_traits<void>::type Buffer::buffer_size_set( ::efl::eolian::in_traits<int>::type w,  ::efl::eolian::in_traits<int>::type h) const
{
    ::efl_gfx_buffer_size_set(this->_eo_ptr()
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(w)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(h));
}
inline ::efl::eolian::return_traits<Efl_Gfx_Colorspace>::type Buffer::colorspace_get() const
{
   Efl_Gfx_Colorspace __return_value =  ::efl_gfx_buffer_colorspace_get(this->_eo_ptr());
   return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<Efl_Gfx_Colorspace>::type>(__return_value);
}
inline ::efl::eolian::return_traits<bool>::type Buffer::alpha_get() const
{
   Eina_Bool __return_value =  ::efl_gfx_buffer_alpha_get(this->_eo_ptr());
   return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
}
inline ::efl::eolian::return_traits<void>::type Buffer::alpha_set( ::efl::eolian::in_traits<bool>::type alpha) const
{
    ::efl_gfx_buffer_alpha_set(this->_eo_ptr()
      ,  ::efl::eolian::convert_to_c<Eina_Bool,  ::efl::eolian::in_traits<bool>::type>(alpha));
}
inline ::efl::eolian::return_traits<int>::type Buffer::stride_get() const
{
   int __return_value =  ::efl_gfx_buffer_stride_get(this->_eo_ptr());
   return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<int>::type>(__return_value);
}
inline ::efl::eolian::return_traits<void>::type Buffer::buffer_borders_get( ::efl::eolian::out_traits< unsigned int>::type l,  ::efl::eolian::out_traits< unsigned int>::type r,  ::efl::eolian::out_traits< unsigned int>::type t,  ::efl::eolian::out_traits< unsigned int>::type b) const
{
   unsigned int __out_param_l = {};
   unsigned int __out_param_r = {};
   unsigned int __out_param_t = {};
   unsigned int __out_param_b = {};
    ::efl_gfx_buffer_borders_get(this->_eo_ptr()
      , & __out_param_l
      , & __out_param_r
      , & __out_param_t
      , & __out_param_b);
   ::efl::eolian::assign_out< ::efl::eolian::out_traits< unsigned int>::type, unsigned int>(l, __out_param_l);
   ::efl::eolian::assign_out< ::efl::eolian::out_traits< unsigned int>::type, unsigned int>(r, __out_param_r);
   ::efl::eolian::assign_out< ::efl::eolian::out_traits< unsigned int>::type, unsigned int>(t, __out_param_t);
   ::efl::eolian::assign_out< ::efl::eolian::out_traits< unsigned int>::type, unsigned int>(b, __out_param_b);
}
inline ::efl::eolian::return_traits<void>::type Buffer::buffer_update_add( ::efl::eolian::in_traits<int>::type x,  ::efl::eolian::in_traits<int>::type y,  ::efl::eolian::in_traits<int>::type w,  ::efl::eolian::in_traits<int>::type h) const
{
    ::efl_gfx_buffer_update_add(this->_eo_ptr()
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(x)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(y)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(w)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(h));
}
inline ::efl::eolian::return_traits<void*>::type Buffer::buffer_map( ::efl::eolian::out_traits<int>::type length,  ::efl::eolian::in_traits<Efl_Gfx_Buffer_Access_Mode>::type mode,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type x,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type y,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type w,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type h,  ::efl::eolian::in_traits< ::efl::eina::optional<Efl_Gfx_Colorspace>>::type cspace,  ::efl::eolian::out_traits<int*>::type stride) const
{
   int __out_param_length = {};
   int __out_param_stride = {};
   void * __return_value =  ::efl_gfx_buffer_map(this->_eo_ptr()
      , & __out_param_length
      ,  ::efl::eolian::convert_to_c<Efl_Gfx_Buffer_Access_Mode,  ::efl::eolian::in_traits<Efl_Gfx_Buffer_Access_Mode>::type>(mode)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type>(x)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type>(y)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type>(w)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type>(h)
      ,  ::efl::eolian::convert_to_c<Efl_Gfx_Colorspace,  ::efl::eolian::in_traits< ::efl::eina::optional<Efl_Gfx_Colorspace>>::type>(cspace)
      , & __out_param_stride);
   ::efl::eolian::assign_out< ::efl::eolian::out_traits<int>::type, int>(length, __out_param_length);
   ::efl::eolian::assign_out< ::efl::eolian::out_traits<int*>::type, int>(stride, __out_param_stride);
   return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<void*>::type>(__return_value);
}
inline ::efl::eolian::return_traits<bool>::type Buffer::buffer_unmap( ::efl::eolian::in_traits<void*>::type data,  ::efl::eolian::in_traits<int>::type length) const
{
   Eina_Bool __return_value =  ::efl_gfx_buffer_unmap(this->_eo_ptr()
      ,  ::efl::eolian::convert_to_c<void *,  ::efl::eolian::in_traits<void*>::type>(data)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(length));
   return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
}
inline ::efl::eolian::return_traits<bool>::type Buffer::buffer_data_set( ::efl::eolian::in_traits<void*>::type pixels,  ::efl::eolian::in_traits<int>::type width,  ::efl::eolian::in_traits<int>::type height,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type stride,  ::efl::eolian::in_traits< ::efl::eina::optional<Efl_Gfx_Colorspace>>::type cspace) const
{
   Eina_Bool __return_value =  ::efl_gfx_buffer_data_set(this->_eo_ptr()
      ,  ::efl::eolian::convert_to_c<void *,  ::efl::eolian::in_traits<void*>::type>(pixels)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(width)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(height)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type>(stride)
      ,  ::efl::eolian::convert_to_c<Efl_Gfx_Colorspace,  ::efl::eolian::in_traits< ::efl::eina::optional<Efl_Gfx_Colorspace>>::type>(cspace));
   return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
}
inline ::efl::eolian::return_traits<bool>::type Buffer::buffer_copy_set( ::efl::eolian::in_traits<void const*>::type pixels,  ::efl::eolian::in_traits<int>::type width,  ::efl::eolian::in_traits<int>::type height,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type stride,  ::efl::eolian::in_traits< ::efl::eina::optional<Efl_Gfx_Colorspace>>::type cspace) const
{
   Eina_Bool __return_value =  ::efl_gfx_buffer_copy_set(this->_eo_ptr()
      ,  ::efl::eolian::convert_to_c<const void *,  ::efl::eolian::in_traits<void const*>::type>(pixels)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(width)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits<int>::type>(height)
      ,  ::efl::eolian::convert_to_c<int,  ::efl::eolian::in_traits< ::efl::eina::optional<int>>::type>(stride)
      ,  ::efl::eolian::convert_to_c<Efl_Gfx_Colorspace,  ::efl::eolian::in_traits< ::efl::eina::optional<Efl_Gfx_Colorspace>>::type>(cspace));
   return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<bool>::type>(__return_value);
}
inline ::efl::eolian::return_traits<void*>::type Buffer::buffer_data_get() const
{
   void * __return_value =  ::efl_gfx_buffer_data_get(this->_eo_ptr());
   return ::efl::eolian::convert_to_return< ::efl::eolian::return_traits<void*>::type>(__return_value);
}
inline efl::gfx::Buffer::operator ::efl::gfx::Buffer() const { return *static_cast< ::efl::gfx::Buffer const*>(static_cast<void const*>(this)); }
inline efl::gfx::Buffer::operator ::efl::gfx::Buffer&() { return *static_cast< ::efl::gfx::Buffer*>(static_cast<void*>(this)); }
inline efl::gfx::Buffer::operator ::efl::gfx::Buffer const&() const { return *static_cast< ::efl::gfx::Buffer const*>(static_cast<void const*>(this)); }
} } }

