summaryrefslogtreecommitdiffstats
path: root/src/namespacedef.cpp
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2006-01-15 22:13:59 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2006-01-15 22:13:59 (GMT)
commit0165662ac50544cad138573c42097999327b84bc (patch)
tree02ffe0b25b4258265375952770daddbce00b6b7b /src/namespacedef.cpp
parentb965d71c36017c5ad67e78a6cb8e300ddbec7bf6 (diff)
downloadDoxygen-0165662ac50544cad138573c42097999327b84bc.zip
Doxygen-0165662ac50544cad138573c42097999327b84bc.tar.gz
Doxygen-0165662ac50544cad138573c42097999327b84bc.tar.bz2
Release-1.4.6-20060115
Diffstat (limited to 'src/namespacedef.cpp')
-rw-r--r--src/namespacedef.cpp25
1 files changed, 13 insertions, 12 deletions
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp
index b5ee936..447a074 100644
--- a/src/namespacedef.cpp
+++ b/src/namespacedef.cpp
@@ -151,44 +151,45 @@ void NamespaceDef::insertMember(MemberDef *md)
{
//memList->append(md);
allMemberList.append(md);
+ static bool sortBriefDocs=Config_getBool("SORT_BRIEF_DOCS");
switch(md->memberType())
{
case MemberDef::Variable:
- if (Config_getBool("SORT_BRIEF_DOCS"))
+ if (sortBriefDocs)
decVarMembers.inSort(md);
else
decVarMembers.append(md);
- if (Config_getBool("SORT_MEMBER_DOCS"))
+ if (sortBriefDocs)
docVarMembers.inSort(md);
else
docVarMembers.append(md);
break;
case MemberDef::Function:
- if (Config_getBool("SORT_BRIEF_DOCS"))
+ if (sortBriefDocs)
decFuncMembers.inSort(md);
else
decFuncMembers.append(md);
- if (Config_getBool("SORT_MEMBER_DOCS"))
+ if (sortBriefDocs)
docFuncMembers.inSort(md);
else
docFuncMembers.append(md);
break;
case MemberDef::Typedef:
- if (Config_getBool("SORT_BRIEF_DOCS"))
+ if (sortBriefDocs)
decTypedefMembers.inSort(md);
else
decTypedefMembers.append(md);
- if (Config_getBool("SORT_MEMBER_DOCS"))
+ if (sortBriefDocs)
docTypedefMembers.inSort(md);
else
docTypedefMembers.append(md);
break;
case MemberDef::Enumeration:
- if (Config_getBool("SORT_BRIEF_DOCS"))
+ if (sortBriefDocs)
decEnumMembers.inSort(md);
else
decEnumMembers.append(md);
- if (Config_getBool("SORT_MEMBER_DOCS"))
+ if (sortBriefDocs)
docEnumMembers.inSort(md);
else
docEnumMembers.append(md);
@@ -196,21 +197,21 @@ void NamespaceDef::insertMember(MemberDef *md)
case MemberDef::EnumValue:
break;
case MemberDef::Prototype:
- if (Config_getBool("SORT_BRIEF_DOCS"))
+ if (sortBriefDocs)
decProtoMembers.inSort(md);
else
decProtoMembers.append(md);
- if (Config_getBool("SORT_MEMBER_DOCS"))
+ if (sortBriefDocs)
docProtoMembers.inSort(md);
else
docProtoMembers.append(md);
break;
case MemberDef::Define:
- if (Config_getBool("SORT_BRIEF_DOCS"))
+ if (sortBriefDocs)
decDefineMembers.inSort(md);
else
decDefineMembers.append(md);
- if (Config_getBool("SORT_MEMBER_DOCS"))
+ if (sortBriefDocs)
docDefineMembers.inSort(md);
else
docDefineMembers.append(md);