diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2006-06-11 07:58:28 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2006-06-11 07:58:28 (GMT) |
commit | 07ee85ebcc91a12df8a92078f33e700e5f9f40e8 (patch) | |
tree | 30cd22ecad5caf15fa470d190298c4e98b02e971 /src/classdef.cpp | |
parent | de0997f3baf049e0c312ac4fc9b9b762fdc40e00 (diff) | |
download | Doxygen-07ee85ebcc91a12df8a92078f33e700e5f9f40e8.zip Doxygen-07ee85ebcc91a12df8a92078f33e700e5f9f40e8.tar.gz Doxygen-07ee85ebcc91a12df8a92078f33e700e5f9f40e8.tar.bz2 |
Release-1.4.7
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r-- | src/classdef.cpp | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp index cea3d69..5450b46 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -2055,22 +2055,27 @@ bool ClassDef::isLinkable() const /*! the class is visible in a class diagram, or class hierarchy */ bool ClassDef::isVisibleInHierarchy() { - return // show all classes or a subclass is visible - (Config_getBool("ALLEXTERNALS") || hasNonReferenceSuperClass()) && + static bool allExternals = Config_getBool("ALLEXTERNALS"); + static bool extractPrivate = Config_getBool("EXTRACT_PRIVATE"); + static bool hideUndocClasses = Config_getBool("HIDE_UNDOC_CLASSES"); + static bool extractStatic = Config_getBool("EXTRACT_STATIC"); + + return // show all classes or a subclass is visible + (allExternals || hasNonReferenceSuperClass()) && // and not an annonymous compound name().find('@')==-1 && // not an artifically introduced class !m_artificial && // and not privately inherited - (m_prot!=Private || Config_getBool("EXTRACT_PRIVATE")) && + (m_prot!=Private || extractPrivate) && // documented or shown anyway or documentation is external (hasDocumentation() || - !Config_getBool("HIDE_UNDOC_CLASSES") || + !hideUndocClasses || (m_templateMaster && m_templateMaster->hasDocumentation()) || isReference() ) && // is not part of an unnamed namespace or shown anyway - (!m_isStatic || Config_getBool("EXTRACT_STATIC")); + (!m_isStatic || extractStatic); } bool ClassDef::hasDocumentation() const |