17 #ifndef NURIA_JSONMETAOBJECTREADER_HPP
18 #define NURIA_JSONMETAOBJECTREADER_HPP
20 #include <QSharedData>
21 #include <QStringList>
24 #include "essentials.hpp"
25 #include "metaobject.hpp"
29 class JsonMetaObjectReaderPrivate;
78 AnnotationsIsNotAnArray,
80 ConstructorsIsNotAnArray,
81 MemberMethodsIsNotAnArray,
82 StaticMethodsIsNotAnArray,
85 BasesContainsNonString,
92 AnnotationIsNotAnObject,
93 AnnotationNameIsNotAString,
108 MethodNameIsNotAString,
109 MethodResultTypeIsNotAString,
113 MethodArgumentNamesIsNotAnArray,
114 MethodArgumentNamesContainsNonString,
115 MethodArgumentTypesIsNotAnArray,
116 MethodArgumentTypesContainsNonString,
124 EnumValuesIsNotAnObject,
125 EnumValueObjectValueIsNotAnInteger,
133 FieldTypeIsNotAString,
134 FieldReadOnlyIsNotABoolean
150 Error parse (
const QJsonDocument &jsonDocument);
153 Error parse (
const QJsonObject &root);
156 Error parse (
const QByteArray &jsonData);
162 QStringList sourceFiles ();
168 MetaObjectMap metaObjects (
const QString &sourceFile);
171 JsonMetaObjectReaderPrivate *d_ptr;
176 #endif // NURIA_JSONMETAOBJECTREADER_HPP
Definition: abstractsessionmanager.hpp:24
Definition: jsonmetaobjectreader.hpp:112
Definition: jsonmetaobjectreader.hpp:100