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

extern "C" {
#include "efl_class.eo.h"
#include "efl_object.eo.h"
#include "evas_canvas3d_node.eo.h"
#include "evas_canvas3d_object.eo.h"
#include "evas_canvas3d_primitive.eo.h"
}
#include <Eina.hh>
#include <Eo.hh>
#include "efl_class.eo.hh"
#include "efl_object.eo.hh"
#include "evas_canvas3d_node.eo.hh"
#include "evas_canvas3d_object.eo.hh"
#ifndef EVAS_CANVAS3D_PRIMITIVE_FWD_GUARD
#define EVAS_CANVAS3D_PRIMITIVE_FWD_GUARD
namespace evas { namespace canvas3d { 
struct Primitive;
} } 
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::canvas3d::Primitive> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::canvas3d::Primitive&> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::canvas3d::Primitive const> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::canvas3d::Primitive const&> : ::std::true_type {}; } }
#endif
#ifndef EFL_CLASS_FWD_GUARD
#define EFL_CLASS_FWD_GUARD
namespace efl { 
struct Class;
} 
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class&> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class const> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::efl::Class const&> : ::std::true_type {}; } }
#endif
#ifndef EVAS_CANVAS3D_NODE_FWD_GUARD
#define EVAS_CANVAS3D_NODE_FWD_GUARD
namespace evas { namespace canvas3d { 
struct Node;
} } 
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::canvas3d::Node> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::canvas3d::Node&> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::canvas3d::Node const> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::canvas3d::Node 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 EVAS_CANVAS3D_OBJECT_FWD_GUARD
#define EVAS_CANVAS3D_OBJECT_FWD_GUARD
namespace evas { namespace canvas3d { 
struct Object;
} } 
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::canvas3d::Object> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::canvas3d::Object&> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::canvas3d::Object const> : ::std::true_type {}; } }
namespace efl { namespace eo { template<> struct is_eolian_object< ::evas::canvas3d::Object const&> : ::std::true_type {}; } }
#endif

