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

extern "C" {
#include "efl_io_closer.eo.h"
}
#include <Eina.hh>
#include <Eo.hh>
namespace efl { namespace io { 
struct Closer;
} } 
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::io::Closer> : ::std::true_type {}; } }
namespace efl { namespace io { 
struct Closer;
} } 

namespace eo_cxx {
namespace efl { namespace io { 
struct Closer {
   ::efl::eolian::return_traits<bool>::type closed_get() const;
   ::efl::eolian::return_traits<bool>::type closed_set( ::efl::eolian::in_traits<bool>::type is_closed) const;
   ::efl::eolian::return_traits<bool>::type close_on_exec_get() const;
   ::efl::eolian::return_traits<bool>::type close_on_exec_set( ::efl::eolian::in_traits<bool>::type close_on_exec) const;
   ::efl::eolian::return_traits<bool>::type close_on_destructor_get() const;
   ::efl::eolian::return_traits<void>::type close_on_destructor_set( ::efl::eolian::in_traits<bool>::type close_on_destructor) const;
   ::efl::eolian::return_traits<Eina_Error>::type close() const;
   static Efl_Class const* _eo_class()
   {
      return EFL_IO_CLOSER_MIXIN;
   }
   Eo* _eo_ptr() const { return *(Eo**)this; }
   operator ::efl::io::Closer() const;
   operator ::efl::io::Closer&();
   operator ::efl::io::Closer const&() const;
   /// @cond LOCAL
    ::efl::eolian::address_of_operator<Closer> operator&() { return {this}; }
    ::efl::eolian::address_of_operator<Closer const > operator&() const { return {this}; }
   /// @endcond
};
} } 
}
namespace efl { namespace io { 
struct Closer : ::efl::eo::concrete
{
   explicit Closer( ::Eo* eo)
      : ::efl::eo::concrete(eo) {}
   explicit Closer(std::nullptr_t)
      : ::efl::eo::concrete(nullptr) {}
   Closer(Closer const& other) = default;
   Closer(Closer&& other) = default;
   Closer& operator=(Closer const& other) = default;
   Closer& operator=(Closer&& other) = default;
   Closer()
   {
      ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class());
   }
   Closer( ::efl::eo::concrete parent)
   {
      ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, parent, _eo_class());
   }
   template <typename F> Closer(F f, typename ::std::enable_if< ::efl::eolian::is_callable<F>::value>::type* = 0)
   {
      ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class(), f);
   }
   ::efl::eolian::return_traits<bool>::type closed_get() const;
   ::efl::eolian::return_traits<bool>::type closed_set( ::efl::eolian::in_traits<bool>::type is_closed) const;
   ::efl::eolian::return_traits<bool>::type close_on_exec_get() const;
   ::efl::eolian::return_traits<bool>::type close_on_exec_set( ::efl::eolian::in_traits<bool>::type close_on_exec) const;
   ::efl::eolian::return_traits<bool>::type close_on_destructor_get() const;
   ::efl::eolian::return_traits<void>::type close_on_destructor_set( ::efl::eolian::in_traits<bool>::type close_on_destructor) const;
   ::efl::eolian::return_traits<Eina_Error>::type close() const;
   static Efl_Class const* _eo_class()
   {
      return EFL_IO_CLOSER_MIXIN;
   }
   Eo* _eo_ptr() const { return *(Eo**)this; }
   static struct closed_event
   {
      static Efl_Event_Description const* description()
      { return EFL_IO_CLOSER_EVENT_CLOSED; }
      typedef void parameter_type;
   } const closed_event;
   /// @cond LOCAL
    ::efl::eolian::address_of_operator<Closer> operator&() { return {this}; }
    ::efl::eolian::address_of_operator<Closer const > operator&() const { return {this}; }
   /// @endcond
};
static_assert(sizeof(Closer) == sizeof(Eo*), "");
static_assert(std::is_standard_layout<Closer>::value, "");
} } 
#endif
