/****************************************************************************
** Meta object code from reading C++ file 'qabstractattribute.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.5.1)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../../src/qt3d-opensource-src-5.5.1/src/core/io/qabstractattribute.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qabstractattribute.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.1. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
struct qt_meta_stringdata_Qt3D__QAbstractAttribute_t {
    QByteArrayData data[34];
    char stringdata0[403];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3D__QAbstractAttribute_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3D__QAbstractAttribute_t qt_meta_stringdata_Qt3D__QAbstractAttribute = {
    {
QT_MOC_LITERAL(0, 0, 24), // "Qt3D::QAbstractAttribute"
QT_MOC_LITERAL(1, 25, 13), // "bufferChanged"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 11), // "nameChanged"
QT_MOC_LITERAL(4, 52, 15), // "dataTypeChanged"
QT_MOC_LITERAL(5, 68, 15), // "dataSizeChanged"
QT_MOC_LITERAL(6, 84, 12), // "countChanged"
QT_MOC_LITERAL(7, 97, 17), // "byteStrideChanged"
QT_MOC_LITERAL(8, 115, 17), // "byteOffsetChanged"
QT_MOC_LITERAL(9, 133, 14), // "divisorChanged"
QT_MOC_LITERAL(10, 148, 20), // "attributeTypeChanged"
QT_MOC_LITERAL(11, 169, 6), // "buffer"
QT_MOC_LITERAL(12, 176, 22), // "Qt3D::QAbstractBuffer*"
QT_MOC_LITERAL(13, 199, 4), // "name"
QT_MOC_LITERAL(14, 204, 8), // "dataType"
QT_MOC_LITERAL(15, 213, 8), // "DataType"
QT_MOC_LITERAL(16, 222, 8), // "dataSize"
QT_MOC_LITERAL(17, 231, 5), // "count"
QT_MOC_LITERAL(18, 237, 10), // "byteStride"
QT_MOC_LITERAL(19, 248, 10), // "byteOffset"
QT_MOC_LITERAL(20, 259, 7), // "divisor"
QT_MOC_LITERAL(21, 267, 13), // "attributeType"
QT_MOC_LITERAL(22, 281, 13), // "AttributeType"
QT_MOC_LITERAL(23, 295, 15), // "VertexAttribute"
QT_MOC_LITERAL(24, 311, 14), // "IndexAttribute"
QT_MOC_LITERAL(25, 326, 4), // "Byte"
QT_MOC_LITERAL(26, 331, 12), // "UnsignedByte"
QT_MOC_LITERAL(27, 344, 5), // "Short"
QT_MOC_LITERAL(28, 350, 13), // "UnsignedShort"
QT_MOC_LITERAL(29, 364, 3), // "Int"
QT_MOC_LITERAL(30, 368, 11), // "UnsignedInt"
QT_MOC_LITERAL(31, 380, 9), // "HalfFloat"
QT_MOC_LITERAL(32, 390, 5), // "Float"
QT_MOC_LITERAL(33, 396, 6) // "Double"

    },
    "Qt3D::QAbstractAttribute\0bufferChanged\0"
    "\0nameChanged\0dataTypeChanged\0"
    "dataSizeChanged\0countChanged\0"
    "byteStrideChanged\0byteOffsetChanged\0"
    "divisorChanged\0attributeTypeChanged\0"
    "buffer\0Qt3D::QAbstractBuffer*\0name\0"
    "dataType\0DataType\0dataSize\0count\0"
    "byteStride\0byteOffset\0divisor\0"
    "attributeType\0AttributeType\0VertexAttribute\0"
    "IndexAttribute\0Byte\0UnsignedByte\0Short\0"
    "UnsignedShort\0Int\0UnsignedInt\0HalfFloat\0"
    "Float\0Double"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3D__QAbstractAttribute[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       9,   14, // methods
       9,   68, // properties
       2,  104, // enums/sets
       0,    0, // constructors
       0,       // flags
       9,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   59,    2, 0x06 /* Public */,
       3,    0,   60,    2, 0x06 /* Public */,
       4,    0,   61,    2, 0x06 /* Public */,
       5,    0,   62,    2, 0x06 /* Public */,
       6,    0,   63,    2, 0x06 /* Public */,
       7,    0,   64,    2, 0x06 /* Public */,
       8,    0,   65,    2, 0x06 /* Public */,
       9,    0,   66,    2, 0x06 /* Public */,
      10,    0,   67,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      11, 0x80000000 | 12, 0x0049510b,
      13, QMetaType::QString, 0x00495103,
      14, 0x80000000 | 15, 0x0049510b,
      16, QMetaType::UInt, 0x00495103,
      17, QMetaType::UInt, 0x00495103,
      18, QMetaType::UInt, 0x00495103,
      19, QMetaType::UInt, 0x00495103,
      20, QMetaType::UInt, 0x00495103,
      21, 0x80000000 | 22, 0x0049510b,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,
       6,
       7,
       8,

 // enums: name, flags, count, data
      22, 0x0,    2,  112,
      15, 0x0,    9,  116,

 // enum data: key, value
      23, uint(Qt3D::QAbstractAttribute::VertexAttribute),
      24, uint(Qt3D::QAbstractAttribute::IndexAttribute),
      25, uint(Qt3D::QAbstractAttribute::Byte),
      26, uint(Qt3D::QAbstractAttribute::UnsignedByte),
      27, uint(Qt3D::QAbstractAttribute::Short),
      28, uint(Qt3D::QAbstractAttribute::UnsignedShort),
      29, uint(Qt3D::QAbstractAttribute::Int),
      30, uint(Qt3D::QAbstractAttribute::UnsignedInt),
      31, uint(Qt3D::QAbstractAttribute::HalfFloat),
      32, uint(Qt3D::QAbstractAttribute::Float),
      33, uint(Qt3D::QAbstractAttribute::Double),

       0        // eod
};

