/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.7.0
 *
 * Copyright (c) 2022 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt6-DataVisualization.
 * 
 * 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/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/sip/QtDataVisualization/qabstractdataproxy.sip"
#include <qabstractdataproxy.h>
#line 29 "/build/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/build/QtDataVisualization/sipQtDataVisualizationQAbstractDataProxy.cpp"

#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 151 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 35 "/build/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/build/QtDataVisualization/sipQtDataVisualizationQAbstractDataProxy.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 38 "/build/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/build/QtDataVisualization/sipQtDataVisualizationQAbstractDataProxy.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41 "/build/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/build/QtDataVisualization/sipQtDataVisualizationQAbstractDataProxy.cpp"
#line 245 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 44 "/build/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/build/QtDataVisualization/sipQtDataVisualizationQAbstractDataProxy.cpp"
#line 232 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 47 "/build/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/build/QtDataVisualization/sipQtDataVisualizationQAbstractDataProxy.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobject.sip"
#include <qobject.h>
#line 50 "/build/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/build/QtDataVisualization/sipQtDataVisualizationQAbstractDataProxy.cpp"
#line 24 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 53 "/build/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/build/QtDataVisualization/sipQtDataVisualizationQAbstractDataProxy.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qvariant.sip"
#include <qvariant.h>
#line 56 "/build/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/build/QtDataVisualization/sipQtDataVisualizationQAbstractDataProxy.cpp"
#line 28 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 59 "/build/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/build/QtDataVisualization/sipQtDataVisualizationQAbstractDataProxy.cpp"
#line 30 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 62 "/build/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/build/QtDataVisualization/sipQtDataVisualizationQAbstractDataProxy.cpp"
#line 135 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 65 "/build/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/build/QtDataVisualization/sipQtDataVisualizationQAbstractDataProxy.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 150 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 70 "/build/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/build/QtDataVisualization/sipQtDataVisualizationQAbstractDataProxy.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qthread.sip"
#include <qthread.h>
#line 73 "/build/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/build/QtDataVisualization/sipQtDataVisualizationQAbstractDataProxy.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qanystringview.sip"
#include <qanystringview.h>
#line 76 "/build/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/build/QtDataVisualization/sipQtDataVisualizationQAbstractDataProxy.cpp"
#line 25 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qflags.sip"
#include <qglobal.h>
#line 79 "/build/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/build/QtDataVisualization/sipQtDataVisualizationQAbstractDataProxy.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 82 "/build/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/build/QtDataVisualization/sipQtDataVisualizationQAbstractDataProxy.cpp"
#line 26 "/usr/lib/python3.10/site-packages/PyQt6/bindings/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 85 "/build/pyqt6-datavisualization/src/PyQt6_DataVisualization-6.4.0/build/QtDataVisualization/sipQtDataVisualizationQAbstractDataProxy.cpp"


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

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

    {
        const  ::QAbstractDataProxy *sipCpp;

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

            sipRes = sipCpp->type();

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

    sipNoMethod(sipParseErr, sipName_QAbstractDataProxy, sipName_type, doc_QAbstractDataProxy_type);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_QAbstractDataProxy)
        return sipCppV;

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

    return SIP_NULLPTR;
}


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

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


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


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


static PyMethodDef methods_QAbstractDataProxy[] = {
    {sipName_type, meth_QAbstractDataProxy_type, METH_VARARGS, doc_QAbstractDataProxy_type}
};


/* Define the enum members and ints to be added to this type. */
static sipIntInstanceDef intInstances_QAbstractDataProxy[] = {
    {sipName_DataTypeNone, static_cast<int>( ::QAbstractDataProxy::DataTypeNone)},
    {sipName_DataTypeBar, static_cast<int>( ::QAbstractDataProxy::DataTypeBar)},
    {sipName_DataTypeScatter, static_cast<int>( ::QAbstractDataProxy::DataTypeScatter)},
    {sipName_DataTypeSurface, static_cast<int>( ::QAbstractDataProxy::DataTypeSurface)},
    {0, 0}
};


static pyqt6ClassPluginDef plugin_QAbstractDataProxy = {
    & ::QAbstractDataProxy::staticMetaObject,
    SIP_NULLPTR,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtDataVisualization_QAbstractDataProxy = {
    {
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QAbstractDataProxy,
        SIP_NULLPTR,
        &plugin_QAbstractDataProxy
    },
    {
        sipNameNr_QAbstractDataProxy,
        {0, 0, 1},
        1, methods_QAbstractDataProxy,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, intInstances_QAbstractDataProxy, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    SIP_NULLPTR,
    -1,
    -1,
    supers_QAbstractDataProxy,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QAbstractDataProxy,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_QAbstractDataProxy,
    cast_QAbstractDataProxy,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    0,
};
