summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2002-01-05 10:26:10 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2002-01-05 10:26:10 (GMT)
commit9d4d8095cd70a06a3536eea20c32ca7bbddd9f3a (patch)
treeee15d10d932fa1d21de3ebfcb445e2bd81b9f00b /src/memberdef.cpp
parentad53b7bebd3042598e5a11b1f3ef29468815138b (diff)
downloadDoxygen-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.cpp13
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);
+}
+