/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.5.0
 *
 * Copyright (c) 2021 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt3D.
 * 
 * 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 "sipAPIQt3DAnimation.h"

#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qabstractanimationclip.sip"
#include <qabstractanimationclip.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qabstractchannelmapping.sip"
#include <qabstractchannelmapping.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qabstractclipanimator.sip"
#include <qabstractclipanimator.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qabstractclipblendnode.sip"
#include <qabstractclipblendnode.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qadditiveclipblend.sip"
#include <qadditiveclipblend.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qanimationaspect.sip"
#include <qanimationaspect.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qanimationclip.sip"
#include <qanimationclip.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qanimationclipdata.sip"
#include <qanimationclipdata.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qanimationcliploader.sip"
#include <qanimationcliploader.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qanimationcontroller.sip"
#include <qanimationcontroller.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qblendedclipanimator.sip"
#include <qblendedclipanimator.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qchannel.sip"
#include <qchannel.h>
#line 34 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qchannel.sip"
#include <qchannel.h>
#line 57 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DAnimation/sipQt3DAnimationQt3DAnimationQChannel.cpp"

#line 27 "/usr/lib/python3.10/site-packages/PyQt5/bindings/QtCore/qstring.sip"
#include <qstring.h>
#line 61 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DAnimation/sipQt3DAnimationQt3DAnimationQChannel.cpp"
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qabstractanimation.sip"
#include <qabstractanimation.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qabstractanimationclip.sip"
#include <qabstractanimationclip.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qabstractchannelmapping.sip"
#include <qabstractchannelmapping.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qabstractclipanimator.sip"
#include <qabstractclipanimator.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qabstractclipblendnode.sip"
#include <qabstractclipblendnode.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qadditiveclipblend.sip"
#include <qadditiveclipblend.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qanimationaspect.sip"
#include <qanimationaspect.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qanimationclip.sip"
#include <qanimationclip.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qanimationclipdata.sip"
#include <qanimationclipdata.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qanimationcliploader.sip"
#include <qanimationcliploader.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qanimationcontroller.sip"
#include <qanimationcontroller.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qanimationgroup.sip"
#include <qanimationgroup.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qblendedclipanimator.sip"
#include <qblendedclipanimator.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qchannel.sip"
#include <qchannel.h>
#line 28 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qchannelcomponent.sip"
#include <qchannelcomponent.h>
#line 34 "/build/pyqt5-3d/src/PyQt3D-5.15.5/sip/Qt3DAnimation/qchannelcomponent.sip"
#include <qchannelcomponent.h>
#line 94 "/build/pyqt5-3d/src/PyQt3D-5.15.5/build/Qt3DAnimation/sipQt3DAnimationQt3DAnimationQChannel.cpp"


PyDoc_STRVAR(doc_Qt3DAnimation_QChannel_setName, "setName(self, str)");

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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::Qt3DAnimation::QChannel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_Qt3DAnimation_QChannel, &sipCpp, sipType_QString, &a0, &a0State))
        {
            sipCpp->setName(*a0);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QChannel, sipName_setName, doc_Qt3DAnimation_QChannel_setName);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_Qt3DAnimation_QChannel_name, "name(self) -> str");

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

    {
        const  ::Qt3DAnimation::QChannel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Qt3DAnimation_QChannel, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->name());

            return sipConvertFromNewType(sipRes,sipType_QString,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QChannel, sipName_name, doc_Qt3DAnimation_QChannel_name);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_Qt3DAnimation_QChannel_setJointIndex, "setJointIndex(self, int)");

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

    {
        int a0;
         ::Qt3DAnimation::QChannel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Qt3DAnimation_QChannel, &sipCpp, &a0))
        {
            sipCpp->setJointIndex(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QChannel, sipName_setJointIndex, doc_Qt3DAnimation_QChannel_setJointIndex);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_Qt3DAnimation_QChannel_jointIndex, "jointIndex(self) -> int");

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

    {
        const  ::Qt3DAnimation::QChannel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Qt3DAnimation_QChannel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->jointIndex();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QChannel, sipName_jointIndex, doc_Qt3DAnimation_QChannel_jointIndex);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_Qt3DAnimation_QChannel_channelComponentCount, "channelComponentCount(self) -> int");

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

    {
        const  ::Qt3DAnimation::QChannel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Qt3DAnimation_QChannel, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->channelComponentCount();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QChannel, sipName_channelComponentCount, doc_Qt3DAnimation_QChannel_channelComponentCount);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_Qt3DAnimation_QChannel_appendChannelComponent, "appendChannelComponent(self, QChannelComponent)");

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

    {
        const  ::Qt3DAnimation::QChannelComponent* a0;
         ::Qt3DAnimation::QChannel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_Qt3DAnimation_QChannel, &sipCpp, sipType_Qt3DAnimation_QChannelComponent, &a0))
        {
            sipCpp->appendChannelComponent(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QChannel, sipName_appendChannelComponent, doc_Qt3DAnimation_QChannel_appendChannelComponent);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_Qt3DAnimation_QChannel_insertChannelComponent, "insertChannelComponent(self, int, QChannelComponent)");

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

    {
        int a0;
        const  ::Qt3DAnimation::QChannelComponent* a1;
         ::Qt3DAnimation::QChannel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BiJ9", &sipSelf, sipType_Qt3DAnimation_QChannel, &sipCpp, &a0, sipType_Qt3DAnimation_QChannelComponent, &a1))
        {
            sipCpp->insertChannelComponent(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QChannel, sipName_insertChannelComponent, doc_Qt3DAnimation_QChannel_insertChannelComponent);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_Qt3DAnimation_QChannel_removeChannelComponent, "removeChannelComponent(self, int)");

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

    {
        int a0;
         ::Qt3DAnimation::QChannel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_Qt3DAnimation_QChannel, &sipCpp, &a0))
        {
            sipCpp->removeChannelComponent(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QChannel, sipName_removeChannelComponent, doc_Qt3DAnimation_QChannel_removeChannelComponent);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_Qt3DAnimation_QChannel_clearChannelComponents, "clearChannelComponents(self)");

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

    {
         ::Qt3DAnimation::QChannel *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_Qt3DAnimation_QChannel, &sipCpp))
        {
            sipCpp->clearChannelComponents();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QChannel, sipName_clearChannelComponents, doc_Qt3DAnimation_QChannel_clearChannelComponents);

    return SIP_NULLPTR;
}


