diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2002-01-05 10:26:10 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2002-01-05 10:26:10 (GMT) |
commit | 9d4d8095cd70a06a3536eea20c32ca7bbddd9f3a (patch) | |
tree | ee15d10d932fa1d21de3ebfcb445e2bd81b9f00b /src/memberdef.cpp | |
parent | ad53b7bebd3042598e5a11b1f3ef29468815138b (diff) | |
download | Doxygen-9d4d8095cd70a06a3536eea20c32ca7bbddd9f3a.zip Doxygen-9d4d8095cd70a06a3536eea20c32ca7bbddd9f3a.tar.gz Doxygen-9d4d8095cd70a06a3536eea20c32ca7bbddd9f3a.tar.bz2 |
Release-1.2.13.1
Diffstat (limited to 'src/memberdef.cpp')
-rw-r--r-- | src/memberdef.cpp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/memberdef.cpp b/src/memberdef.cpp index baa1452..a72add2 100644 --- a/src/memberdef.cpp +++ b/src/memberdef.cpp @@ -349,6 +349,7 @@ MemberDef::MemberDef(const char *df,int dl, argList=0; } m_templateMaster=0; + classSectionSDict=0; } /*! Destroys the member definition. */ @@ -360,6 +361,7 @@ MemberDef::~MemberDef() delete argList; delete tArgList; delete m_defTmpArgLists; + delete classSectionSDict; } void MemberDef::setReimplements(MemberDef *md) @@ -1670,3 +1672,14 @@ void MemberDef::addListReference(Definition *d) d->getOutputFileBase()+":"+anchor(),memName,argsString()); } +MemberList *MemberDef::getSectionList(Definition *d) const +{ + return (d!=0 && classSectionSDict) ? classSectionSDict->find((int)d) : 0; +} + +void MemberDef::setSectionList(Definition *d, MemberList *sl) +{ + if (classSectionSDict==0) classSectionSDict = new SIntDict<MemberList>(7); + classSectionSDict->append((int)d,sl); +} + |