/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.5.0
 *
 * Copyright (c) 2021 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQtDataVisualization.
 * 
 * This file may be used under the terms of the GNU General Public License
 * version 3.0 as published by the Free Software Foundation and appearing in
 * the file LICENSE included in the packaging of this file.  Please review the
 * following information to ensure the GNU General Public License version 3.0
 * requirements will be met: http://www.gnu.org/copyleft/gpl.html.
 * 
 * If you do not wish to use this file under the terms of the GPL version 3.0
 * then you may purchase a commercial license.  For more information contact
 * info@riverbankcomputing.com.
 * 
 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */

#include "sipAPIQtDataVisualization.h"

#line 26 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/sip/QtDataVisualization/q3dbars.sip"
#include <q3dbars.h>
#line 26 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/sip/QtDataVisualization/q3dcamera.sip"
#include <q3dcamera.h>
#line 26 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/sip/QtDataVisualization/q3dinputhandler.sip"
#include <q3dinputhandler.h>
#line 26 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/sip/QtDataVisualization/q3dlight.sip"
#include <q3dlight.h>
#line 26 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/sip/QtDataVisualization/q3dobject.sip"
#include <q3dobject.h>
#line 26 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/sip/QtDataVisualization/q3dscatter.sip"
#include <q3dscatter.h>
#line 26 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/sip/QtDataVisualization/q3dscene.sip"
#include <q3dscene.h>
#line 26 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/sip/QtDataVisualization/q3dsurface.sip"
#include <q3dsurface.h>
#line 26 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/sip/QtDataVisualization/q3dtheme.sip"
#include <q3dtheme.h>
#line 26 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/sip/QtDataVisualization/qabstract3daxis.sip"
#include <qabstract3daxis.h>
#line 26 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/sip/QtDataVisualization/qabstract3dgraph.sip"
#include <qabstract3dgraph.h>
#line 26 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/sip/QtDataVisualization/qabstract3dinputhandler.sip"
#include <qabstract3dinputhandler.h>
#line 26 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/sip/QtDataVisualization/qabstract3dseries.sip"
#include <qabstract3dseries.h>
#line 26 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/sip/QtDataVisualization/qabstractdataproxy.sip"
#include <qabstractdataproxy.h>
#line 32 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/sip/QtDataVisualization/qabstractdataproxy.sip"
#include <qabstractdataproxy.h>
#line 57 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/build/QtDataVisualization/sipQtDataVisualizationQtDataVisualizationQAbstractDataProxy.cpp"

#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 146 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 63 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/build/QtDataVisualization/sipQtDataVisualizationQtDataVisualizationQAbstractDataProxy.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 66 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/build/QtDataVisualization/sipQtDataVisualizationQtDataVisualizationQAbstractDataProxy.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 69 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/build/QtDataVisualization/sipQtDataVisualizationQtDataVisualizationQAbstractDataProxy.cpp"
#line 247 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 72 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/build/QtDataVisualization/sipQtDataVisualizationQtDataVisualizationQAbstractDataProxy.cpp"
#line 235 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 75 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/build/QtDataVisualization/sipQtDataVisualizationQtDataVisualizationQAbstractDataProxy.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qobject.sip"
#include <qobject.h>
#line 78 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/build/QtDataVisualization/sipQtDataVisualizationQtDataVisualizationQAbstractDataProxy.cpp"
#line 27 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 81 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/build/QtDataVisualization/sipQtDataVisualizationQtDataVisualizationQAbstractDataProxy.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 84 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/build/QtDataVisualization/sipQtDataVisualizationQtDataVisualizationQAbstractDataProxy.cpp"
#line 38 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 87 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/build/QtDataVisualization/sipQtDataVisualizationQtDataVisualizationQAbstractDataProxy.cpp"
#line 30 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 90 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/build/QtDataVisualization/sipQtDataVisualizationQtDataVisualizationQAbstractDataProxy.cpp"
#line 149 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 93 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/build/QtDataVisualization/sipQtDataVisualizationQtDataVisualizationQAbstractDataProxy.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 96 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/build/QtDataVisualization/sipQtDataVisualizationQtDataVisualizationQAbstractDataProxy.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 99 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/build/QtDataVisualization/sipQtDataVisualizationQtDataVisualizationQAbstractDataProxy.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 102 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/build/QtDataVisualization/sipQtDataVisualizationQtDataVisualizationQAbstractDataProxy.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qregexp.sip"
#include <qregexp.h>
#line 105 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/build/QtDataVisualization/sipQtDataVisualizationQtDataVisualizationQAbstractDataProxy.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 108 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/build/QtDataVisualization/sipQtDataVisualizationQtDataVisualizationQAbstractDataProxy.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 111 "/build/pyqt5-datavisualization/src/PyQtDataVisualization-5.15.5/build/QtDataVisualization/sipQtDataVisualizationQtDataVisualizationQAbstractDataProxy.cpp"


