diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2000-05-22 18:35:23 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2000-05-22 18:35:23 (GMT) |
commit | 745526b6e9683de926af27c4313574a514a3d7c3 (patch) | |
tree | 699a18c9a8c098fc845ba00c7eb093c73b497c5c /src/groupdef.cpp | |
parent | 4f5775494986411db398172e98380acb76d5e3e6 (diff) | |
download | Doxygen-745526b6e9683de926af27c4313574a514a3d7c3.zip Doxygen-745526b6e9683de926af27c4313574a514a3d7c3.tar.gz Doxygen-745526b6e9683de926af27c4313574a514a3d7c3.tar.bz2 |
Release-1.1.3-20000522
Diffstat (limited to 'src/groupdef.cpp')
-rw-r--r-- | src/groupdef.cpp | 27 |
1 files changed, 19 insertions, 8 deletions
diff --git a/src/groupdef.cpp b/src/groupdef.cpp index 255c200..0bbe773 100644 --- a/src/groupdef.cpp +++ b/src/groupdef.cpp @@ -31,8 +31,8 @@ #include "membergroup.h" #include "doxygen.h" -GroupDef::GroupDef(const char *na,const char *t) : - Definition(na) +GroupDef::GroupDef(const char *df,int dl,const char *na,const char *t) : + Definition(df,dl,na) { fileList = new FileList; classList = new ClassList; @@ -66,6 +66,16 @@ GroupDef::~GroupDef() delete memberGroupDict; } +void GroupDef::distributeMemberGroupDocumentation() +{ + MemberGroupListIterator mgli(*memberGroupList); + MemberGroup *mg; + for (;(mg=mgli.current());++mgli) + { + mg->distributeMemberGroupDocumentation(); + } +} + void GroupDef::addFile(const FileDef *def) { fileList->append(def); @@ -159,7 +169,7 @@ void GroupDef::writeDocumentation(OutputList &ol) OutputList briefOutput(&ol); if (!briefDescription().isEmpty()) { - parseDoc(briefOutput,name(),0,briefDescription()); + parseDoc(briefOutput,defFileName,defLine,name(),0,briefDescription()); ol+=briefOutput; ol.writeString(" \n"); ol.pushGeneratorState(); @@ -189,7 +199,7 @@ void GroupDef::writeDocumentation(OutputList &ol) if (!fd->briefDescription().isEmpty() && Config::briefMemDescFlag) { ol.startMemberDescription(); - parseDoc(ol,0,0,fd->briefDescription()); + parseDoc(ol,defFileName,defLine,0,0,fd->briefDescription()); ol.endMemberDescription(); ol.newParagraph(); } @@ -214,7 +224,7 @@ void GroupDef::writeDocumentation(OutputList &ol) if (!nd->briefDescription().isEmpty() && Config::briefMemDescFlag) { ol.startMemberDescription(); - parseDoc(ol,0,0,nd->briefDescription()); + parseDoc(ol,defFileName,defLine,0,0,nd->briefDescription()); ol.endMemberDescription(); ol.newParagraph(); } @@ -238,7 +248,7 @@ void GroupDef::writeDocumentation(OutputList &ol) if (!gd->briefDescription().isEmpty() && Config::briefMemDescFlag) { ol.startMemberDescription(); - parseDoc(ol,0,0,gd->briefDescription()); + parseDoc(ol,defFileName,defLine,0,0,gd->briefDescription()); ol.endMemberDescription(); ol.newParagraph(); } @@ -284,7 +294,7 @@ void GroupDef::writeDocumentation(OutputList &ol) // write documentation if (!documentation().isEmpty()) { - parseDoc(ol,name(),0,documentation()+"\n"); + parseDoc(ol,defFileName,defLine,name(),0,documentation()+"\n"); } } @@ -427,7 +437,8 @@ void addMemberToGroups(Entry *root,MemberDef *md) } else if (mgd!=gd) { - warn("Warning: Member %s found in multiple groups.!\n" + warn(mgd->getDefFileName(),mgd->getDefLine(), + "Warning: Member %s found in multiple groups.!\n" "The member will be put in group %s, and not in group %s", md->name().data(),mgd->name().data(),gd->name().data() ); |