#ifndef EFL_GFX_SIZE_HINT_EO_HH
#define EFL_GFX_SIZE_HINT_EO_HH
#include <Eo.h>

extern "C" {
#include "efl_gfx_size_hint.eo.h"
}
#include <Eina.hh>
#include <Eo.hh>
#ifndef EFL_GFX_SIZE_HINT_FWD_GUARD
#define EFL_GFX_SIZE_HINT_FWD_GUARD
namespace efl { namespace gfx { 
struct Size_Hint;
} } 
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Size_Hint> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Size_Hint&> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Size_Hint const> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Size_Hint const&> : ::std::true_type {}; } }
#endif

namespace eo_cxx {
namespace efl { namespace gfx { 
struct Size_Hint {
   ::efl::eolian::return_traits<Eina_Size2D>::type hint_base_get() const;
   ::efl::eolian::return_traits<void>::type hint_base_set( ::efl::eolian::in_traits<Eina_Size2D>::type sz) const;
   ::efl::eolian::return_traits<Eina_Size2D>::type hint_step_get() const;
   ::efl::eolian::return_traits<void>::type hint_step_set( ::efl::eolian::in_traits<Eina_Size2D>::type sz) const;
   ::efl::eolian::return_traits<void>::type hint_aspect_get( ::efl::eolian::out_traits<Efl_Gfx_Size_Hint_Aspect>::type mode,  ::efl::eolian::out_traits<Eina_Size2D>::type sz) const;
   ::efl::eolian::return_traits<void>::type hint_aspect_set( ::efl::eolian::in_traits<Efl_Gfx_Size_Hint_Aspect>::type mode,  ::efl::eolian::in_traits<Eina_Size2D>::type sz) const;
   ::efl::eolian::return_traits<Eina_Size2D>::type hint_max_get() const;
   ::efl::eolian::return_traits<void>::type hint_max_set( ::efl::eolian::in_traits<Eina_Size2D>::type sz) const;
   ::efl::eolian::return_traits<Eina_Size2D>::type hint_min_get() const;
   ::efl::eolian::return_traits<void>::type hint_min_set( ::efl::eolian::in_traits<Eina_Size2D>::type sz) const;
   ::efl::eolian::return_traits<Eina_Size2D>::type hint_restricted_min_get() const;
#ifdef EFL_GFX_SIZE_HINT_PROTECTED
   ::efl::eolian::return_traits<void>::type hint_restricted_min_set( ::efl::eolian::in_traits<Eina_Size2D>::type sz) const;
#endif
   ::efl::eolian::return_traits<Eina_Size2D>::type hint_combined_min_get() const;
   ::efl::eolian::return_traits<void>::type hint_margin_get( ::efl::eolian::out_traits<int>::type l,  ::efl::eolian::out_traits<int>::type r,  ::efl::eolian::out_traits<int>::type t,  ::efl::eolian::out_traits<int>::type b) const;
   ::efl::eolian::return_traits<void>::type hint_margin_set( ::efl::eolian::in_traits<int>::type l,  ::efl::eolian::in_traits<int>::type r,  ::efl::eolian::in_traits<int>::type t,  ::efl::eolian::in_traits<int>::type b) const;
   ::efl::eolian::return_traits<void>::type hint_weight_get( ::efl::eolian::out_traits<double>::type x,  ::efl::eolian::out_traits<double>::type y) const;
   ::efl::eolian::return_traits<void>::type hint_weight_set( ::efl::eolian::in_traits<double>::type x,  ::efl::eolian::in_traits<double>::type y) const;
   ::efl::eolian::return_traits<void>::type hint_align_get( ::efl::eolian::out_traits<double>::type x,  ::efl::eolian::out_traits<double>::type y) const;
   ::efl::eolian::return_traits<void>::type hint_align_set( ::efl::eolian::in_traits<double>::type x,  ::efl::eolian::in_traits<double>::type y) const;
   static Efl_Class const* _eo_class()
   {
      return EFL_GFX_SIZE_HINT_INTERFACE;
   }
   Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Size_Hint *>(this))); }
   operator ::efl::gfx::Size_Hint() const;
   operator ::efl::gfx::Size_Hint&();
   operator ::efl::gfx::Size_Hint const&() const;
   /// @cond LOCAL
    ::efl::eolian::address_of_operator<Size_Hint> operator&() { return {this}; }
    ::efl::eolian::address_of_operator<Size_Hint const > operator&() const { return {this}; }
   /// @endcond
};
} } 
}
namespace efl { namespace gfx { 
struct Size_Hint : private ::efl::eo::concrete
{
   explicit Size_Hint( ::Eo* eo)
      : ::efl::eo::concrete(eo) {}
   Size_Hint(std::nullptr_t)
      : ::efl::eo::concrete(nullptr) {}
   explicit Size_Hint() = default;
   Size_Hint(Size_Hint const&) = default;
   Size_Hint(Size_Hint&&) = default;
   Size_Hint& operator=(Size_Hint const&) = default;
   Size_Hint& operator=(Size_Hint&&) = default;
   template <typename Derived>
   Size_Hint(Derived&& derived
      , typename std::enable_if<
         ::efl::eo::is_eolian_object<Derived>::value
          && std::is_base_of< Size_Hint, Derived>::value>::type* = 0)
         : ::efl::eo::concrete(derived._eo_ptr()) {}

