![]() |
Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
|
A class for creating vectors of collections for documentation. More...
#include <sections.h>
Public Member Functions | |
| Sections (Aggregate *aggregate) | |
| This constructor builds the section vectors based on the type of the aggregate node. | |
| Sections (const NodeMultiMap &nsmap) | |
| This constructor builds the since sections from the since node map, nsmap. | |
| bool | hasObsoleteMembers (SectionPtrVector *summary_spv, SectionPtrVector *details_spv) const |
| Returns true if any sections in this object contain obsolete members. | |
| SectionVector & | summarySections () |
| SectionVector & | detailsSections () |
| Section & | allMembersSection () |
| SectionVector & | sinceSections () |
| const SectionVector & | summarySections () const |
| const SectionVector & | detailsSections () const |
| const Section & | allMembersSection () const |
| const SectionVector & | sinceSections () const |
| Aggregate * | aggregate () const |
A class for creating vectors of collections for documentation.
Each element in a vector is an instance of Section, which contains all the elements that will be documented in one section of a reference documentation page.
The constructor determines the appropriate section layout based on the aggregate's node type (C++ class, QML type, or generic namespace/header). Callers access the result through the unified summarySections() and detailsSections() accessors without needing to know which variant was selected.
Definition at line 79 of file sections.h.
Definition at line 84 of file sections.h.
|
explicit |
This constructor builds the section vectors based on the type of the aggregate node.
Definition at line 371 of file sections.cpp.
References Class, HeaderFile, Namespace, Node< _Tp >::nodeType(), Proxy, QmlType, QmlValueType, Struct, and Union.
Referenced by DocBookGenerator::generateCppReferencePage(), HtmlGenerator::generateCppReferencePage(), DocBookGenerator::generateProxyPage(), and HtmlGenerator::generateProxyPage().
|
explicit |
This constructor builds the since sections from the since node map, nsmap.
Definition at line 409 of file sections.cpp.
References Enum, Function, Node< _Tp >::isClassNode(), Node< _Tp >::isNamespace(), and Node< _Tp >::nodeType().
Referenced by HtmlGenerator::generateAtom().
|
inlinenodiscard |
Definition at line 160 of file sections.h.
|
inline |
Definition at line 152 of file sections.h.
|
inlinenodiscard |
Definition at line 157 of file sections.h.
|
inline |
Definition at line 151 of file sections.h.
Referenced by DocBookGenerator::generateCppReferencePage(), HtmlGenerator::generateCppReferencePage(), DocBookGenerator::generateProxyPage(), HtmlGenerator::generateProxyPage(), and HtmlGenerator::generateQmlTypePage().
|
inlinenodiscard |
Definition at line 156 of file sections.h.
|
nodiscard |
Returns true if any sections in this object contain obsolete members.
If it returns false, then summary_spv and details_spv have not been modified. Otherwise, both vectors will contain pointers to the sections that contain obsolete members.
Definition at line 963 of file sections.cpp.
|
inline |
Definition at line 153 of file sections.h.
Referenced by HtmlGenerator::generateAtom().
|
inlinenodiscard |
Definition at line 158 of file sections.h.
|
inline |
Definition at line 150 of file sections.h.
Referenced by HtmlGenerator::generateCppReferencePage(), HtmlGenerator::generateProxyPage(), and HtmlGenerator::generateQmlTypePage().
|
inlinenodiscard |
Definition at line 155 of file sections.h.