summaryrefslogtreecommitdiffstats
path: root/src/memberlist.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2010-05-07 19:37:33 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2010-05-07 19:37:33 (GMT)
commita3b06c4fd310fdeda48a4730139cee09b5302072 (patch)
tree58636054e8f52c5851109b908053cc4da26b060a /src/memberlist.cpp
parent368c93a05bf38e440dba3f033f6e2e1cbeb2f379 (diff)
downloadDoxygen-a3b06c4fd310fdeda48a4730139cee09b5302072.zip
Doxygen-a3b06c4fd310fdeda48a4730139cee09b5302072.tar.gz
Doxygen-a3b06c4fd310fdeda48a4730139cee09b5302072.tar.bz2
Release-1.6.3-20100507
Diffstat (limited to 'src/memberlist.cpp')
-rw-r--r--src/memberlist.cpp12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/memberlist.cpp b/src/memberlist.cpp
index 379409c..cf0235e 100644
--- a/src/memberlist.cpp
+++ b/src/memberlist.cpp
@@ -39,6 +39,7 @@ MemberList::MemberList(ListType lt) : m_listType(lt)
m_numDocMembers=-1; // special value indicating that value needs to be computed
m_inGroup=FALSE;
m_inFile=FALSE;
+ m_needsSorting=FALSE;
}
MemberList::~MemberList()
@@ -221,7 +222,7 @@ bool MemberList::declVisible() const
}
}
}
- // if this is an anoymous enum and there are variables of this
+ // if this is an anonymous enum and there are variables of this
// enum type (i.e. enumVars>0), then we do not show the enum here.
if (enumVars==0) // show enum here
{
@@ -307,7 +308,7 @@ void MemberList::writePlainDeclarations(OutputList &ol,
}
}
}
- // if this is an anoymous enum and there are variables of this
+ // if this is an anonymous enum and there are variables of this
// enum type (i.e. enumVars>0), then we do not show the enum here.
if (enumVars==0) // show enum here
{
@@ -631,6 +632,7 @@ void MemberList::marshal(StorageIntf *s)
marshalInt(s,m_numDocMembers);
marshalBool(s,m_inGroup);
marshalBool(s,m_inFile);
+ marshalBool(s,m_needsSorting);
if (memberGroupList==0)
{
marshalUInt(s,NULL_LIST); // null pointer representation
@@ -662,6 +664,7 @@ void MemberList::unmarshal(StorageIntf *s)
m_numDocMembers = unmarshalInt(s);
m_inGroup = unmarshalBool(s);
m_inFile = unmarshalBool(s);
+ m_needsSorting = unmarshalBool(s);
uint i,count = unmarshalUInt(s);
if (count==NULL_LIST) // empty list
{
@@ -733,6 +736,11 @@ QCString MemberList::listTypeAsString() const
return "";
}
+void MemberList::setNeedsSorting(bool b)
+{
+ m_needsSorting = b;
+}
+
//--------------------------------------------------------------------------
int MemberSDict::compareItems(GCI item1, GCI item2)