summaryrefslogtreecommitdiffstats
path: root/src/classlist.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2014-06-16 19:11:22 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2014-06-16 19:11:22 (GMT)
commit21178ab40160abf011fa084a10892b5b7821e44c (patch)
tree9ead1d7a97ec1f37cd48ff2ad32906d3bade24f9 /src/classlist.cpp
parent0921dea6f50b31b217cb70a6c1e2327a17591b5f (diff)
downloadDoxygen-21178ab40160abf011fa084a10892b5b7821e44c.zip
Doxygen-21178ab40160abf011fa084a10892b5b7821e44c.tar.gz
Doxygen-21178ab40160abf011fa084a10892b5b7821e44c.tar.bz2
Bug 730520 - No documentation generated for method-less C++ struct
Diffstat (limited to 'src/classlist.cpp')
-rw-r--r--src/classlist.cpp13
1 files changed, 5 insertions, 8 deletions
diff --git a/src/classlist.cpp b/src/classlist.cpp
index 5751356..6615a99 100644
--- a/src/classlist.cpp
+++ b/src/classlist.cpp
@@ -24,6 +24,7 @@
#include "vhdldocgen.h"
#include "defargs.h"
#include "arguments.h"
+#include "groupdef.h"
ClassList::ClassList() : QList<ClassDef>()
{
@@ -131,21 +132,17 @@ void ClassSDict::writeDocumentation(OutputList &ol,Definition * container)
ClassDef *cd=0;
for (sdi.toFirst();(cd=sdi.current());++sdi)
{
- //printf("%s:writeDocumentation() %p embedded=%d container=%p\n",
- // cd->name().data(),cd->getOuterScope(),cd->isEmbeddedInOuterScope(),
- // container);
+ //printf("%s:writeDocumentation() %p linkable=%d embedded=%d container=%p partOfGroups=%d\n",
+ // cd->name().data(),cd->getOuterScope(),cd->isLinkableInProject(),cd->isEmbeddedInOuterScope(),
+ // container,cd->partOfGroups() ? cd->partOfGroups()->count() : 0);
if (cd->name().find('@')==-1 &&
cd->isLinkableInProject() &&
cd->isEmbeddedInOuterScope() &&
(container==0 || cd->partOfGroups()==0) // if container==0 -> show as part of the group docs, otherwise only show if not part of a group
- //&&
- //(container==0 || // no container -> used for groups
- // cd->getOuterScope()==container || // correct container -> used for namespaces and classes
- // (container->definitionType()==Definition::TypeFile && cd->getOuterScope()==Doxygen::globalScope && cd->partOfGroups()==0) // non grouped class with file scope -> used for files
- //)
)
{
+ //printf(" showing class %s\n",cd->name().data());
if (!found)
{
ol.writeRuler();