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

extern "C" {
#include "efl_canvas_layout_part.eo.h"
#include "efl_canvas_layout_part_swallow.eo.h"
#include "efl_content.eo.h"
#include "efl_gfx_entity.eo.h"
#include "efl_object.eo.h"
#include "efl_ui_drag.eo.h"
}
#include <Eina.hh>
#include <Eo.hh>
#include "efl_canvas_layout_part.eo.hh"
#include "efl_content.eo.hh"
#include "efl_gfx_entity.eo.hh"
#include "efl_object.eo.hh"
#include "efl_ui_drag.eo.hh"
#ifndef EFL_CANVAS_LAYOUT_PART_SWALLOW_FWD_GUARD
#define EFL_CANVAS_LAYOUT_PART_SWALLOW_FWD_GUARD
namespace efl { namespace canvas { 
struct Layout_Part_Swallow;
} } 
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Layout_Part_Swallow> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Layout_Part_Swallow&> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Layout_Part_Swallow const> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Layout_Part_Swallow const&> : ::std::true_type {}; } }
#endif
#ifndef EFL_CONTENT_FWD_GUARD
#define EFL_CONTENT_FWD_GUARD
namespace efl { 
struct Content;
} 
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Content> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Content&> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Content const> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Content const&> : ::std::true_type {}; } }
#endif
#ifndef EFL_GFX_ENTITY_FWD_GUARD
#define EFL_GFX_ENTITY_FWD_GUARD
namespace efl { namespace gfx { 
struct Entity;
} } 
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity&> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const&> : ::std::true_type {}; } }
#endif
#ifndef EFL_UI_DRAG_FWD_GUARD
#define EFL_UI_DRAG_FWD_GUARD
namespace efl { namespace ui { 
struct Drag;
} } 
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::Drag> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::Drag&> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::Drag const> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::ui::Drag const&> : ::std::true_type {}; } }
#endif
#ifndef EFL_GFX_ENTITY_FWD_GUARD
#define EFL_GFX_ENTITY_FWD_GUARD
namespace efl { namespace gfx { 
struct Entity;
} } 
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity&> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::gfx::Entity const&> : ::std::true_type {}; } }
#endif
#ifndef EFL_OBJECT_FWD_GUARD
#define EFL_OBJECT_FWD_GUARD
namespace efl { 
struct Object;
} 
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object&> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Object const&> : ::std::true_type {}; } }
#endif
#ifndef EFL_CANVAS_LAYOUT_PART_FWD_GUARD
#define EFL_CANVAS_LAYOUT_PART_FWD_GUARD
namespace efl { namespace canvas { 
struct Layout_Part;
} } 
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Layout_Part> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Layout_Part&> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Layout_Part const> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::canvas::Layout_Part const&> : ::std::true_type {}; } }
#endif

