diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-08-26 14:15:46 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2001-08-26 14:15:46 (GMT) |
commit | c822eb3d9ce727dd69954661edcabcad479c1481 (patch) | |
tree | 9acee8d8d8b91289eb8173fd93a8f16891fc2a92 /src/classdef.cpp | |
parent | 2f7902073680b977b74f3faeada95119ec767eb3 (diff) | |
download | Doxygen-c822eb3d9ce727dd69954661edcabcad479c1481.zip Doxygen-c822eb3d9ce727dd69954661edcabcad479c1481.tar.gz Doxygen-c822eb3d9ce727dd69954661edcabcad479c1481.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 |