summaryrefslogtreecommitdiffstats
path: root/src/membergroup.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/membergroup.cpp
parentb20ff12b9d8fa90143628233319beec2c20266d7 (diff)
downloadDoxygen-449d9d2d4db65eeac50ea7f33a5caf7f67f2b72d.zip
Doxygen-449d9d2d4db65eeac50ea7f33a5caf7f67f2b72d.tar.gz
Doxygen-449d9d2d4db65eeac50ea7f33a5caf7f67f2b72d.tar.bz2
Release-1.3-rc1-20021128
Diffstat (limited to 'src/membergroup.cpp')
-rw-r--r--src/membergroup.cpp26
1 files changed, 18 insertions, 8 deletions
diff --git a/src/membergroup.cpp b/src/membergroup.cpp
index 9bb5f17..537d55d 100644
--- a/src/membergroup.cpp
+++ b/src/membergroup.cpp
@@ -27,6 +27,7 @@
#include "scanner.h"
#include "groupdef.h"
#include "doxygen.h"
+#include "docparser.h"
//static QCString idToName(int id)
//{
@@ -35,17 +36,19 @@
// return result;
//}
-MemberGroup::MemberGroup(int id,const char *hdr,const char *d) /* : Definition(idToName(id)) */
+MemberGroup::MemberGroup(Definition *parent,
+ int id,const char *hdr,const char *d) /* : Definition(idToName(id)) */
{
//printf("New member group id=%d header=%s desc=%s\n",id,hdr,d);
- memberList = new MemberList;
- grpId = id;
- grpHeader = hdr;
- doc = d;
- scope = 0;
- inSameSection = TRUE;
- inDeclSection = 0;
+ memberList = new MemberList;
+ grpId = id;
+ grpHeader = hdr;
+ doc = d;
+ scope = 0;
+ inSameSection = TRUE;
+ inDeclSection = 0;
m_numDecMembers = -1;
+ m_parent = parent;
//printf("Member group docs=`%s'\n",doc.data());
}
@@ -210,3 +213,10 @@ void MemberGroup::addListReferences(Definition *def)
{
memberList->addListReferences(def);
}
+
+void MemberGroup::findSectionsInDocumentation()
+{
+ docFindSections(doc,0,0,this);
+ memberList->findSectionsInDocumentation();
+}
+