/* Call the instance's destructor. */
extern "C" {static void release_Qt3DAnimation_QChannel(void *, int);}
static void release_Qt3DAnimation_QChannel(void *sipCppV, int)
{
    delete reinterpret_cast< ::Qt3DAnimation::QChannel *>(sipCppV);
}


extern "C" {static void *array_Qt3DAnimation_QChannel(Py_ssize_t);}
static void *array_Qt3DAnimation_QChannel(Py_ssize_t sipNrElem)
{
    return new  ::Qt3DAnimation::QChannel[sipNrElem];
}


extern "C" {static void assign_Qt3DAnimation_QChannel(void *, Py_ssize_t, void *);}
static void assign_Qt3DAnimation_QChannel(void *sipDst, Py_ssize_t sipDstIdx, void *sipSrc)
{
    reinterpret_cast< ::Qt3DAnimation::QChannel *>(sipDst)[sipDstIdx] = *reinterpret_cast< ::Qt3DAnimation::QChannel *>(sipSrc);
}


extern "C" {static void *copy_Qt3DAnimation_QChannel(const void *, Py_ssize_t);}
static void *copy_Qt3DAnimation_QChannel(const void *sipSrc, Py_ssize_t sipSrcIdx)
{
    return new  ::Qt3DAnimation::QChannel(reinterpret_cast<const  ::Qt3DAnimation::QChannel *>(sipSrc)[sipSrcIdx]);
}


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


extern "C" {static void *init_type_Qt3DAnimation_QChannel(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_Qt3DAnimation_QChannel(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::Qt3DAnimation::QChannel *sipCpp = SIP_NULLPTR;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
        {
            sipCpp = new  ::Qt3DAnimation::QChannel();

            return sipCpp;
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, "J1", sipType_QString, &a0, &a0State))
        {
            sipCpp = new  ::Qt3DAnimation::QChannel(*a0);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            return sipCpp;
        }
    }

    {
        const  ::Qt3DAnimation::QChannel* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, "J9", sipType_Qt3DAnimation_QChannel, &a0))
        {
            sipCpp = new  ::Qt3DAnimation::QChannel(*a0);

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


static PyMethodDef methods_Qt3DAnimation_QChannel[] = {
    {sipName_appendChannelComponent, meth_Qt3DAnimation_QChannel_appendChannelComponent, METH_VARARGS, doc_Qt3DAnimation_QChannel_appendChannelComponent},
    {sipName_channelComponentCount, meth_Qt3DAnimation_QChannel_channelComponentCount, METH_VARARGS, doc_Qt3DAnimation_QChannel_channelComponentCount},
    {sipName_clearChannelComponents, meth_Qt3DAnimation_QChannel_clearChannelComponents, METH_VARARGS, doc_Qt3DAnimation_QChannel_clearChannelComponents},
    {sipName_insertChannelComponent, meth_Qt3DAnimation_QChannel_insertChannelComponent, METH_VARARGS, doc_Qt3DAnimation_QChannel_insertChannelComponent},
    {sipName_jointIndex, meth_Qt3DAnimation_QChannel_jointIndex, METH_VARARGS, doc_Qt3DAnimation_QChannel_jointIndex},
    {sipName_name, meth_Qt3DAnimation_QChannel_name, METH_VARARGS, doc_Qt3DAnimation_QChannel_name},
    {sipName_removeChannelComponent, meth_Qt3DAnimation_QChannel_removeChannelComponent, METH_VARARGS, doc_Qt3DAnimation_QChannel_removeChannelComponent},
    {sipName_setJointIndex, meth_Qt3DAnimation_QChannel_setJointIndex, METH_VARARGS, doc_Qt3DAnimation_QChannel_setJointIndex},
    {sipName_setName, meth_Qt3DAnimation_QChannel_setName, METH_VARARGS, doc_Qt3DAnimation_QChannel_setName}
};

PyDoc_STRVAR(doc_Qt3DAnimation_QChannel, "\1QChannel()\n"
"QChannel(str)\n"
"QChannel(QChannel)");


static pyqt5ClassPluginDef plugin_Qt3DAnimation_QChannel = {
    SIP_NULLPTR,
    0,
    SIP_NULLPTR,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_Qt3DAnimation_Qt3DAnimation_QChannel = {
    {
        -1,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_Qt3DAnimation__QChannel,
        SIP_NULLPTR,
        &plugin_Qt3DAnimation_QChannel
    },
    {
        sipNameNr_QChannel,
        {0, 0, 1},
        9, methods_Qt3DAnimation_QChannel,
        0, SIP_NULLPTR,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_Qt3DAnimation_QChannel,
    -1,
    sipNameNr_sip_simplewrapper,
    SIP_NULLPTR,
    SIP_NULLPTR,
    init_type_Qt3DAnimation_QChannel,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_Qt3DAnimation_QChannel,
    assign_Qt3DAnimation_QChannel,
    array_Qt3DAnimation_QChannel,
    copy_Qt3DAnimation_QChannel,
    release_Qt3DAnimation_QChannel,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR
};
