summaryrefslogtreecommitdiffstats
path: root/src/namespacedef.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2004-01-05 19:00:26 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2004-01-05 19:00:26 (GMT)
commitee63f0e064142addc300e0411b141d2697b73500 (patch)
tree278be3215f40b4fffddab1ec6dc2b8d47da895ac /src/namespacedef.cpp
parent4369f8dfd78c7d6666a604026017cfe6e4c9fbc4 (diff)
downloadDoxygen-ee63f0e064142addc300e0411b141d2697b73500.zip
Doxygen-ee63f0e064142addc300e0411b141d2697b73500.tar.gz
Doxygen-ee63f0e064142addc300e0411b141d2697b73500.tar.bz2
Release-1.3.5-20040105
Diffstat (limited to 'src/namespacedef.cpp')
-rw-r--r--src/namespacedef.cpp34
1 files changed, 26 insertions, 8 deletions
diff --git a/src/namespacedef.cpp b/src/namespacedef.cpp
index c2aa94a..8e66402 100644
--- a/src/namespacedef.cpp
+++ b/src/namespacedef.cpp
@@ -2,7 +2,7 @@
*
*
*
- * Copyright (C) 1997-2003 by Dimitri van Heesch.
+ * Copyright (C) 1997-2004 by Dimitri van Heesch.
*
* Permission to use, copy, modify, and distribute this software and its
* documentation under the terms of the GNU General Public License is hereby
@@ -109,7 +109,7 @@ void NamespaceDef::insertClass(ClassDef *cd)
{
if (classSDict->find(cd->name())==0)
{
- if (Config_getBool("SORT_MEMBER_DOCS"))
+ if (Config_getBool("SORT_BRIEF_DOCS"))
classSDict->inSort(cd->name(),cd);
else
classSDict->append(cd->name(),cd);
@@ -145,28 +145,40 @@ void NamespaceDef::insertMember(MemberDef *md)
switch(md->memberType())
{
case MemberDef::Variable:
- decVarMembers.append(md);
+ if (Config_getBool("SORT_BRIEF_DOCS"))
+ decVarMembers.inSort(md);
+ else
+ decVarMembers.append(md);
if (Config_getBool("SORT_MEMBER_DOCS"))
docVarMembers.inSort(md);
else
docVarMembers.append(md);
break;
case MemberDef::Function:
- decFuncMembers.append(md);
+ if (Config_getBool("SORT_BRIEF_DOCS"))
+ decFuncMembers.inSort(md);
+ else
+ decFuncMembers.append(md);
if (Config_getBool("SORT_MEMBER_DOCS"))
docFuncMembers.inSort(md);
else
docFuncMembers.append(md);
break;
case MemberDef::Typedef:
- decTypedefMembers.append(md);
+ if (Config_getBool("SORT_BRIEF_DOCS"))
+ decTypedefMembers.inSort(md);
+ else
+ decTypedefMembers.append(md);
if (Config_getBool("SORT_MEMBER_DOCS"))
docTypedefMembers.inSort(md);
else
docTypedefMembers.append(md);
break;
case MemberDef::Enumeration:
- decEnumMembers.append(md);
+ if (Config_getBool("SORT_BRIEF_DOCS"))
+ decEnumMembers.inSort(md);
+ else
+ decEnumMembers.append(md);
if (Config_getBool("SORT_MEMBER_DOCS"))
docEnumMembers.inSort(md);
else
@@ -175,14 +187,20 @@ void NamespaceDef::insertMember(MemberDef *md)
case MemberDef::EnumValue:
break;
case MemberDef::Prototype:
- decProtoMembers.append(md);
+ if (Config_getBool("SORT_BRIEF_DOCS"))
+ decProtoMembers.inSort(md);
+ else
+ decProtoMembers.append(md);
if (Config_getBool("SORT_MEMBER_DOCS"))
docProtoMembers.inSort(md);
else
docProtoMembers.append(md);
break;
case MemberDef::Define:
- decDefineMembers.append(md);
+ if (Config_getBool("SORT_BRIEF_DOCS"))
+ decDefineMembers.inSort(md);
+ else
+ decDefineMembers.append(md);
if (Config_getBool("SORT_MEMBER_DOCS"))
docDefineMembers.inSort(md);
else