12
13
14
15
16
17
18
21
22
23
26
27
28
29
30
31
32
35 return m_whereDocumented == tree()->camelCaseModuleName();
39
40
41
49
50
51
52
55 for (
const auto *node : std::as_const(m_children)) {
56 if (node->isInAPI()) {
57 QString msg1 = node->name();
58 if (node->isFunction())
60 msg1 += QStringLiteral(
61 " is documented, but namespace %1 is not documented in any module.")
65 "Add /*! '\\%1 %2' ... */ or remove the qdoc comment marker (!) at "
69 node->doc().location().warning(msg1, msg2);
75
76
77
86
87
88
89
90
91
92
93
94
97 return m_includedChildren;
101
102
103
104
107 m_includedChildren.append(child);
111
112
113
114
117
118
121
122
125
126
127
128
129
132
133
134
137
138
139
142
143
146
147
148
149
152
153
154
155
156
157
158
159
160
161
164
165
166
169
170
171
174
175
176
177
178
181
182
183
184
185
186
187
188
This class represents a C++ namespace.
bool hasDocumentedChildren() const
Returns true if this namespace node contains at least one child that has documentation and is not pri...
void includeChild(Node *child)
This function is only called from QDocDatabase::resolveNamespaces().
bool docMustBeGenerated() const override
Returns true if this namespace node is not private and contains at least one public child node with d...
void reportDocumentedChildrenInUndocumentedNamespace() const
Report qdoc warning for each documented child in a namespace that is not documented.
bool isDocumentedHere() const
Returns true if this namespace is to be documented in the current module.
const NodeList & includedChildren() const
Returns a const reference to the namespace node's list of included children, which contains pointers ...
LinkType
An unsigned char value that probably should be moved out of the Node base class.
#define COMMAND_NAMESPACE
Combined button and popup list for selecting options.