![]() |
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 containing the elements of one documentation section. More...
#include <sections.h>
Public Types | |
| enum | Style { Summary , Details , AllMembers , Accessors } |
Public Member Functions | |
| Section (QString title, QString singular, QString plural, QString divclass, Style style) | |
| void | insert (Node *node) |
| Inserts the node into this section if it is appropriate for this section. | |
| bool | insertReimplementedMember (Node *node) |
Returns true if the node is a reimplemented member function of the current class. | |
| void | appendMember (Node *node) |
| void | reduce () |
| If this section is not empty, convert its maps to sequential structures for better traversal during doc generation. | |
| bool | isEmpty () const |
| Style | style () const |
| const QString & | title () const |
| const QString & | divClass () const |
| const QString & | singular () const |
| const QString & | plural () const |
| const NodeVector & | members () const |
| const NodeVector & | reimplementedMembers () const |
| const QList< std::pair< Aggregate *, int > > & | inheritedMembers () const |
| ClassNodesList & | classNodesList () |
| const ClassNodesList & | classNodesList () const |
| const NodeVector & | obsoleteMembers () const |
| void | appendMembers (const NodeVector &nv) |
| const Aggregate * | aggregate () const |
| void | setAggregate (Aggregate *t) |
A class for containing the elements of one documentation section.
Definition at line 16 of file sections.h.
| enum Section::Style |
| Enumerator | |
|---|---|
| Summary | |
| Details | |
| AllMembers | |
| Accessors | |
Definition at line 19 of file sections.h.
|
inline |
Definition at line 22 of file sections.h.
|
inlinenodiscard |
Definition at line 56 of file sections.h.
Definition at line 32 of file sections.h.
|
inline |
Definition at line 55 of file sections.h.
|
inline |
Definition at line 52 of file sections.h.
|
inlinenodiscard |
Definition at line 53 of file sections.h.
|
inlinenodiscard |
Definition at line 43 of file sections.h.
Definition at line 48 of file sections.h.
Inserts the node into this section if it is appropriate for this section.
Definition at line 212 of file sections.cpp.
References AllMembers, Node< _Tp >::createContext(), Details, Node< _Tp >::isAbstract(), Node< _Tp >::isClassNode(), Node< _Tp >::isDeprecated(), Node< _Tp >::isEnumType(), Node< _Tp >::isFunction(), InclusionFilter::isIncluded(), Node< _Tp >::isNamespace(), Node< _Tp >::isQmlType(), Node< _Tp >::isRelatedNonmember(), Node< _Tp >::isTypedef(), Node< _Tp >::isVariable(), and Node< _Tp >::parent().
| bool Section::insertReimplementedMember | ( | Node * | node | ) |
Returns true if the node is a reimplemented member function of the current class.
If true, the node is inserted into the reimplemented member map. True is returned only if node is inserted into the map. That is, false is returned if the node is already in the map.
Definition at line 270 of file sections.cpp.
References Node< _Tp >::createContext(), Node< _Tp >::isInAPI(), InclusionFilter::isReimplementedMemberVisible(), and Node< _Tp >::isRelatedNonmember().
|
inlinenodiscard |
Definition at line 35 of file sections.h.
|
inlinenodiscard |
Definition at line 46 of file sections.h.
|
inlinenodiscard |
Definition at line 54 of file sections.h.
|
inlinenodiscard |
Definition at line 45 of file sections.h.
| void Section::reduce | ( | ) |
If this section is not empty, convert its maps to sequential structures for better traversal during doc generation.
Definition at line 295 of file sections.cpp.
|
inlinenodiscard |
Definition at line 47 of file sections.h.
Definition at line 57 of file sections.h.
|
inlinenodiscard |
Definition at line 44 of file sections.h.
|
inlinenodiscard |
Definition at line 41 of file sections.h.
|
inlinenodiscard |
Definition at line 42 of file sections.h.