namespace eo_cxx {
namespace evas { namespace canvas3d { 
struct Primitive {
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<Evas_Canvas3D_Mesh_Primitive>::type form_get() const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<void>::type form_set( ::efl::eolian::in_traits<Evas_Canvas3D_Mesh_Primitive>::type form) const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<Evas_Canvas3D_Primitive_Mode>::type mode_get() const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<void>::type mode_set( ::efl::eolian::in_traits<Evas_Canvas3D_Primitive_Mode>::type mode) const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<Evas_Real>::type ratio_get() const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<void>::type ratio_set( ::efl::eolian::in_traits<Evas_Real>::type ratio) const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<int>::type precision_get() const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<void>::type precision_set( ::efl::eolian::in_traits<int>::type precision) const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<void>::type surface_set( ::efl::eolian::in_traits<Evas_Canvas3D_Surface_Func const*>::type surface) const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<void>::type tex_scale_get( ::efl::eolian::out_traits<Evas_Real>::type tex_scale_x,  ::efl::eolian::out_traits<Evas_Real>::type tex_scale_y) const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<void>::type tex_scale_set( ::efl::eolian::in_traits<Evas_Real>::type tex_scale_x,  ::efl::eolian::in_traits<Evas_Real>::type tex_scale_y) const;
#endif
    static Efl_Class const* _eo_class()
    {
        return EVAS_CANVAS3D_PRIMITIVE_CLASS;
    }
    Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Primitive *>(this))); }
    operator ::evas::canvas3d::Primitive() const;
    operator ::evas::canvas3d::Primitive&();
    operator ::evas::canvas3d::Primitive const&() const;
    /// @cond LOCAL
     ::efl::eolian::address_of_operator<Primitive,  ::efl::Object,  ::evas::canvas3d::Object> operator&() { return {this}; }
     ::efl::eolian::address_of_operator<Primitive const ,  ::efl::Object const ,  ::evas::canvas3d::Object const > operator&() const { return {this}; }
    /// @endcond
};
} } 
}
namespace evas { namespace canvas3d { 
struct Primitive : private ::efl::eo::concrete
    , EO_CXX_INHERIT(::efl::Object)
    , EO_CXX_INHERIT(::evas::canvas3d::Object)
{
    explicit Primitive( ::Eo* eo)
        : ::efl::eo::concrete(eo) {}
    Primitive(std::nullptr_t)
        : ::efl::eo::concrete(nullptr) {}
    explicit Primitive() = default;
    Primitive(Primitive const&) = default;
    Primitive(Primitive&&) = default;
    Primitive& operator=(Primitive const&) = default;
    Primitive& operator=(Primitive&&) = default;
    template <typename Derived>
    Primitive(Derived&& derived
        , typename std::enable_if<
            ::efl::eo::is_eolian_object<Derived>::value
             && std::is_base_of< Primitive, Derived>::value>::type* = 0)
            : ::efl::eo::concrete(derived._eo_ptr()) {}

    Primitive( ::efl::eo::instantiate_t)
    {
        ::efl::eolian::do_eo_add( ::efl::eo::concrete::_eo_raw, ::efl::eo::concrete{nullptr}, _eo_class());
    }
    template <typename T>
    explicit Primitive( ::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> Primitive( ::efl::eo::instantiate_t, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Primitive >::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> Primitive(  ::efl::eo::instantiate_t, T&& parent, F&& f, typename ::std::enable_if< ::efl::eolian::is_constructor_lambda<F, Primitive >::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));
    }

#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<Evas_Canvas3D_Mesh_Primitive>::type form_get() const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<void>::type form_set( ::efl::eolian::in_traits<Evas_Canvas3D_Mesh_Primitive>::type form) const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<Evas_Canvas3D_Primitive_Mode>::type mode_get() const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<void>::type mode_set( ::efl::eolian::in_traits<Evas_Canvas3D_Primitive_Mode>::type mode) const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<Evas_Real>::type ratio_get() const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<void>::type ratio_set( ::efl::eolian::in_traits<Evas_Real>::type ratio) const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<int>::type precision_get() const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<void>::type precision_set( ::efl::eolian::in_traits<int>::type precision) const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<void>::type surface_set( ::efl::eolian::in_traits<Evas_Canvas3D_Surface_Func const*>::type surface) const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<void>::type tex_scale_get( ::efl::eolian::out_traits<Evas_Real>::type tex_scale_x,  ::efl::eolian::out_traits<Evas_Real>::type tex_scale_y) const;
#endif
#ifdef EFL_BETA_API_SUPPORT
    ::efl::eolian::return_traits<void>::type tex_scale_set( ::efl::eolian::in_traits<Evas_Real>::type tex_scale_x,  ::efl::eolian::in_traits<Evas_Real>::type tex_scale_y) const;
#endif
    static Efl_Class const* _eo_class()
    {
        return EVAS_CANVAS3D_PRIMITIVE_CLASS;
    }
    Eo* _eo_ptr() const { return *(reinterpret_cast<Eo **>(const_cast<Primitive *>(this))); }
    /// @cond LOCAL
     ::efl::eolian::address_of_operator<Primitive,  ::efl::Object,  ::evas::canvas3d::Object> operator&() { return {this}; }
     ::efl::eolian::address_of_operator<Primitive const ,  ::efl::Object const ,  ::evas::canvas3d::Object const > operator&() const { return {this}; }
    /// @endcond
    ::efl::eo::wref<Primitive> _get_wref() const { return ::efl::eo::wref<Primitive>(*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 Primitive* operator->() const { return this; }
    Primitive* operator->() { return this; }
    operator Eo*() const { return _eo_ptr(); }
#endif 
    friend bool operator==(Primitive const& lhs, Primitive const& rhs)
    { return lhs._get_concrete() == rhs._get_concrete(); }
    friend bool operator!=(Primitive const& lhs, Primitive const& rhs)
    { return !(lhs == rhs); }
};
static_assert(sizeof(Primitive) == sizeof(Eo*), "");
static_assert(std::is_standard_layout<Primitive>::value, "");
} } 
#endif
