summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/filedef.cpp')
-rw-r--r--src/filedef.cpp20
1 files changed, 19 insertions, 1 deletions
diff --git a/src/filedef.cpp b/src/filedef.cpp
index e2e6be0..00f8f2c 100644
--- a/src/filedef.cpp
+++ b/src/filedef.cpp
@@ -29,6 +29,7 @@
#include "dot.h"
#include "message.h"
#include "code.h"
+#include "docparser.h"
//#include "xml.h"
/*! create a new file definition, where \a p is the file path,
@@ -97,6 +98,23 @@ void FileDef::distributeMemberGroupDocumentation()
}
}
+void FileDef::findSectionsInDocumentation()
+{
+ docFindSections(documentation(),0,this,0);
+ MemberGroupSDict::Iterator mgli(*memberGroupSDict);
+ MemberGroup *mg;
+ for (;(mg=mgli.current());++mgli)
+ {
+ mg->findSectionsInDocumentation();
+ }
+ decDefineMembers.findSectionsInDocumentation();
+ decProtoMembers.findSectionsInDocumentation();
+ decTypedefMembers.findSectionsInDocumentation();
+ decEnumMembers.findSectionsInDocumentation();
+ decFuncMembers.findSectionsInDocumentation();
+ decVarMembers.findSectionsInDocumentation();
+}
+
void FileDef::writeDetailedDocumentation(OutputList &ol)
{
if ((!briefDescription().isEmpty() && Config_getBool("REPEAT_BRIEF")) ||
@@ -369,7 +387,7 @@ void FileDef::writeDocumentation(OutputList &ol)
ol.docify(nd->displayName());
ol.endBold();
}
- ol.endMemberItem(FALSE);
+ ol.endMemberItem();
}
}
if (found) ol.endMemberList();