4#ifndef QDOC_IR_PAGEMETADATA_H
5#define QDOC_IR_PAGEMETADATA_H
11#include "qdoc/access.h"
12#include "qdoc/genustypes.h"
13#include "qdoc/status.h"
15#include <QtCore/QList>
16#include <QtCore/QString>
17#include <QtCore/QStringList>
Assembles IR Documents from pre-extracted metadata.
Document buildPageIR(PageMetadata pm) const
Status
Specifies the status of the QQmlIncubator.
static QList< ContentBlock > buildThreadSafetyAdmonition(const CppReferenceData::ThreadSafetyInfo &ts, const QString &typeWord)
static InlineContent makeResolvedLink(const QString &name, const QString &href)
static void appendExceptionList(QList< InlineContent > &inlines, const QString &prefix, const QString &topicName, const QList< CppReferenceData::ThreadSafetyExceptionEntry > &exceptions)
static InlineContent makeTopicLink(const QString &topicName)
static InlineContent makeTextInline(const QString &text)
Combined button and popup list for selecting options.
A single entry in an all-members listing page.
QList< AllMemberEntry > children
QJsonObject toJson() const
Converts the entry to a QJsonObject for template rendering.
QList< IR::SignatureSpan > signatureSpans
Intermediate representation of the all-members listing page.
QList< AllMemberEntry > members
QJsonObject toJson() const
Converts the all-members IR to a QJsonObject for template rendering.
QList< MemberGroup > memberGroups
QString logicalModuleVersion
QList< MemberEntry > classes
QString logicalModuleName
QList< MemberEntry > members
QList< MemberEntry > namespaces
QString logicalModuleVersion
QList< MemberEntry > members
QJsonObject toJson() const
Converts the CollectionInfo to a QJsonObject for template rendering.
QList< MemberEntry > classes
QString logicalModuleName
QList< MemberEntry > namespaces
Represents a structural block element in documentation.
QJsonObject toJson() const
Converts the ContentBlock to a QJsonObject for template rendering.
QList< InlineContent > inlineContent
Rich inline content.
QJsonObject attributes
Type-specific metadata.
QString plainText() const
Returns the concatenated plain text of this block's content, recursively.
QList< ContentBlock > children
Nested blocks.
QStringList comparableTypes
QList< ThreadSafetyExceptionEntry > reentrantExceptions
QList< ThreadSafetyExceptionEntry > nonReentrantExceptions
QList< ThreadSafetyExceptionEntry > threadSafeExceptions
QList< BaseClassEntry > baseClasses
QList< SignatureSpan > templateDeclSpans
std::optional< ThreadSafetyInfo > threadSafety
QString selfComparisonCategory
QString cmakeTargetLinkLibraries
QString fullNamespaceModuleName
QList< ComparisonEntry > comparisonEntries
QList< GroupEntry > groups
std::optional< QmlNativeTypeLink > qmlNativeType
QList< DerivedClassEntry > derivedClasses
QStringList ancestorNames
QString fullNamespaceHref
QStringList comparableTypes
QList< ThreadSafetyExceptionEntry > reentrantExceptions
QList< ThreadSafetyExceptionEntry > nonReentrantExceptions
QList< ThreadSafetyExceptionEntry > threadSafeExceptions
QList< SignatureSpan > templateDeclSpans
std::optional< ThreadSafetyInfo > threadSafety
QList< ContentBlock > threadSafetyAdmonition
QList< ComparisonEntry > comparisonEntries
QString cmakeTargetLinkLibraries
QList< DerivedClassEntry > derivedClasses
QStringList ancestorNames
QString fullNamespaceModuleName
std::optional< QmlNativeTypeLink > qmlNativeType
QString obsoleteMembersUrl
QString fullNamespaceHref
QList< GroupEntry > groups
QString selfComparisonCategory
QList< BaseClassEntry > baseClasses
QJsonObject toJson() const
Converts CppReferenceInfo to a QJsonObject for template rendering.
Intermediate representation for a documentation topic.
QList< ContentBlock > body
QList< SectionIR > summarySections
std::optional< QmlTypeInfo > qmlTypeInfo
QList< SectionIR > detailSections
std::optional< CppReferenceInfo > cppReferenceInfo
std::optional< CollectionInfo > collectionInfo
QJsonObject toJson() const
Converts the Document to a QJsonObject for template rendering.
Intermediate representation of a single enum value.
QJsonObject toJson() const
\variable IR::EnumValueIR::name Enumerator name.
Summary of members inherited from a single base class.
QJsonObject toJson() const
\variable IR::InheritedMembersIR::className Fully qualified name of the base class.
Represents inline content within a documentation block.
QJsonObject attributes
Type-specific metadata.
QString href
Link target or image source.
QJsonObject toJson() const
Converts the InlineContent to a QJsonObject for template rendering.
QString text
Text content.
QList< InlineContent > children
Nested inline content.
std::optional< LinkData > link
QString title
Link tooltip or image alt text.
QString plainText() const
Returns the concatenated plain text of this inline element and all its children, recursively.
Members grouped by originating QML type in an all-members listing.
QList< AllMemberEntry > members
QJsonObject toJson() const
Converts the member group to a QJsonObject for template rendering.
Intermediate representation of a single documentable member.
QList< ParameterIR > parameters
QString comparisonCategory
QList< IR::SignatureSpan > signatureSpans
QList< ContentBlock > alsoList
QJsonObject toJson() const
\variable IR::MemberIR::name Unqualified member name.
QList< EnumValueIR > enumValues
QList< ContentBlock > body
QList< ContentBlock > body
std::optional< QmlTypeData > qmlTypeData
QList< SectionIR > summarySections
QList< SectionIR > detailSections
std::optional< CppReferenceData > cppReferenceData
std::optional< CollectionData > collectionData
Intermediate representation of a function parameter.
QJsonObject toJson() const
\variable IR::ParameterIR::type Parameter type (such as "const QString &").
std::optional< NativeTypeInfo > nativeType
std::optional< InheritsInfo > inherits
QList< InheritedByEntry > inheritedBy
std::optional< InheritsInfo > inherits
QJsonObject toJson() const
Converts the QmlTypeInfo to a QJsonObject for template rendering.
std::optional< NativeTypeInfo > nativeType
QList< InheritedByEntry > inheritedBy
Intermediate representation of a member summary section.
QList< MemberIR > members
QJsonObject toJson() const
\variable IR::SectionIR::id Stable ASCII identifier for anchor links, generated from the title via Ut...
QList< MemberIR > reimplementedMembers
QList< InheritedMembersIR > inheritedMembers
Represents a single span within a structured signature.
QString plainText() const
Returns the concatenated plain text of this span and all its children, recursively.
QJsonObject toJson() const
Converts the SignatureSpan to a QJsonObject for template rendering.
QList< SignatureSpan > children