summaryrefslogtreecommitdiffstats
path: root/src/classdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2009-08-14 14:49:07 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2009-08-14 14:49:07 (GMT)
commit8c6ca30831818a77a6947baad63ab99cb8cd8c31 (patch)
treefed426d0d7216311cbd009a1fcd2786176478b5e /src/classdef.cpp
parent142b4807d2ae7479691bd0800d28364b9857b82f (diff)
downloadDoxygen-8c6ca30831818a77a6947baad63ab99cb8cd8c31.zip
Doxygen-8c6ca30831818a77a6947baad63ab99cb8cd8c31.tar.gz
Doxygen-8c6ca30831818a77a6947baad63ab99cb8cd8c31.tar.bz2
Release-1.5.9-20090814
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r--src/classdef.cpp20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index 168162b..26934f1 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -2041,20 +2041,24 @@ void ClassDef::writeDeclaration(OutputList &ol,MemberDef *md,bool inGroup)
/*! a link to this class is possible within this project */
bool ClassDef::isLinkableInProject() const
{
+ static bool extractPrivate = Config_getBool("EXTRACT_PRIVATE");
+ static bool extractLocal = Config_getBool("EXTRACT_LOCAL_CLASSES");
+ static bool extractStatic = Config_getBool("EXTRACT_STATIC");
+ static bool hideUndoc = Config_getBool("HIDE_UNDOC_CLASSES");
if (m_impl->templateMaster)
{
return m_impl->templateMaster->isLinkableInProject();
}
else
{
- return !name().isEmpty() && /* no name */
- !isArtificial() && !isHidden() &&
- name().find('@')==-1 && /* anonymous compound */
- (m_impl->prot!=Private || Config_getBool("EXTRACT_PRIVATE")) && /* private */
- (!m_impl->isLocal || Config_getBool("EXTRACT_LOCAL_CLASSES")) && /* local */
- hasDocumentation() && /* documented */
- !isReference() && /* not an external reference */
- (!m_impl->isStatic || Config_getBool("EXTRACT_STATIC"));
+ return !name().isEmpty() && /* has a name */
+ !isArtificial() && !isHidden() && /* not hidden */
+ name().find('@')==-1 && /* not anonymous */
+ (m_impl->prot!=Private || extractPrivate) && /* private */
+ (!m_impl->isLocal || extractLocal) && /* local */
+ (hasDocumentation() || !hideUndoc) && /* documented */
+ (!m_impl->isStatic || extractStatic) && /* static */
+ !isReference(); /* not an external reference */
}
}