   ::efl::eolian::return_traits<Eina_Size2D>::type hint_base_get() const;
   ::efl::eolian::return_traits<void>::type hint_base_set( ::efl::eolian::in_traits<Eina_Size2D>::type sz) const;
   ::efl::eolian::return_traits<Eina_Size2D>::type hint_step_get() const;
   ::efl::eolian::return_traits<void>::type hint_step_set( ::efl::eolian::in_traits<Eina_Size2D>::type sz) const;
   ::efl::eolian::return_traits<void>::type hint_aspect_get( ::efl::eolian::out_traits<Efl_Gfx_Size_Hint_Aspect>::type mode,  ::efl::eolian::out_traits<Eina_Size2D>::type sz) const;
   ::efl::eolian::return_traits<void>::type hint_aspect_set( ::efl::eolian::in_traits<Efl_Gfx_Size_Hint_Aspect>::type mode,  ::efl::eolian::in_traits<Eina_Size2D>::type sz) const;
   ::efl::eolian::return_traits<Eina_Size2D>::type hint_max_get() const;
   ::efl::eolian::return_traits<void>::type hint_max_set( ::efl::eolian::in_traits<Eina_Size2D>::type sz) const;
   ::efl::eolian::return_traits<Eina_Size2D>::type hint_min_get() const;
   ::efl::eolian::return_traits<void>::type hint_min_set( ::efl::eolian::in_traits<Eina_Size2D>::type sz) const;
   ::efl::eolian::return_traits<Eina_Size2D>::type hint_restricted_min_get() const;
#ifdef EFL_GFX_SIZE_HINT_PROTECTED
   ::efl::eolian::return_traits<void>::type hint_restricted_min_set( ::efl::eolian::in_traits<Eina_Size2D>::type sz) const;
#endif
   ::efl::eolian::return_traits<Eina_Size2D>::type hint_combined_min_get() const;
   ::efl::eolian::return_traits<void>::type hint_margin_get( ::efl::eolian::out_traits<int>::type l,  ::efl::eolian::out_traits<int>::type r,  ::efl::eolian::out_traits<int>::type t,  ::efl::eolian::out_traits<int>::type b) const;
   ::efl::eolian::return_traits<void>::type hint_margin_set( ::efl::eolian::in_traits<int>::type l,  ::efl::eolian::in_traits<int>::type r,  ::efl::eolian::in_traits<int>::type t,  ::efl::eolian::in_traits<int>::type b) const;
   ::efl::eolian::return_traits<void>::type hint_weight_get( ::efl::eolian::out_traits<double>::type x,  ::efl::eolian::out_traits<double>::type y) const;
   ::efl::eolian::return_traits<void>::type hint_weight_set( ::efl::eolian::in_traits<double>::type x,  ::efl::eolian::in_traits<double>::type y) const;
   ::efl::eolian::return_traits<void>::type hint_align_get( ::efl::eolian::out_traits<double>::type x,  ::efl::eolian::out_traits<double>::type y) const;
   ::efl::eolian::return_traits<void>::type hint_align_set( ::efl::eolian::in_traits<double>::type x,  ::efl::eolian::in_traits<double>::type y) const;
   static Efl_Class const* _eo_class()
   {
      return EFL_GFX_SIZE_HINT_INTERFACE;
   }
   Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Size_Hint *>(this))); }
   static struct change_size_hints_event
   {
      static Efl_Event_Description const* description()
      { return EFL_GFX_ENTITY_EVENT_CHANGE_SIZE_HINTS; }
      typedef void parameter_type;
   } const change_size_hints_event;
#ifdef EFL_CXXPERIMENTAL
   template <typename F>
   typename std::enable_if<std::is_bind_expression<F>::value, ::efl::eolian::signal_connection>::type
   change_size_hints_event_cb_add(F function)
   {
      return ::efl::eolian::event_add(change_size_hints_event, *this, function);
   }
   template <typename F>
   typename std::enable_if<!std::is_bind_expression<F>::value, ::efl::eolian::signal_connection>::type
   change_size_hints_event_cb_add(F function)
   {
      return ::efl::eolian::event_add(change_size_hints_event, *this, std::bind(function));
   }
#endif
   /// @cond LOCAL
    ::efl::eolian::address_of_operator<Size_Hint> operator&() { return {this}; }
    ::efl::eolian::address_of_operator<Size_Hint const > operator&() const { return {this}; }
   /// @endcond
   ::efl::eo::wref<Size_Hint> _get_wref() const { return ::efl::eo::wref<Size_Hint>(*this); }
   ::efl::eo::concrete const& _get_concrete() const { return *this; }
   ::efl::eo::concrete& _get_concrete() { return *this; }
   using ::efl::eo::concrete::_eo_ptr;
   using ::efl::eo::concrete::_release;
   using ::efl::eo::concrete::_reset;
   using ::efl::eo::concrete::_delete;
   using ::efl::eo::concrete::operator bool;
#ifdef EFL_CXXPERIMENTAL
   const Size_Hint* operator->() const { return this; }
   Size_Hint* operator->() { return this; }
   operator Eo*() const { return _eo_ptr(); }
#endif 
   friend bool operator==(Size_Hint const& lhs, Size_Hint const& rhs)
   { return lhs._get_concrete() == rhs._get_concrete(); }
   friend bool operator!=(Size_Hint const& lhs, Size_Hint const& rhs)
   { return !(lhs == rhs); }
};
static_assert(sizeof(Size_Hint) == sizeof(Eo*), "");
static_assert(std::is_standard_layout<Size_Hint>::value, "");
} } 
#endif
