diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-08-26 14:15:46 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-08-26 14:15:46 (GMT) |
commit | 1fb3a77524a31472d1ecb9bafb3491ddbbd096e3 (patch) | |
tree | 9acee8d8d8b91289eb8173fd93a8f16891fc2a92 /src/classdef.cpp | |
parent | 8f7c9d9ba3b6c4e87c87deb6775d4bf642939e77 (diff) | |
download | Doxygen-1fb3a77524a31472d1ecb9bafb3491ddbbd096e3.zip Doxygen-1fb3a77524a31472d1ecb9bafb3491ddbbd096e3.tar.gz Doxygen-1fb3a77524a31472d1ecb9bafb3491ddbbd096e3.tar.bz2 |
Release-1.2.10
Diffstat (limited to 'src/classdef.cpp')
-rw-r--r-- | src/classdef.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp index ebb22e4..54f78e4 100644 --- a/src/classdef.cpp +++ b/src/classdef.cpp @@ -104,6 +104,7 @@ ClassDef::ClassDef( m_templBaseClassNames = 0; m_artificial = FALSE; m_isAbstract = FALSE; + m_isStatic = FALSE; } // destroy the class definition @@ -1073,9 +1074,7 @@ void ClassDef::writeDocumentation(OutputList &ol) if (exampleFlag) { ol.startDescList(BaseOutputDocInterface::Examples); - ol.startBold(); parseText(ol,theTranslator->trExamples()+": "); - ol.endBold(); ol.endDescTitle(); ol.writeDescItem(); ol.newParagraph(); @@ -1546,7 +1545,8 @@ bool ClassDef::isLinkableInProject() const name().find('@')==-1 && /* anonymous compound */ (m_prot!=Private || Config_getBool("EXTRACT_PRIVATE")) && /* private */ hasDocumentation() && /* documented */ - !isReference(); /* not an external reference */ + !isReference() && /* not an external reference */ + (!m_isStatic || Config_getBool("EXTRACT_STATIC")); } } @@ -1578,7 +1578,9 @@ bool ClassDef::isVisibleInHierarchy() (hasDocumentation() || !Config_getBool("HIDE_UNDOC_CLASSES") || isReference() - ); + ) && + // is not part of an unnamed namespace or shown anyway + (!m_isStatic || Config_getBool("EXTRACT_STATIC")); } bool ClassDef::hasDocumentation() const |