PyDoc_STRVAR(doc_QtDataVisualization_QAbstractDataProxy_type, "type(self) -> QAbstractDataProxy.DataType");

extern "C" {static PyObject *meth_QtDataVisualization_QAbstractDataProxy_type(PyObject *, PyObject *);}
static PyObject *meth_QtDataVisualization_QAbstractDataProxy_type(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QtDataVisualization::QAbstractDataProxy *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QtDataVisualization_QAbstractDataProxy, &sipCpp))
        {
             ::QtDataVisualization::QAbstractDataProxy::DataType sipRes;

            sipRes = sipCpp->type();

            return sipConvertFromEnum(static_cast<int>(sipRes), sipType_QtDataVisualization_QAbstractDataProxy_DataType);
        }
    }

    sipNoMethod(sipParseErr, sipName_QAbstractDataProxy, sipName_type, doc_QtDataVisualization_QAbstractDataProxy_type);

    return SIP_NULLPTR;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QtDataVisualization_QAbstractDataProxy(void *, const sipTypeDef *);}
static void *cast_QtDataVisualization_QAbstractDataProxy(void *sipCppV, const sipTypeDef *targetType)
{
     ::QtDataVisualization::QAbstractDataProxy *sipCpp = reinterpret_cast< ::QtDataVisualization::QAbstractDataProxy *>(sipCppV);

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return sipCppV;
}


/* Call the instance's destructor. */
extern "C" {static void release_QtDataVisualization_QAbstractDataProxy(void *, int);}
static void release_QtDataVisualization_QAbstractDataProxy(void *sipCppV, int)
{
     ::QtDataVisualization::QAbstractDataProxy *sipCpp = reinterpret_cast< ::QtDataVisualization::QAbstractDataProxy *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QtDataVisualization_QAbstractDataProxy(sipSimpleWrapper *);}
static void dealloc_QtDataVisualization_QAbstractDataProxy(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QtDataVisualization_QAbstractDataProxy(sipGetAddress(sipSelf), 0);
    }
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QtDataVisualization_QAbstractDataProxy[] = {{5, 0, 1}};


static PyMethodDef methods_QtDataVisualization_QAbstractDataProxy[] = {
    {sipName_type, meth_QtDataVisualization_QAbstractDataProxy_type, METH_VARARGS, doc_QtDataVisualization_QAbstractDataProxy_type}
};

static sipEnumMemberDef enummembers_QtDataVisualization_QAbstractDataProxy[] = {
    {sipName_DataTypeBar, static_cast<int>( ::QtDataVisualization::QAbstractDataProxy::DataTypeBar), 45},
    {sipName_DataTypeNone, static_cast<int>( ::QtDataVisualization::QAbstractDataProxy::DataTypeNone), 45},
    {sipName_DataTypeScatter, static_cast<int>( ::QtDataVisualization::QAbstractDataProxy::DataTypeScatter), 45},
    {sipName_DataTypeSurface, static_cast<int>( ::QtDataVisualization::QAbstractDataProxy::DataTypeSurface), 45},
};


static pyqt5ClassPluginDef plugin_QtDataVisualization_QAbstractDataProxy = {
    & ::QtDataVisualization::QAbstractDataProxy::staticMetaObject,
    0,
    SIP_NULLPTR,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtDataVisualization_QtDataVisualization_QAbstractDataProxy = {
    {
        -1,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QtDataVisualization__QAbstractDataProxy,
        SIP_NULLPTR,
        &plugin_QtDataVisualization_QAbstractDataProxy
    },
    {
        sipNameNr_QAbstractDataProxy,
        {0, 0, 1},
        1, methods_QtDataVisualization_QAbstractDataProxy,
        4, enummembers_QtDataVisualization_QAbstractDataProxy,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    SIP_NULLPTR,
    -1,
    -1,
    supers_QtDataVisualization_QAbstractDataProxy,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QtDataVisualization_QAbstractDataProxy,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_QtDataVisualization_QAbstractDataProxy,
    cast_QtDataVisualization_QAbstractDataProxy,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR
};
