GCC Code Coverage Report


Directory: ./
File: src/__/include/gepetto/gui/moc_selection-event.cpp
Date: 2024-08-14 11:04:57
Exec Total Coverage
Lines: 0 39 0.0%
Branches: 0 39 0.0%

Line Branch Exec Source
1 /****************************************************************************
2 ** Meta object code from reading C++ file 'selection-event.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 "../../../../../include/gepetto/gui/selection-event.hh"
11 #include <QtCore/qbytearray.h>
12 #include <QtCore/qmetatype.h>
13 #if !defined(Q_MOC_OUTPUT_REVISION)
14 #error "The header file 'selection-event.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__SelectionEvent_t {
25 QByteArrayData data[13];
26 char stringdata0[133];
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__SelectionEvent_t, stringdata0) + ofs \
31 - idx * sizeof(QByteArrayData)) \
32 )
33 static const qt_meta_stringdata_gepetto__gui__SelectionEvent_t qt_meta_stringdata_gepetto__gui__SelectionEvent = {
34 {
35 QT_MOC_LITERAL(0, 0, 28), // "gepetto::gui::SelectionEvent"
36 QT_MOC_LITERAL(1, 29, 4), // "type"
37 QT_MOC_LITERAL(2, 34, 4), // "Type"
38 QT_MOC_LITERAL(3, 39, 0), // ""
39 QT_MOC_LITERAL(4, 40, 8), // "nodeName"
40 QT_MOC_LITERAL(5, 49, 6), // "modKey"
41 QT_MOC_LITERAL(6, 56, 21), // "Qt::KeyboardModifiers"
42 QT_MOC_LITERAL(7, 78, 15), // "hasIntersection"
43 QT_MOC_LITERAL(8, 94, 14), // "primitiveIndex"
44 QT_MOC_LITERAL(9, 109, 6), // "normal"
45 QT_MOC_LITERAL(10, 116, 5), // "local"
46 QT_MOC_LITERAL(11, 122, 5), // "point"
47 QT_MOC_LITERAL(12, 128, 4) // "done"
48
49 },
50 "gepetto::gui::SelectionEvent\0type\0"
51 "Type\0\0nodeName\0modKey\0Qt::KeyboardModifiers\0"
52 "hasIntersection\0primitiveIndex\0normal\0"
53 "local\0point\0done"
54 };
55 #undef QT_MOC_LITERAL
56
57 static const uint qt_meta_data_gepetto__gui__SelectionEvent[] = {
58
59 // content:
60 8, // revision
61 0, // classname
62 0, 0, // classinfo
63 8, 14, // methods
64 0, 0, // properties
65 0, 0, // enums/sets
66 0, 0, // constructors
67 0, // flags
68 0, // signalCount
69
70 // slots: name, argc, parameters, tag, flags
71 1, 0, 54, 3, 0x0a /* Public */,
72 4, 0, 55, 3, 0x0a /* Public */,
73 5, 0, 56, 3, 0x0a /* Public */,
74 7, 0, 57, 3, 0x0a /* Public */,
75 8, 0, 58, 3, 0x0a /* Public */,
76 9, 1, 59, 3, 0x0a /* Public */,
77 11, 1, 62, 3, 0x0a /* Public */,
78 12, 0, 65, 3, 0x0a /* Public */,
79
80 // slots: parameters
81 0x80000000 | 2,
82 QMetaType::QString,
83 0x80000000 | 6,
84 QMetaType::Bool,
85 QMetaType::Void,
86 QMetaType::QVector3D, QMetaType::Bool, 10,
87 QMetaType::QVector3D, QMetaType::Bool, 10,
88 QMetaType::Void,
89
90 0 // eod
91 };
92
93 void gepetto::gui::SelectionEvent::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
94 {
95 if (_c == QMetaObject::InvokeMetaMethod) {
96 auto *_t = static_cast<SelectionEvent *>(_o);
97 (void)_t;
98 switch (_id) {
99 case 0: { Type _r = _t->type();
100 if (_a[0]) *reinterpret_cast< Type*>(_a[0]) = std::move(_r); } break;
101 case 1: { QString _r = _t->nodeName();
102 if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); } break;
103 case 2: { Qt::KeyboardModifiers _r = _t->modKey();
104 if (_a[0]) *reinterpret_cast< Qt::KeyboardModifiers*>(_a[0]) = std::move(_r); } break;
105 case 3: { bool _r = _t->hasIntersection();
106 if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); } break;
107 case 4: _t->primitiveIndex(); break;
108 case 5: { QVector3D _r = _t->normal((*reinterpret_cast< bool(*)>(_a[1])));
109 if (_a[0]) *reinterpret_cast< QVector3D*>(_a[0]) = std::move(_r); } break;
110 case 6: { QVector3D _r = _t->point((*reinterpret_cast< bool(*)>(_a[1])));
111 if (_a[0]) *reinterpret_cast< QVector3D*>(_a[0]) = std::move(_r); } break;
112 case 7: _t->done(); break;
113 default: ;
114 }
115 }
116 }
117
118 QT_INIT_METAOBJECT const QMetaObject gepetto::gui::SelectionEvent::staticMetaObject = { {
119 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
120 qt_meta_stringdata_gepetto__gui__SelectionEvent.data,
121 qt_meta_data_gepetto__gui__SelectionEvent,
122 qt_static_metacall,
123 nullptr,
124 nullptr
125 } };
126
127
128 const QMetaObject *gepetto::gui::SelectionEvent::metaObject() const
129 {
130 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
131 }
132
133 void *gepetto::gui::SelectionEvent::qt_metacast(const char *_clname)
134 {
135 if (!_clname) return nullptr;
136 if (!strcmp(_clname, qt_meta_stringdata_gepetto__gui__SelectionEvent.stringdata0))
137 return static_cast<void*>(this);
138 return QObject::qt_metacast(_clname);
139 }
140
141 int gepetto::gui::SelectionEvent::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
142 {
143 _id = QObject::qt_metacall(_c, _id, _a);
144 if (_id < 0)
145 return _id;
146 if (_c == QMetaObject::InvokeMetaMethod) {
147 if (_id < 8)
148 qt_static_metacall(this, _c, _id, _a);
149 _id -= 8;
150 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
151 if (_id < 8)
152 *reinterpret_cast<int*>(_a[0]) = -1;
153 _id -= 8;
154 }
155 return _id;
156 }
157 QT_WARNING_POP
158 QT_END_MOC_NAMESPACE
159