summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-04-20 10:52:02 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-04-20 10:52:02 (GMT)
commit1bb36723a522b371810606c2f6504d0374a7b027 (patch)
tree442423d3c98663400147d30753c3c912f1700269 /src
parent6dae72421aa759624212773983cb7e17c60100f8 (diff)
downloadDoxygen-1bb36723a522b371810606c2f6504d0374a7b027.zip
Doxygen-1bb36723a522b371810606c2f6504d0374a7b027.tar.gz
Doxygen-1bb36723a522b371810606c2f6504d0374a7b027.tar.bz2
Bug 712251 - Documentation for enumeration not generated
Diffstat (limited to 'src')
-rw-r--r--src/classdef.cpp5
-rw-r--r--src/filedef.cpp2
-rw-r--r--src/groupdef.cpp2
-rw-r--r--src/namespacedef.cpp2
4 files changed, 6 insertions, 5 deletions
diff --git a/src/classdef.cpp b/src/classdef.cpp
index a5b065f..eded587 100644
--- a/src/classdef.cpp
+++ b/src/classdef.cpp
@@ -2103,7 +2103,8 @@ void ClassDef::writeMemberPages(OutputList &ol)
MemberList *ml;
for (mli.toFirst();(ml=mli.current());++mli)
{
- if (ml->listType()&MemberListType_detailedLists)
+ ml->countDocMembers();
+ if (ml->numDocMembers()>0 && (ml->listType()&MemberListType_detailedLists))
{
ml->writeDocumentationPage(ol,displayName(),this);
}
@@ -2130,7 +2131,7 @@ void ClassDef::writeQuickMemberLinks(OutputList &ol,MemberDef *currentMd) const
for (mnii.toFirst();(mi=mnii.current());++mnii)
{
MemberDef *md=mi->memberDef;
- if (md->getClassDef()==this && md->isLinkable())
+ if (md->getClassDef()==this && md->isLinkable() && !md->isEnumValue())
{
ol.writeString(" <tr><td class=\"navtab\">");
if (md->isLinkableInProject())
diff --git a/src/filedef.cpp b/src/filedef.cpp
index b6cfb80..5752e8c 100644
--- a/src/filedef.cpp
+++ b/src/filedef.cpp
@@ -780,7 +780,7 @@ void FileDef::writeQuickMemberLinks(OutputList &ol,MemberDef *currentMd) const
MemberDef *md;
for (mli.toFirst();(md=mli.current());++mli)
{
- if (md->getFileDef()==this && md->getNamespaceDef()==0 && md->isLinkable())
+ if (md->getFileDef()==this && md->getNamespaceDef()==0 && md->isLinkable() && !md->isEnumValue())
{
ol.writeString(" <tr><td class=\"navtab\">");
if (md->isLinkableInProject())
diff --git a/src/groupdef.cpp b/src/groupdef.cpp
index 59f3594..85bfb8f 100644
--- a/src/groupdef.cpp
+++ b/src/groupdef.cpp
@@ -1134,7 +1134,7 @@ void GroupDef::writeQuickMemberLinks(OutputList &ol,MemberDef *currentMd) const
MemberDef *md;
for (mli.toFirst();(md=mli.current());++mli)
{
- if (md->getGroupDef()==this && md->isLinkable())
+ if (md->getGroupDef()==this && md->isLinkable() && !md->isEnumValue())
{
ol.writeString(" <tr><td class=\"navtab\">");
if (md->isLinkableInProject())
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp
index 8236f70..2aa5728 100644
--- a/src/namespacedef.cpp
+++ b/src/namespacedef.cpp
@@ -664,7 +664,7 @@ void NamespaceDef::writeQuickMemberLinks(OutputList &ol,MemberDef *currentMd) co
MemberDef *md;
for (mli.toFirst();(md=mli.current());++mli)
{
- if (md->getNamespaceDef()==this && md->isLinkable())
+ if (md->getNamespaceDef()==this && md->isLinkable() && !md->isEnumValue())
{
ol.writeString(" <tr><td class=\"navtab\">");
if (md->isLinkableInProject())