summaryrefslogtreecommitdiffstats
path: root/src/filedef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-11-28 20:38:57 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-11-28 20:38:57 (GMT)
commit449d9d2d4db65eeac50ea7f33a5caf7f67f2b72d (patch)
tree229ba1f0bd2e721f4cc81307b63d8c79051d1bc4 /src/filedef.cpp
parentb20ff12b9d8fa90143628233319beec2c20266d7 (diff)
downloadDoxygen-449d9d2d4db65eeac50ea7f33a5caf7f67f2b72d.zip
Doxygen-449d9d2d4db65eeac50ea7f33a5caf7f67f2b72d.tar.gz
Doxygen-449d9d2d4db65eeac50ea7f33a5caf7f67f2b72d.tar.bz2
Release-1.3-rc1-20021128
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();