summaryrefslogtreecommitdiffstats
path: root/src/groupdef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-11-25 18:56:18 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-11-25 18:56:18 (GMT)
commitcce8b9505201c95443798341d3d6176922db9253 (patch)
tree6643370adedf0cbaac88d674978bd44175ab1475 /src/groupdef.cpp
parentc736b03f16a88b6654ff9c1ae680e46b86e50218 (diff)
downloadDoxygen-cce8b9505201c95443798341d3d6176922db9253.zip
Doxygen-cce8b9505201c95443798341d3d6176922db9253.tar.gz
Doxygen-cce8b9505201c95443798341d3d6176922db9253.tar.bz2
Release-1.2.12-20011125
Diffstat (limited to 'src/groupdef.cpp')
-rw-r--r--src/groupdef.cpp30
1 files changed, 14 insertions, 16 deletions
diff --git a/src/groupdef.cpp b/src/groupdef.cpp
index ec43b56..50d846b 100644
--- a/src/groupdef.cpp
+++ b/src/groupdef.cpp
@@ -46,9 +46,8 @@ GroupDef::GroupDef(const char *df,int dl,const char *na,const char *t) :
allMemberNameInfoSDict = new MemberNameInfoSDict(17);
fileName = (QCString)"group_"+na;
setGroupTitle( t );
- memberGroupList = new MemberGroupList;
- memberGroupList->setAutoDelete(TRUE);
- memberGroupDict = new MemberGroupDict(1009);
+ memberGroupSDict = new MemberGroupSDict;
+ memberGroupSDict->setAutoDelete(TRUE);
decDefineMembers.setInGroup(TRUE);
decProtoMembers.setInGroup(TRUE);
@@ -79,8 +78,7 @@ GroupDef::~GroupDef()
delete exampleDict;
delete allMemberList;
delete allMemberNameInfoSDict;
- delete memberGroupList;
- delete memberGroupDict;
+ delete memberGroupSDict;
}
void GroupDef::setGroupTitle( const char *t )
@@ -101,7 +99,7 @@ void GroupDef::setGroupTitle( const char *t )
void GroupDef::distributeMemberGroupDocumentation()
{
- MemberGroupListIterator mgli(*memberGroupList);
+ MemberGroupSDict::Iterator mgli(*memberGroupSDict);
MemberGroup *mg;
for (;(mg=mgli.current());++mgli)
{
@@ -147,16 +145,16 @@ void GroupDef::addExample(const PageInfo *def)
void GroupDef::addMembersToMemberGroup()
{
- ::addMembersToMemberGroup(&decDefineMembers,memberGroupDict,memberGroupList);
- ::addMembersToMemberGroup(&decProtoMembers,memberGroupDict,memberGroupList);
- ::addMembersToMemberGroup(&decTypedefMembers,memberGroupDict,memberGroupList);
- ::addMembersToMemberGroup(&decEnumMembers,memberGroupDict,memberGroupList);
- ::addMembersToMemberGroup(&decEnumValMembers,memberGroupDict,memberGroupList);
- ::addMembersToMemberGroup(&decFuncMembers,memberGroupDict,memberGroupList);
- ::addMembersToMemberGroup(&decVarMembers,memberGroupDict,memberGroupList);
+ ::addMembersToMemberGroup(&decDefineMembers,memberGroupSDict);
+ ::addMembersToMemberGroup(&decProtoMembers,memberGroupSDict);
+ ::addMembersToMemberGroup(&decTypedefMembers,memberGroupSDict);
+ ::addMembersToMemberGroup(&decEnumMembers,memberGroupSDict);
+ ::addMembersToMemberGroup(&decEnumValMembers,memberGroupSDict);
+ ::addMembersToMemberGroup(&decFuncMembers,memberGroupSDict);
+ ::addMembersToMemberGroup(&decVarMembers,memberGroupSDict);
//printf("GroupDef::addMembersToMemberGroup() memberGroupList=%d\n",memberGroupList->count());
- MemberGroupListIterator mgli(*memberGroupList);
+ MemberGroupSDict::Iterator mgli(*memberGroupSDict);
MemberGroup *mg;
for (;(mg=mgli.current());++mgli)
{
@@ -476,7 +474,7 @@ void GroupDef::writeDocumentation(OutputList &ol)
if (allMemberList->count()>0)
{
/* write user defined member groups */
- MemberGroupListIterator mgli(*memberGroupList);
+ MemberGroupSDict::Iterator mgli(*memberGroupSDict);
MemberGroup *mg;
for (;(mg=mgli.current());++mgli)
{
@@ -740,7 +738,7 @@ void GroupDef::addListReferences()
theTranslator->trGroup(TRUE,TRUE),
getOutputFileBase(),name()
);
- MemberGroupListIterator mgli(*memberGroupList);
+ MemberGroupSDict::Iterator mgli(*memberGroupSDict);
MemberGroup *mg;
for (;(mg=mgli.current());++mgli)
{