void Qt3D::QAbstractAttribute::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QAbstractAttribute *_t = static_cast<QAbstractAttribute *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->bufferChanged(); break;
        case 1: _t->nameChanged(); break;
        case 2: _t->dataTypeChanged(); break;
        case 3: _t->dataSizeChanged(); break;
        case 4: _t->countChanged(); break;
        case 5: _t->byteStrideChanged(); break;
        case 6: _t->byteOffsetChanged(); break;
        case 7: _t->divisorChanged(); break;
        case 8: _t->attributeTypeChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QAbstractAttribute::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QAbstractAttribute::bufferChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QAbstractAttribute::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QAbstractAttribute::nameChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (QAbstractAttribute::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QAbstractAttribute::dataTypeChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (QAbstractAttribute::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QAbstractAttribute::dataSizeChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (QAbstractAttribute::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QAbstractAttribute::countChanged)) {
                *result = 4;
            }
        }
        {
            typedef void (QAbstractAttribute::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QAbstractAttribute::byteStrideChanged)) {
                *result = 5;
            }
        }
        {
            typedef void (QAbstractAttribute::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QAbstractAttribute::byteOffsetChanged)) {
                *result = 6;
            }
        }
        {
            typedef void (QAbstractAttribute::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QAbstractAttribute::divisorChanged)) {
                *result = 7;
            }
        }
        {
            typedef void (QAbstractAttribute::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QAbstractAttribute::attributeTypeChanged)) {
                *result = 8;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QAbstractAttribute *_t = static_cast<QAbstractAttribute *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Qt3D::QAbstractBuffer**>(_v) = _t->buffer(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->name(); break;
        case 2: *reinterpret_cast< DataType*>(_v) = _t->dataType(); break;
        case 3: *reinterpret_cast< uint*>(_v) = _t->dataSize(); break;
        case 4: *reinterpret_cast< uint*>(_v) = _t->count(); break;
        case 5: *reinterpret_cast< uint*>(_v) = _t->byteStride(); break;
        case 6: *reinterpret_cast< uint*>(_v) = _t->byteOffset(); break;
        case 7: *reinterpret_cast< uint*>(_v) = _t->divisor(); break;
        case 8: *reinterpret_cast< AttributeType*>(_v) = _t->attributeType(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QAbstractAttribute *_t = static_cast<QAbstractAttribute *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setBuffer(*reinterpret_cast< Qt3D::QAbstractBuffer**>(_v)); break;
        case 1: _t->setName(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setDataType(*reinterpret_cast< DataType*>(_v)); break;
        case 3: _t->setDataSize(*reinterpret_cast< uint*>(_v)); break;
        case 4: _t->setCount(*reinterpret_cast< uint*>(_v)); break;
        case 5: _t->setByteStride(*reinterpret_cast< uint*>(_v)); break;
        case 6: _t->setByteOffset(*reinterpret_cast< uint*>(_v)); break;
        case 7: _t->setDivisor(*reinterpret_cast< uint*>(_v)); break;
        case 8: _t->setAttributeType(*reinterpret_cast< AttributeType*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    Q_UNUSED(_a);
}

const QMetaObject Qt3D::QAbstractAttribute::staticMetaObject = {
    { &QNode::staticMetaObject, qt_meta_stringdata_Qt3D__QAbstractAttribute.data,
      qt_meta_data_Qt3D__QAbstractAttribute,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


const QMetaObject *Qt3D::QAbstractAttribute::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *Qt3D::QAbstractAttribute::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Qt3D__QAbstractAttribute.stringdata0))
        return static_cast<void*>(const_cast< QAbstractAttribute*>(this));
    return QNode::qt_metacast(_clname);
}

int Qt3D::QAbstractAttribute::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QNode::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 9;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 9;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Qt3D::QAbstractAttribute::bufferChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void Qt3D::QAbstractAttribute::nameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void Qt3D::QAbstractAttribute::dataTypeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void Qt3D::QAbstractAttribute::dataSizeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void Qt3D::QAbstractAttribute::countChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

// SIGNAL 5
void Qt3D::QAbstractAttribute::byteStrideChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}

// SIGNAL 6
void Qt3D::QAbstractAttribute::byteOffsetChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
}

// SIGNAL 7
void Qt3D::QAbstractAttribute::divisorChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
}

// SIGNAL 8
void Qt3D::QAbstractAttribute::attributeTypeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
