1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'benchmarking.cpp' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include <QtCore/qbytearray.h> |
11 | #include <QtCore/qmetatype.h> |
12 | #if !defined(Q_MOC_OUTPUT_REVISION) |
13 | #error "The header file 'benchmarking.cpp' doesn't include <QObject>." |
14 | #elif Q_MOC_OUTPUT_REVISION != 68 |
15 | #error "This file was generated using the moc from 6.0.0. It" |
16 | #error "cannot be used with the include files from this version of Qt." |
17 | #error "(The moc has changed too much.)" |
18 | #endif |
19 | |
20 | QT_BEGIN_MOC_NAMESPACE |
21 | QT_WARNING_PUSH |
22 | QT_WARNING_DISABLE_DEPRECATED |
23 | struct qt_meta_stringdata_TestBenchmark_t { |
24 | const uint offsetsAndSize[14]; |
25 | char stringdata0[64]; |
26 | }; |
27 | #define QT_MOC_LITERAL(ofs, len) \ |
28 | uint(offsetof(qt_meta_stringdata_TestBenchmark_t, stringdata0) + ofs), len |
29 | static const qt_meta_stringdata_TestBenchmark_t qt_meta_stringdata_TestBenchmark = { |
30 | { |
31 | QT_MOC_LITERAL(0, 13), // "TestBenchmark" |
32 | QT_MOC_LITERAL(14, 6), // "simple" |
33 | QT_MOC_LITERAL(21, 0), // "" |
34 | QT_MOC_LITERAL(22, 13), // "multiple_data" |
35 | QT_MOC_LITERAL(36, 8), // "multiple" |
36 | QT_MOC_LITERAL(45, 11), // "series_data" |
37 | QT_MOC_LITERAL(57, 6) // "series" |
38 | |
39 | }, |
40 | "TestBenchmark\0simple\0\0multiple_data\0" |
41 | "multiple\0series_data\0series" |
42 | }; |
43 | #undef QT_MOC_LITERAL |
44 | |
45 | static const uint qt_meta_data_TestBenchmark[] = { |
46 | |
47 | // content: |
48 | 9, // revision |
49 | 0, // classname |
50 | 0, 0, // classinfo |
51 | 5, 14, // methods |
52 | 0, 0, // properties |
53 | 0, 0, // enums/sets |
54 | 0, 0, // constructors |
55 | 0, // flags |
56 | 0, // signalCount |
57 | |
58 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
59 | 1, 0, 44, 2, 0x08, 0 /* Private */, |
60 | 3, 0, 45, 2, 0x08, 1 /* Private */, |
61 | 4, 0, 46, 2, 0x08, 2 /* Private */, |
62 | 5, 0, 47, 2, 0x08, 3 /* Private */, |
63 | 6, 0, 48, 2, 0x08, 4 /* Private */, |
64 | |
65 | // slots: parameters |
66 | QMetaType::Void, |
67 | QMetaType::Void, |
68 | QMetaType::Void, |
69 | QMetaType::Void, |
70 | QMetaType::Void, |
71 | |
72 | 0 // eod |
73 | }; |
74 | |
75 | void TestBenchmark::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
76 | { |
77 | if (_c == QMetaObject::InvokeMetaMethod) { |
78 | Q_ASSERT(staticMetaObject.cast(_o)); |
79 | auto *_t = static_cast<TestBenchmark *>(_o); |
80 | Q_UNUSED(_t) |
81 | switch (_id) { |
82 | case 0: _t->simple(); break; |
83 | case 1: _t->multiple_data(); break; |
84 | case 2: _t->multiple(); break; |
85 | case 3: _t->series_data(); break; |
86 | case 4: _t->series(); break; |
87 | default: ; |
88 | } |
89 | } |
90 | Q_UNUSED(_a); |
91 | } |
92 | |
93 | const QMetaObject TestBenchmark::staticMetaObject = { { |
94 | QMetaObject::SuperData::link<QObject::staticMetaObject>(), |
95 | qt_meta_stringdata_TestBenchmark.offsetsAndSize, |
96 | qt_meta_data_TestBenchmark, |
97 | qt_static_metacall, |
98 | nullptr, |
99 | qt_incomplete_metaTypeArray<qt_meta_stringdata_TestBenchmark_t |
100 | |
101 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
102 | |
103 | |
104 | >, |
105 | nullptr |
106 | } }; |
107 | |
108 | |
109 | const QMetaObject *TestBenchmark::metaObject() const |
110 | { |
111 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
112 | } |
113 | |
114 | void *TestBenchmark::qt_metacast(const char *_clname) |
115 | { |
116 | if (!_clname) return nullptr; |
117 | if (!strcmp(_clname, qt_meta_stringdata_TestBenchmark.stringdata0)) |
118 | return static_cast<void*>(this); |
119 | return QObject::qt_metacast(_clname); |
120 | } |
121 | |
122 | int TestBenchmark::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
123 | { |
124 | _id = QObject::qt_metacall(_c, _id, _a); |
125 | if (_id < 0) |
126 | return _id; |
127 | if (_c == QMetaObject::InvokeMetaMethod) { |
128 | if (_id < 5) |
129 | qt_static_metacall(this, _c, _id, _a); |
130 | _id -= 5; |
131 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
132 | if (_id < 5) |
133 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
134 | _id -= 5; |
135 | } |
136 | return _id; |
137 | } |
138 | QT_WARNING_POP |
139 | QT_END_MOC_NAMESPACE |
140 | |