summaryrefslogtreecommitdiffstats
path: root/src/namespacedef.h
diff options
context:
space:
mode:
authorDimitri van Heesch <doxygen@gmail.com>2021-05-01 11:51:57 (GMT)
committerDimitri van Heesch <doxygen@gmail.com>2021-05-01 11:51:57 (GMT)
commit9c7f8b12d0af44b8e4cee42e68fd5553563231a1 (patch)
tree1ae29cf4e8531122399fd397cbe658d0bdbfc1c8 /src/namespacedef.h
parent44d55811919cca36ba0709d805fd5b1478fdf4ea (diff)
downloadDoxygen-9c7f8b12d0af44b8e4cee42e68fd5553563231a1.zip
Doxygen-9c7f8b12d0af44b8e4cee42e68fd5553563231a1.tar.gz
Doxygen-9c7f8b12d0af44b8e4cee42e68fd5553563231a1.tar.bz2
Cleanup util.h by moving some functions to other files
Diffstat (limited to 'src/namespacedef.h')
-rw-r--r--src/namespacedef.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/namespacedef.h b/src/namespacedef.h
index 93fff75..3c80470 100644
--- a/src/namespacedef.h
+++ b/src/namespacedef.h
@@ -151,6 +151,17 @@ const NamespaceDef *toNamespaceDef(const Definition *d);
NamespaceDefMutable *toNamespaceDefMutable(Definition *d);
NamespaceDefMutable *toNamespaceDefMutable(const Definition *d);
+// --- Helpers
+
+NamespaceDef *getResolvedNamespace(const QCString &key);
+inline NamespaceDefMutable *getResolvedNamespaceMutable(const QCString &key)
+{
+ return toNamespaceDefMutable(getResolvedNamespace(key));
+}
+bool namespaceHasNestedNamespace(const NamespaceDef *nd);
+bool namespaceHasNestedConcept(const NamespaceDef *nd);
+bool namespaceHasNestedClass(const NamespaceDef *nd,bool filterClasses,ClassDef::CompoundType ct);
+
//------------------------------------------------------------------------
#endif