summaryrefslogtreecommitdiffstats
path: root/src/groupdef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2006-06-11 07:58:28 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2006-06-11 07:58:28 (GMT)
commit07ee85ebcc91a12df8a92078f33e700e5f9f40e8 (patch)
tree30cd22ecad5caf15fa470d190298c4e98b02e971 /src/groupdef.cpp
parentde0997f3baf049e0c312ac4fc9b9b762fdc40e00 (diff)
downloadDoxygen-07ee85ebcc91a12df8a92078f33e700e5f9f40e8.zip
Doxygen-07ee85ebcc91a12df8a92078f33e700e5f9f40e8.tar.gz
Doxygen-07ee85ebcc91a12df8a92078f33e700e5f9f40e8.tar.bz2
Release-1.4.7
Diffstat (limited to 'src/groupdef.cpp')
-rw-r--r--src/groupdef.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/groupdef.cpp b/src/groupdef.cpp
index 94df15f..d0ce1cc 100644
--- a/src/groupdef.cpp
+++ b/src/groupdef.cpp
@@ -71,6 +71,7 @@ GroupDef::GroupDef(const char *df,int dl,const char *na,const char *t,
docProtoMembers.setInGroup(TRUE);
docTypedefMembers.setInGroup(TRUE);
docEnumMembers.setInGroup(TRUE);
+ docEnumValMembers.setInGroup(TRUE);
docFuncMembers.setInGroup(TRUE);
docVarMembers.setInGroup(TRUE);
@@ -302,6 +303,18 @@ bool GroupDef::insertMember(MemberDef *md,bool docOnly)
docEnumMembers.append(md);
break;
case MemberDef::EnumValue:
+ if (!docOnly)
+ {
+ //printf("enum value %s!\n",md->name().data());
+ if (Config_getBool("SORT_BRIEF_DOCS"))
+ decEnumValMembers.inSort(md);
+ else
+ decEnumValMembers.append(md);
+ }
+ if (Config_getBool("SORT_MEMBER_DOCS"))
+ docEnumValMembers.inSort(md);
+ else
+ docEnumValMembers.append(md);
break;
case MemberDef::Prototype:
if (!docOnly)
@@ -381,6 +394,8 @@ void GroupDef::removeMember(MemberDef *md)
docEnumMembers.remove(md);
break;
case MemberDef::EnumValue:
+ decEnumValMembers.remove(md);
+ docEnumValMembers.remove(md);
break;
case MemberDef::Prototype:
decProtoMembers.remove(md);
@@ -654,6 +669,7 @@ void GroupDef::writeDocumentation(OutputList &ol)
decProtoMembers.writeDeclarations(ol,0,0,0,this,theTranslator->trFuncProtos(),0);
decTypedefMembers.writeDeclarations(ol,0,0,0,this,theTranslator->trTypedefs(),0);
decEnumMembers.writeDeclarations(ol,0,0,0,this,theTranslator->trEnumerations(),0);
+ decEnumValMembers.writeDeclarations(ol,0,0,0,this,theTranslator->trEnumerationValues(),0,TRUE);
decFuncMembers.writeDeclarations(ol,0,0,0,this,theTranslator->trFunctions(),0);
decVarMembers.writeDeclarations(ol,0,0,0,this,theTranslator->trVariables(),0);
}
@@ -729,6 +745,9 @@ void GroupDef::writeMemberDocumentation(OutputList &ol)
docEnumMembers.writeDocumentation(ol,name(),this,
theTranslator->trEnumerationTypeDocumentation());
+ docEnumValMembers.writeDocumentation(ol,name(),this,
+ theTranslator->trEnumerationValueDocumentation(),TRUE);
+
docFuncMembers.writeDocumentation(ol,name(),this,
theTranslator->trFunctionDocumentation());