summaryrefslogtreecommitdiffstats
path: root/src/groupdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2007-02-19 18:51:10 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2007-02-19 18:51:10 (GMT)
commiteb591296685b8268427173e0a24f74abd987170d (patch)
treec87efff649bf31ee31966a867e71ba7f159fca43 /src/groupdef.cpp
parent84dc695cd534be6a58ae71ec7f2bcf3b6b5e9e64 (diff)
downloadDoxygen-eb591296685b8268427173e0a24f74abd987170d.zip
Doxygen-eb591296685b8268427173e0a24f74abd987170d.tar.gz
Doxygen-eb591296685b8268427173e0a24f74abd987170d.tar.bz2
Release-1.5.1-20070219
Diffstat (limited to 'src/groupdef.cpp')
-rw-r--r--src/groupdef.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/groupdef.cpp b/src/groupdef.cpp
index 13a5681..4370f5c 100644
--- a/src/groupdef.cpp
+++ b/src/groupdef.cpp
@@ -2,7 +2,7 @@
*
*
*
- * Copyright (C) 1997-2006 by Dimitri van Heesch.
+ * Copyright (C) 1997-2007 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
@@ -153,6 +153,7 @@ void GroupDef::findSectionsInDocumentation()
void GroupDef::addFile(const FileDef *def)
{
+ if (def->isHidden()) return;
if (Config_getBool("SORT_BRIEF_DOCS"))
fileList->inSort(def);
else
@@ -161,6 +162,7 @@ void GroupDef::addFile(const FileDef *def)
void GroupDef::addClass(const ClassDef *cd)
{
+ if (cd->isHidden()) return;
if (Config_getBool("SORT_BRIEF_DOCS"))
classSDict->inSort(cd->name(),cd);
else
@@ -169,6 +171,7 @@ void GroupDef::addClass(const ClassDef *cd)
void GroupDef::addNamespace(const NamespaceDef *def)
{
+ if (def->isHidden()) return;
if (Config_getBool("SORT_BRIEF_DOCS"))
namespaceSDict->inSort(def->name(),def);
else
@@ -177,6 +180,7 @@ void GroupDef::addNamespace(const NamespaceDef *def)
void GroupDef::addDir(const DirDef *def)
{
+ if (def->isHidden()) return;
if (Config_getBool("SORT_BRIEF_DOCS"))
dirList->inSort(def);
else
@@ -185,6 +189,7 @@ void GroupDef::addDir(const DirDef *def)
void GroupDef::addPage(PageDef *def)
{
+ if (def->isHidden()) return;
//printf("Making page %s part of a group\n",def->name.data());
pageDict->append(def->name(),def);
def->makePartOfGroup(this);
@@ -192,6 +197,7 @@ void GroupDef::addPage(PageDef *def)
void GroupDef::addExample(const PageDef *def)
{
+ if (def->isHidden()) return;
exampleDict->append(def->name(),def);
}
@@ -229,6 +235,7 @@ void GroupDef::addMembersToMemberGroup()
bool GroupDef::insertMember(MemberDef *md,bool docOnly)
{
+ if (md->isHidden()) return FALSE;
//printf("GroupDef(%s)::insertMember(%s)\n", title.data(), md->name().data());
MemberNameInfo *mni=0;
if ((mni=(*allMemberNameInfoSDict)[md->name()]))