summaryrefslogtreecommitdiffstats
path: root/src/membergroup.cpp
diff options
context:
space:
mode:
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();
+}
+