analyzer: subst: "%CLIENT_RELEASE_LABEL%": r0 "%CLIENT_MAJOR_VERSION%": r0 identifiers: signed: signedData unsigned: unsignedData default: isDefault origin_server_ts: originServerTimestamp # Instead of originServerTs start: begin # Because start() is a method in BaseJob types: # Structure: # swaggerType: # OR # swaggerType: # - swaggerFormat: # - /swaggerFormatRegEx/: # - //: # default, if the format doesn't mach anything above # WHERE # targetTypeSpec = targetType OR # { type: targetType, imports: , } integer: - int64: qint64 - int32: qint32 - //: int number: - float: float - //: double boolean: { type: bool, omitted: false } string: - byte: &ByteStream type: QIODevice* imports: - binary: *ByteStream - date: type: QDate initializer: QDate::fromString("{{defaultValue}}") avoidCopy?: true imports: - dateTime: type: QDateTime initializer: QDateTime::fromString("{{defaultValue}}") avoidCopy?: true imports: - //: type: QString initializer: QStringLiteral("{{defaultValue}}") string?: true avoidCopy?: true file: *ByteStream object: - /state_event.yaml$/: type: StateEventPtr noCopy?: true imports: '"events/event.h"' - /room_event.yaml$/: type: RoomEventPtr noCopy?: true imports: '"events/event.h"' - /event.yaml$/: type: EventPtr noCopy?: true imports: '"events/event.h"' - //: type: QJsonObject avoidCopy?: true imports: array: - string: type: QStringList avoidCopy?: true imports: - /^Notification|Result$/: type: "std::vector<{{1}}>" noCopy?: true imports: '"events/event.h"' - /m\.room\.member$/: type: "EventsArray" noCopy?: true imports: '"events/roommemberevent.h"' - /state_event.yaml$/: type: StateEvents noCopy?: true - /room_event.yaml$/: type: RoomEvents noCopy?: true - /event.yaml$/: type: Events noCopy?: true - /.+/: type: "QVector<{{1}}>" avoidCopy?: true imports: - //: { type: QJsonArray, "avoidCopy?": true, imports: } map: - RoomState: type: "std::unordered_map" noCopy?: true imports: - /.+/: type: "QHash" avoidCopy?: true imports: - //: type: QVariantHash avoidCopy?: true imports: '"variant_converters.h"' variant: type: QVariant avoidCopy?: true imports: '"variant_converters.h"' schema: # Properties of inline structure definitions avoidCopy?: true omitted: omitted<{{dataType.name}}>() imports: '"converters.h"' #operations: mustache: definitions: _scopeRenderer: "{{scopeCamelCase}}Job::" _literalQuote: '"' # Default value for omitted omitted: '{}' maybeCrefType: "{{#avoidCopy?}}const {{/avoidCopy?}}{{dataType.name}}{{#avoidCopy?}}&{{/avoidCopy?}}{{#noCopy?}}&&{{/noCopy?}}" qualifiedMaybeCrefType: "{{#avoidCopy?}}const {{/avoidCopy?}}{{dataType.qualifiedName}}{{#avoidCopy?}}&{{/avoidCopy?}}{{#noCopy?}}&&{{/noCopy?}}" initializeDefaultValue: "{{#defaultValue}}{{#initializer}}{{>initializer}}{{/initializer}}{{/defaultValue}}{{^defaultValue}}{{>omitted}}{{/defaultValue}}" joinedParamDecl: '{{>maybeCrefType}} {{paramName}}{{^required?}} = {{>initializeDefaultValue}}{{/required?}}{{#@join}}, {{/@join}}' joinedParamDef: '{{>maybeCrefType}} {{paramName}}{{#@join}}, {{/@join}}' passQueryParams: '{{#queryParams}}{{paramName}}{{#@join}}, {{/@join}}{{/queryParams}}' paramToString: '{{#string?}}{{nameCamelCase}}{{/string?}}{{^string?}}QString("%1").arg({{nameCamelCase}}){{/string?}}' # preamble: preamble.mustache copyrightName: Kitsune Ral copyrightEmail: templates: - "{{base}}.h.mustache" - "{{base}}.cpp.mustache" #outFilesList: apifiles.txt