diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2009-08-14 14:49:07 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2009-08-14 14:49:07 (GMT) |
commit | 9e6be9a8ae24b788cf2463a703bda48cbd77c773 (patch) | |
tree | fed426d0d7216311cbd009a1fcd2786176478b5e /src/classdef.cpp | |
parent | 6e28050ef5483e624122b0bacb998c40664f78ee (diff) | |
download | Doxygen-9e6be9a8ae24b788cf2463a703bda48cbd77c773.zip Doxygen-9e6be9a8ae24b788cf2463a703bda48cbd77c773.tar.gz Doxygen-9e6be9a8ae24b788cf2463a703bda48cbd77c773.tar.bz2 |
Release-1.5.9-20090814
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r-- | src/classdef.cpp | 20 |
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 */ } } |