![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
Intermediate representation of the all-members listing page. More...
#include <member.h>
Public Member Functions | |
| QJsonObject | toJson () const |
| Converts the all-members IR to a QJsonObject for template rendering. | |
Public Attributes | |
| QString | typeName |
| QString | typeHref |
| bool | isQmlType { false } |
| QList< AllMemberEntry > | members |
| QList< MemberGroup > | memberGroups |
Intermediate representation of the all-members listing page.
AllMembersIR captures all data needed to render a member listing sub-page. It supports two rendering paths: a flat alphabetical list for C++ classes and a grouped-by-origin-type list for QML types. The isQmlType flag determines which path the template uses.
|
nodiscard |
Converts the all-members IR to a QJsonObject for template rendering.
Always emits typeName, typeHref, and isQmlType. The members and memberGroups arrays are emitted only when non-empty, letting templates distinguish C++ from QML by checking which key exists.
Definition at line 522 of file member.cpp.
| bool IR::AllMembersIR::isQmlType { false } |
Definition at line 115 of file member.h.
Referenced by NodeExtractor::extractCppAllMembersIR(), and NodeExtractor::extractQmlAllMembersIR().
| QList<MemberGroup> IR::AllMembersIR::memberGroups |
| QList<AllMemberEntry> IR::AllMembersIR::members |