GCC Code Coverage Report


Directory: ./
File: src/gui/moc_python-decorator.cpp
Date: 2024-12-20 15:53:58
Exec Total Coverage
Lines: 0 70 0.0%
Branches: 0 67 0.0%

Line Branch Exec Source
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'python-decorator.hh'
3 **
4 ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.3)
5 **
6 ** WARNING! All changes made in this file will be lost!
7 *****************************************************************************/
8
9 #include <memory>
10 #include "python-decorator.hh"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'python-decorator.hh' doesn't include <QObject>."
15 #elif Q_MOC_OUTPUT_REVISION != 67
16 #error "This file was generated using the moc from 5.15.3. It"
17 #error "cannot be used with the include files from this version of Qt."
18 #error "(The moc has changed too much.)"
19 #endif
20
21 QT_BEGIN_MOC_NAMESPACE
22 QT_WARNING_PUSH
23 QT_WARNING_DISABLE_DEPRECATED
24 struct qt_meta_stringdata_gepetto__gui__PythonDecorator_t {
25 QByteArrayData data[17];
26 char stringdata0[182];
27 };
28 #define QT_MOC_LITERAL(idx, ofs, len) \
29 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
30 qptrdiff(offsetof(qt_meta_stringdata_gepetto__gui__PythonDecorator_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
33 static const qt_meta_stringdata_gepetto__gui__PythonDecorator_t qt_meta_stringdata_gepetto__gui__PythonDecorator = {
34 {
35 QT_MOC_LITERAL(0, 0, 29), // "gepetto::gui::PythonDecorator"
36 QT_MOC_LITERAL(1, 30, 26), // "static_MainWindow_instance"
37 QT_MOC_LITERAL(2, 57, 11), // "MainWindow*"
38 QT_MOC_LITERAL(3, 69, 0), // ""
39 QT_MOC_LITERAL(4, 70, 10), // "osgWindows"
40 QT_MOC_LITERAL(5, 81, 17), // "QList<OSGWidget*>"
41 QT_MOC_LITERAL(6, 99, 1), // "w"
42 QT_MOC_LITERAL(7, 101, 3), // "osg"
43 QT_MOC_LITERAL(8, 105, 9), // "PyObject*"
44 QT_MOC_LITERAL(9, 115, 11), // "getFromSlot"
45 QT_MOC_LITERAL(10, 127, 11), // "const char*"
46 QT_MOC_LITERAL(11, 139, 4), // "slot"
47 QT_MOC_LITERAL(12, 144, 10), // "createView"
48 QT_MOC_LITERAL(13, 155, 10), // "OSGWidget*"
49 QT_MOC_LITERAL(14, 166, 4), // "name"
50 QT_MOC_LITERAL(15, 171, 8), // "windowID"
51 QT_MOC_LITERAL(16, 180, 1) // "o"
52
53 },
54 "gepetto::gui::PythonDecorator\0"
55 "static_MainWindow_instance\0MainWindow*\0"
56 "\0osgWindows\0QList<OSGWidget*>\0w\0osg\0"
57 "PyObject*\0getFromSlot\0const char*\0"
58 "slot\0createView\0OSGWidget*\0name\0"
59 "windowID\0o"
60 };
61 #undef QT_MOC_LITERAL
62
63 static const uint qt_meta_data_gepetto__gui__PythonDecorator[] = {
64
65 // content:
66 8, // revision
67 0, // classname
68 0, 0, // classinfo
69 6, 14, // methods
70 0, 0, // properties
71 0, 0, // enums/sets
72 0, 0, // constructors
73 0, // flags
74 0, // signalCount
75
76 // slots: name, argc, parameters, tag, flags
77 1, 0, 44, 3, 0x0a /* Public */,
78 4, 1, 45, 3, 0x0a /* Public */,
79 7, 1, 48, 3, 0x0a /* Public */,
80 9, 2, 51, 3, 0x0a /* Public */,
81 12, 2, 56, 3, 0x0a /* Public */,
82 15, 1, 61, 3, 0x0a /* Public */,
83
84 // slots: parameters
85 0x80000000 | 2,
86 0x80000000 | 5, 0x80000000 | 2, 6,
87 0x80000000 | 8, 0x80000000 | 2, 6,
88 QMetaType::QObjectStar, 0x80000000 | 2, 0x80000000 | 10, 6, 11,
89 0x80000000 | 13, 0x80000000 | 2, QMetaType::QString, 6, 14,
90 QMetaType::QString, 0x80000000 | 13, 16,
91
92 0 // eod
93 };
94
95 void gepetto::gui::PythonDecorator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
96 {
97 if (_c == QMetaObject::InvokeMetaMethod) {
98 auto *_t = static_cast<PythonDecorator *>(_o);
99 (void)_t;
100 switch (_id) {
101 case 0: { MainWindow* _r = _t->static_MainWindow_instance();
102 if (_a[0]) *reinterpret_cast< MainWindow**>(_a[0]) = std::move(_r); } break;
103 case 1: { QList<OSGWidget*> _r = _t->osgWindows((*reinterpret_cast< MainWindow*(*)>(_a[1])));
104 if (_a[0]) *reinterpret_cast< QList<OSGWidget*>*>(_a[0]) = std::move(_r); } break;
105 case 2: { PyObject* _r = _t->osg((*reinterpret_cast< MainWindow*(*)>(_a[1])));
106 if (_a[0]) *reinterpret_cast< PyObject**>(_a[0]) = std::move(_r); } break;
107 case 3: { QObject* _r = _t->getFromSlot((*reinterpret_cast< MainWindow*(*)>(_a[1])),(*reinterpret_cast< const char*(*)>(_a[2])));
108 if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = std::move(_r); } break;
109 case 4: { OSGWidget* _r = _t->createView((*reinterpret_cast< MainWindow*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
110 if (_a[0]) *reinterpret_cast< OSGWidget**>(_a[0]) = std::move(_r); } break;
111 case 5: { QString _r = _t->windowID((*reinterpret_cast< OSGWidget*(*)>(_a[1])));
112 if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); } break;
113 default: ;
114 }
115 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
116 switch (_id) {
117 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
118 case 1:
119 switch (*reinterpret_cast<int*>(_a[1])) {
120 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
121 case 0:
122 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< MainWindow* >(); break;
123 }
124 break;
125 case 2:
126 switch (*reinterpret_cast<int*>(_a[1])) {
127 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
128 case 0:
129 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< MainWindow* >(); break;
130 }
131 break;
132 case 3:
133 switch (*reinterpret_cast<int*>(_a[1])) {
134 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
135 case 0:
136 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< MainWindow* >(); break;
137 }
138 break;
139 case 4:
140 switch (*reinterpret_cast<int*>(_a[1])) {
141 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
142 case 0:
143 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< MainWindow* >(); break;
144 }
145 break;
146 case 5:
147 switch (*reinterpret_cast<int*>(_a[1])) {
148 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
149 case 0:
150 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< OSGWidget* >(); break;
151 }
152 break;
153 }
154 }
155 }
156
157 QT_INIT_METAOBJECT const QMetaObject gepetto::gui::PythonDecorator::staticMetaObject = { {
158 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
159 qt_meta_stringdata_gepetto__gui__PythonDecorator.data,
160 qt_meta_data_gepetto__gui__PythonDecorator,
161 qt_static_metacall,
162 nullptr,
163 nullptr
164 } };
165
166
167 const QMetaObject *gepetto::gui::PythonDecorator::metaObject() const
168 {
169 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
170 }
171
172 void *gepetto::gui::PythonDecorator::qt_metacast(const char *_clname)
173 {
174 if (!_clname) return nullptr;
175 if (!strcmp(_clname, qt_meta_stringdata_gepetto__gui__PythonDecorator.stringdata0))
176 return static_cast<void*>(this);
177 return QObject::qt_metacast(_clname);
178 }
179
180 int gepetto::gui::PythonDecorator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
181 {
182 _id = QObject::qt_metacall(_c, _id, _a);
183 if (_id < 0)
184 return _id;
185 if (_c == QMetaObject::InvokeMetaMethod) {
186 if (_id < 6)
187 qt_static_metacall(this, _c, _id, _a);
188 _id -= 6;
189 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
190 if (_id < 6)
191 qt_static_metacall(this, _c, _id, _a);
192 _id -= 6;
193 }
194 return _id;
195 }
196 QT_WARNING_POP
197 QT_END_MOC_NAMESPACE
198