summaryrefslogtreecommitdiffstats
path: root/src/memberdef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-01-05 10:26:10 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-01-05 10:26:10 (GMT)
commita66e1ada3c7467e267ff39262178fa4577f0b6ab (patch)
treeee15d10d932fa1d21de3ebfcb445e2bd81b9f00b /src/memberdef.cpp
parentff11b7d98ad7d24770afd151aa6b439adc7506d2 (diff)
downloadDoxygen-a66e1ada3c7467e267ff39262178fa4577f0b6ab.zip
Doxygen-a66e1ada3c7467e267ff39262178fa4577f0b6ab.tar.gz
Doxygen-a66e1ada3c7467e267ff39262178fa4577f0b6ab.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);
+}
+