diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-09-01 19:53:48 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-09-01 19:53:48 (GMT) |
commit | fe35e3ac26cdbffce193076f33b32164989ace28 (patch) | |
tree | da974cfae9e6014de9194f883223647574559cba /src/memberdef.cpp | |
parent | 6b47ce0c7beaaf8f88058953865e8425cb3ca272 (diff) | |
download | Doxygen-fe35e3ac26cdbffce193076f33b32164989ace28.zip Doxygen-fe35e3ac26cdbffce193076f33b32164989ace28.tar.gz Doxygen-fe35e3ac26cdbffce193076f33b32164989ace28.tar.bz2 |
Doxygen-1.2.17-20020901
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r-- | src/memberdef.cpp | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp index 3127259..6932f7d 100644 --- a/src/memberdef.cpp +++ b/src/memberdef.cpp @@ -552,7 +552,14 @@ ClassDef *MemberDef::getClassDefOfAnonymousType() */ bool MemberDef::isBriefSectionVisible() const { - bool hasDocs = hasDocumentation(); + //printf("Member %s grpId=%d docs=%s file=%s args=%s\n", + // name().data(), + // grpId,grpId==-1?"<none>":Doxygen::memberDocDict[grpId]->data(), + // getFileDef()->name().data(), + // argsString()); + bool hasDocs = hasDocumentation() || + // part of a documented member group + (grpId!=-1 && !Doxygen::memberDocDict[grpId]->isEmpty()); // only include static members with file/namespace scope if // explicitly enabled in the config file @@ -609,6 +616,12 @@ bool MemberDef::isBriefSectionVisible() const !hasDocs ); + //printf("visibleIfStatic=%d visibleIfDocumented=%d visibleIfEnabled=%d" + // "visibleIfPrivate=%d visibleIfDocVirtual=%d visibltIfNotDefaultCDTor=%d " + // "visibleIfFriendCompound=%d\n",visibleIfStatic,visibleIfDocumented, + // visibleIfEnabled,visibleIfPrivate,visibleIfDocVirtual,visibleIfNotDefaultCDTor, + // visibleIfFriendCompound); + bool visible = visibleIfStatic && visibleIfDocumented && visibleIfEnabled && visibleIfPrivate && visibleIfDocVirtual && visibleIfNotDefaultCDTor && |