diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-11-28 20:38:57 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2002-11-28 20:38:57 (GMT) |
commit | f3e7209fed9703e8be668753d1083ba335121a6e (patch) | |
tree | 229ba1f0bd2e721f4cc81307b63d8c79051d1bc4 /src/membergroup.cpp | |
parent | e952dab58265a6f21867e51f72d7d81ffe39e082 (diff) | |
download | Doxygen-f3e7209fed9703e8be668753d1083ba335121a6e.zip Doxygen-f3e7209fed9703e8be668753d1083ba335121a6e.tar.gz Doxygen-f3e7209fed9703e8be668753d1083ba335121a6e.tar.bz2 |
Release-1.3-rc1-20021128
Diffstat (limited to 'src/membergroup.cpp')
-rw-r--r-- | src/membergroup.cpp | 26 |
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(); +} + |