namespace eo_cxx {
namespace efl { namespace canvas { 
struct Layout_Part_Swallow {
   static Efl_Class const* _eo_class()
   {
      return EFL_CANVAS_LAYOUT_PART_SWALLOW_CLASS;
   }
   Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Layout_Part_Swallow *>(this))); }
   operator ::efl::canvas::Layout_Part_Swallow() const;
   operator ::efl::canvas::Layout_Part_Swallow&();
   operator ::efl::canvas::Layout_Part_Swallow const&() const;
   /// @cond LOCAL
    ::efl::eolian::address_of_operator<Layout_Part_Swallow,  ::efl::Content,  ::efl::Object,  ::efl::canvas::Layout_Part,  ::efl::gfx::Entity,  ::efl::ui::Drag> operator&() { return {this}; }
    ::efl::eolian::address_of_operator<Layout_Part_Swallow const ,  ::efl::Content const ,  ::efl::Object const ,  ::efl::canvas::Layout_Part const ,  ::efl::gfx::Entity const ,  ::efl::ui::Drag const > operator&() const { return {this}; }
   /// @endcond
};
} } 
}
namespace efl { namespace canvas { 
struct Layout_Part_Swallow : private ::efl::eo::concrete
   , EO_CXX_INHERIT(::efl::Content)
   , EO_CXX_INHERIT(::efl::Object)
   , EO_CXX_INHERIT(::efl::canvas::Layout_Part)
   , EO_CXX_INHERIT(::efl::gfx::Entity)
   , EO_CXX_INHERIT(::efl::ui::Drag)
{
   explicit Layout_Part_Swallow( ::Eo* eo)
      : ::efl::eo::concrete(eo) {}
   Layout_Part_Swallow(std::nullptr_t)
      : ::efl::eo::concrete(nullptr) {}
   explicit Layout_Part_Swallow() = default;
   Layout_Part_Swallow(Layout_Part_Swallow const&) = default;
   Layout_Part_Swallow(Layout_Part_Swallow&&) = default;
   Layout_Part_Swallow& operator=(Layout_Part_Swallow const&) = default;
   Layout_Part_Swallow& operator=(Layout_Part_Swallow&&) = default;
   template <typename Derived>
   Layout_Part_Swallow(Derived&& derived
      , typename std::enable_if<
         ::efl::eo::is_eolian_object<Derived>::value
          && std::is_base_of< Layout_Part_Swallow, Derived>::value>::type* = 0)
         : ::efl::eo::concrete(derived._eo_ptr()) {}

   Layout_Part_Swallow( ::efl::eo::instantiate_t)
   {
      ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class());
   }
   template <typename T>
   explicit Layout_Part_Swallow( ::efl::eo::instantiate_t, T&& parent, typename std::enable_if< ::efl::eo::is_eolian_object<T>::value>::type* = 0)
   {
      ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class());
   }
   template <typename F> Layout_Part_Swallow( ::efl::eo::instantiate_t, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Layout_Part_Swallow >::value>::type* = 0)
   {
      ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class(), *this, std::forward<F>(f));
   }
   template <typename T, typename F> Layout_Part_Swallow(  ::efl::eo::instantiate_t, T&& parent, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Layout_Part_Swallow >::value && ::efl::eo::is_eolian_object<T>::value>::type* = 0)
   {
      ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class(), *this, std::forward<F>(f));
   }

   static Efl_Class const* _eo_class()
   {
      return EFL_CANVAS_LAYOUT_PART_SWALLOW_CLASS;
   }
   Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Layout_Part_Swallow *>(this))); }
   /// @cond LOCAL
    ::efl::eolian::address_of_operator<Layout_Part_Swallow,  ::efl::Content,  ::efl::Object,  ::efl::canvas::Layout_Part,  ::efl::gfx::Entity,  ::efl::ui::Drag> operator&() { return {this}; }
    ::efl::eolian::address_of_operator<Layout_Part_Swallow const ,  ::efl::Content const ,  ::efl::Object const ,  ::efl::canvas::Layout_Part const ,  ::efl::gfx::Entity const ,  ::efl::ui::Drag const > operator&() const { return {this}; }
   /// @endcond
   ::efl::eo::wref<Layout_Part_Swallow> _get_wref() const { return ::efl::eo::wref<Layout_Part_Swallow>(*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 Layout_Part_Swallow* operator->() const { return this; }
   Layout_Part_Swallow* operator->() { return this; }
   operator Eo*() const { return _eo_ptr(); }
#endif 
   friend bool operator==(Layout_Part_Swallow const& lhs, Layout_Part_Swallow const& rhs)
   { return lhs._get_concrete() == rhs._get_concrete(); }
   friend bool operator!=(Layout_Part_Swallow const& lhs, Layout_Part_Swallow const& rhs)
   { return !(lhs == rhs); }
};
static_assert(sizeof(Layout_Part_Swallow) == sizeof(Eo*), "");
static_assert(std::is_standard_layout<Layout_Part_Swallow>::value, "");
} } 
#endif
