GCC Code Coverage Report


Directory: ./
File: src/gepetto-viewer_autogen/MXCW23JUXT/moc_node-property.cpp
Date: 2024-12-20 15:53:58
Exec Total Coverage
Lines: 4 174 2.3%
Branches: 1 208 0.5%

Line Branch Exec Source
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'node-property.h'
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 "../../../include/gepetto/viewer/node-property.h"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'node-property.h' 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__viewer__Property_t {
25 QByteArrayData data[10];
26 char stringdata0[105];
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__viewer__Property_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
33 static const qt_meta_stringdata_gepetto__viewer__Property_t qt_meta_stringdata_gepetto__viewer__Property = {
34 {
35 QT_MOC_LITERAL(0, 0, 25), // "gepetto::viewer::Property"
36 QT_MOC_LITERAL(1, 26, 12), // "valueChanged"
37 QT_MOC_LITERAL(2, 39, 0), // ""
38 QT_MOC_LITERAL(3, 40, 1), // "v"
39 QT_MOC_LITERAL(4, 42, 11), // "std::string"
40 QT_MOC_LITERAL(5, 54, 10), // "osgVector2"
41 QT_MOC_LITERAL(6, 65, 10), // "osgVector3"
42 QT_MOC_LITERAL(7, 76, 10), // "osgVector4"
43 QT_MOC_LITERAL(8, 87, 13), // "Configuration"
44 QT_MOC_LITERAL(9, 101, 3) // "set"
45
46 },
47 "gepetto::viewer::Property\0valueChanged\0"
48 "\0v\0std::string\0osgVector2\0osgVector3\0"
49 "osgVector4\0Configuration\0set"
50 };
51 #undef QT_MOC_LITERAL
52
53 static const uint qt_meta_data_gepetto__viewer__Property[] = {
54
55 // content:
56 8, // revision
57 0, // classname
58 0, 0, // classinfo
59 24, 14, // methods
60 0, 0, // properties
61 0, 0, // enums/sets
62 0, 0, // constructors
63 0, // flags
64 12, // signalCount
65
66 // signals: name, argc, parameters, tag, flags
67 1, 0, 134, 2, 0x06 /* Public */,
68 1, 1, 135, 2, 0x06 /* Public */,
69 1, 1, 138, 2, 0x06 /* Public */,
70 1, 1, 141, 2, 0x06 /* Public */,
71 1, 1, 144, 2, 0x06 /* Public */,
72 1, 1, 147, 2, 0x06 /* Public */,
73 1, 1, 150, 2, 0x06 /* Public */,
74 1, 1, 153, 2, 0x06 /* Public */,
75 1, 1, 156, 2, 0x06 /* Public */,
76 1, 1, 159, 2, 0x06 /* Public */,
77 1, 1, 162, 2, 0x06 /* Public */,
78 1, 1, 165, 2, 0x06 /* Public */,
79
80 // slots: name, argc, parameters, tag, flags
81 9, 0, 168, 2, 0x0a /* Public */,
82 9, 1, 169, 2, 0x0a /* Public */,
83 9, 1, 172, 2, 0x0a /* Public */,
84 9, 1, 175, 2, 0x0a /* Public */,
85 9, 1, 178, 2, 0x0a /* Public */,
86 9, 1, 181, 2, 0x0a /* Public */,
87 9, 1, 184, 2, 0x0a /* Public */,
88 9, 1, 187, 2, 0x0a /* Public */,
89 9, 1, 190, 2, 0x0a /* Public */,
90 9, 1, 193, 2, 0x0a /* Public */,
91 9, 1, 196, 2, 0x0a /* Public */,
92 9, 1, 199, 2, 0x0a /* Public */,
93
94 // signals: parameters
95 QMetaType::Void,
96 QMetaType::Void, QMetaType::Bool, 3,
97 QMetaType::Void, QMetaType::Int, 3,
98 QMetaType::Void, QMetaType::Float, 3,
99 QMetaType::Void, 0x80000000 | 4, 3,
100 QMetaType::Void, 0x80000000 | 5, 3,
101 QMetaType::Void, 0x80000000 | 6, 3,
102 QMetaType::Void, 0x80000000 | 7, 3,
103 QMetaType::Void, 0x80000000 | 8, 3,
104 QMetaType::Void, QMetaType::Double, 3,
105 QMetaType::Void, QMetaType::QString, 3,
106 QMetaType::Void, QMetaType::QColor, 3,
107
108 // slots: parameters
109 QMetaType::Bool,
110 QMetaType::Bool, QMetaType::Bool, 3,
111 QMetaType::Bool, QMetaType::Int, 3,
112 QMetaType::Bool, QMetaType::Float, 3,
113 QMetaType::Bool, 0x80000000 | 4, 3,
114 QMetaType::Bool, 0x80000000 | 5, 3,
115 QMetaType::Bool, 0x80000000 | 6, 3,
116 QMetaType::Bool, 0x80000000 | 7, 3,
117 QMetaType::Bool, 0x80000000 | 8, 3,
118 QMetaType::Bool, QMetaType::Double, 3,
119 QMetaType::Bool, QMetaType::QString, 3,
120 QMetaType::Bool, QMetaType::QColor, 3,
121
122 0 // eod
123 };
124
125 void gepetto::viewer::Property::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
126 {
127 if (_c == QMetaObject::InvokeMetaMethod) {
128 auto *_t = static_cast<Property *>(_o);
129 (void)_t;
130 switch (_id) {
131 case 0: _t->valueChanged(); break;
132 case 1: _t->valueChanged((*reinterpret_cast< const bool(*)>(_a[1]))); break;
133 case 2: _t->valueChanged((*reinterpret_cast< const int(*)>(_a[1]))); break;
134 case 3: _t->valueChanged((*reinterpret_cast< const float(*)>(_a[1]))); break;
135 case 4: _t->valueChanged((*reinterpret_cast< const std::string(*)>(_a[1]))); break;
136 case 5: _t->valueChanged((*reinterpret_cast< const osgVector2(*)>(_a[1]))); break;
137 case 6: _t->valueChanged((*reinterpret_cast< const osgVector3(*)>(_a[1]))); break;
138 case 7: _t->valueChanged((*reinterpret_cast< const osgVector4(*)>(_a[1]))); break;
139 case 8: _t->valueChanged((*reinterpret_cast< const Configuration(*)>(_a[1]))); break;
140 case 9: _t->valueChanged((*reinterpret_cast< const double(*)>(_a[1]))); break;
141 case 10: _t->valueChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
142 case 11: _t->valueChanged((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
143 case 12: { bool _r = _t->set();
144 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
145 case 13: { bool _r = _t->set((*reinterpret_cast< const bool(*)>(_a[1])));
146 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
147 case 14: { bool _r = _t->set((*reinterpret_cast< const int(*)>(_a[1])));
148 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
149 case 15: { bool _r = _t->set((*reinterpret_cast< const float(*)>(_a[1])));
150 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
151 case 16: { bool _r = _t->set((*reinterpret_cast< const std::string(*)>(_a[1])));
152 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
153 case 17: { bool _r = _t->set((*reinterpret_cast< const osgVector2(*)>(_a[1])));
154 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
155 case 18: { bool _r = _t->set((*reinterpret_cast< const osgVector3(*)>(_a[1])));
156 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
157 case 19: { bool _r = _t->set((*reinterpret_cast< const osgVector4(*)>(_a[1])));
158 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
159 case 20: { bool _r = _t->set((*reinterpret_cast< const Configuration(*)>(_a[1])));
160 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
161 case 21: { bool _r = _t->set((*reinterpret_cast< const double(*)>(_a[1])));
162 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
163 case 22: { bool _r = _t->set((*reinterpret_cast< const QString(*)>(_a[1])));
164 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
165 case 23: { bool _r = _t->set((*reinterpret_cast< const QColor(*)>(_a[1])));
166 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
167 default: ;
168 }
169 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
170 switch (_id) {
171 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
172 case 5:
173 switch (*reinterpret_cast<int*>(_a[1])) {
174 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
175 case 0:
176 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< osgVector2 >(); break;
177 }
178 break;
179 case 6:
180 switch (*reinterpret_cast<int*>(_a[1])) {
181 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
182 case 0:
183 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< osgVector3 >(); break;
184 }
185 break;
186 case 7:
187 switch (*reinterpret_cast<int*>(_a[1])) {
188 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
189 case 0:
190 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< osgVector4 >(); break;
191 }
192 break;
193 case 17:
194 switch (*reinterpret_cast<int*>(_a[1])) {
195 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
196 case 0:
197 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< osgVector2 >(); break;
198 }
199 break;
200 case 18:
201 switch (*reinterpret_cast<int*>(_a[1])) {
202 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
203 case 0:
204 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< osgVector3 >(); break;
205 }
206 break;
207 case 19:
208 switch (*reinterpret_cast<int*>(_a[1])) {
209 default: *reinterpret_cast<int*>(_a[0]) = -1; break;
210 case 0:
211 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< osgVector4 >(); break;
212 }
213 break;
214 }
215 } else if (_c == QMetaObject::IndexOfMethod) {
216 int *result = reinterpret_cast<int *>(_a[0]);
217 {
218 using _t = void (Property::*)();
219 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
220 *result = 0;
221 return;
222 }
223 }
224 {
225 using _t = void (Property::*)(const bool & );
226 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
227 *result = 1;
228 return;
229 }
230 }
231 {
232 using _t = void (Property::*)(const int & );
233 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
234 *result = 2;
235 return;
236 }
237 }
238 {
239 using _t = void (Property::*)(const float & );
240 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
241 *result = 3;
242 return;
243 }
244 }
245 {
246 using _t = void (Property::*)(const std::string & );
247 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
248 *result = 4;
249 return;
250 }
251 }
252 {
253 using _t = void (Property::*)(const osgVector2 & );
254 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
255 *result = 5;
256 return;
257 }
258 }
259 {
260 using _t = void (Property::*)(const osgVector3 & );
261 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
262 *result = 6;
263 return;
264 }
265 }
266 {
267 using _t = void (Property::*)(const osgVector4 & );
268 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
269 *result = 7;
270 return;
271 }
272 }
273 {
274 using _t = void (Property::*)(const Configuration & );
275 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
276 *result = 8;
277 return;
278 }
279 }
280 {
281 using _t = void (Property::*)(const double & );
282 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
283 *result = 9;
284 return;
285 }
286 }
287 {
288 using _t = void (Property::*)(const QString & );
289 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
290 *result = 10;
291 return;
292 }
293 }
294 {
295 using _t = void (Property::*)(const QColor & );
296 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Property::valueChanged)) {
297 *result = 11;
298 return;
299 }
300 }
301 }
302 }
303
304 QT_INIT_METAOBJECT const QMetaObject gepetto::viewer::Property::staticMetaObject = { {
305 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
306 qt_meta_stringdata_gepetto__viewer__Property.data,
307 qt_meta_data_gepetto__viewer__Property,
308 qt_static_metacall,
309 nullptr,
310 nullptr
311 } };
312
313
314 const QMetaObject *gepetto::viewer::Property::metaObject() const
315 {
316 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
317 }
318
319 void *gepetto::viewer::Property::qt_metacast(const char *_clname)
320 {
321 if (!_clname) return nullptr;
322 if (!strcmp(_clname, qt_meta_stringdata_gepetto__viewer__Property.stringdata0))
323 return static_cast<void*>(this);
324 return QObject::qt_metacast(_clname);
325 }
326
327 int gepetto::viewer::Property::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
328 {
329 _id = QObject::qt_metacall(_c, _id, _a);
330 if (_id < 0)
331 return _id;
332 if (_c == QMetaObject::InvokeMetaMethod) {
333 if (_id < 24)
334 qt_static_metacall(this, _c, _id, _a);
335 _id -= 24;
336 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
337 if (_id < 24)
338 qt_static_metacall(this, _c, _id, _a);
339 _id -= 24;
340 }
341 return _id;
342 }
343
344 // SIGNAL 0
345 void gepetto::viewer::Property::valueChanged()
346 {
347 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
348 }
349
350 // SIGNAL 1
351 void gepetto::viewer::Property::valueChanged(const bool & _t1)
352 {
353 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
354 QMetaObject::activate(this, &staticMetaObject, 1, _a);
355 }
356
357 // SIGNAL 2
358 void gepetto::viewer::Property::valueChanged(const int & _t1)
359 {
360 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
361 QMetaObject::activate(this, &staticMetaObject, 2, _a);
362 }
363
364 // SIGNAL 3
365 void gepetto::viewer::Property::valueChanged(const float & _t1)
366 {
367 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
368 QMetaObject::activate(this, &staticMetaObject, 3, _a);
369 }
370
371 // SIGNAL 4
372 void gepetto::viewer::Property::valueChanged(const std::string & _t1)
373 {
374 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
375 QMetaObject::activate(this, &staticMetaObject, 4, _a);
376 }
377
378 // SIGNAL 5
379 void gepetto::viewer::Property::valueChanged(const osgVector2 & _t1)
380 {
381 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
382 QMetaObject::activate(this, &staticMetaObject, 5, _a);
383 }
384
385 // SIGNAL 6
386 void gepetto::viewer::Property::valueChanged(const osgVector3 & _t1)
387 {
388 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
389 QMetaObject::activate(this, &staticMetaObject, 6, _a);
390 }
391
392 // SIGNAL 7
393 void gepetto::viewer::Property::valueChanged(const osgVector4 & _t1)
394 {
395 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
396 QMetaObject::activate(this, &staticMetaObject, 7, _a);
397 }
398
399 // SIGNAL 8
400 3 void gepetto::viewer::Property::valueChanged(const Configuration & _t1)
401 {
402 3 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
403
1/2
✓ Branch 1 taken 3 times.
✗ Branch 2 not taken.
3 QMetaObject::activate(this, &staticMetaObject, 8, _a);
404 3 }
405
406 // SIGNAL 9
407 void gepetto::viewer::Property::valueChanged(const double & _t1)
408 {
409 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
410 QMetaObject::activate(this, &staticMetaObject, 9, _a);
411 }
412
413 // SIGNAL 10
414 void gepetto::viewer::Property::valueChanged(const QString & _t1)
415 {
416 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
417 QMetaObject::activate(this, &staticMetaObject, 10, _a);
418 }
419
420 // SIGNAL 11
421 void gepetto::viewer::Property::valueChanged(const QColor & _t1)
422 {
423 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
424 QMetaObject::activate(this, &staticMetaObject, 11, _a);
425 }
426 QT_WARNING_POP
427 QT_END_MOC_NAMESPACE
428