![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
#include <QtCore/qglobal.h>#include <inja/inja.hpp>#include <QJsonObject>#include <QJsonArray>#include <QJsonValue>#include <QString>#include <functional>#include <optional>#include <variant>Go to the source code of this file.
Classes | |
| class | InjaBridge |
| Adapter for converting Qt JSON types to Inja template engine format. More... | |
| struct | InjaBridge::RenderContext |
| Identifies the render a template error belongs to. More... | |
| struct | InjaBridge::RenderFailure |
| \variable InjaBridge::RenderContext::format More... | |
Macros | |
| #define | QDOC_TEMPLATE_LIBS_THROW 0 |
| #define | INJA_THROW(exception) |
| #define | JSON_THROW_USER(exception) |
Functions | |
| QT_BEGIN_NAMESPACE void | qdocFatalTemplateRenderError (const char *what) |
| #define INJA_THROW | ( | exception | ) |
Definition at line 23 of file injabridge.h.
| #define JSON_THROW_USER | ( | exception | ) |
Definition at line 25 of file injabridge.h.
| #define QDOC_TEMPLATE_LIBS_THROW 0 |
Definition at line 13 of file injabridge.h.
| QT_BEGIN_NAMESPACE void qdocFatalTemplateRenderError | ( | const char * | what | ) |
The error-reporting entry point for template library errors in a no-exceptions build. The header redefines INJA_THROW and JSON_THROW_USER, the error-reporting entry points of Inja and nlohmann::json, to this function before including the libraries, so a library error terminates the run with the diagnostic for the render in progress instead of a bare abort.
Definition at line 65 of file injabridge.cpp.