diff options
Diffstat (limited to 'src/membergroup.h')
-rw-r--r-- | src/membergroup.h | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/src/membergroup.h b/src/membergroup.h index c1433cf..3b8e0fc 100644 --- a/src/membergroup.h +++ b/src/membergroup.h @@ -1,12 +1,12 @@ /****************************************************************************** * - * + * * * Copyright (C) 1997-2015 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 - * granted. No representations are made about the suitability of this software + * documentation under the terms of the GNU General Public License is hereby + * granted. No representations are made about the suitability of this software * for any purpose. It is provided "as is" without express or implied warranty. * See the GNU General Public License for more details. * @@ -23,6 +23,7 @@ #include <qlist.h> #include "sortdict.h" #include "types.h" +#include "reflist.h" #define DOX_NOGROUP -1 @@ -38,7 +39,7 @@ class FTextStream; class RefItem; /** A class representing a group of members. */ -class MemberGroup +class MemberGroup { public: MemberGroup(); @@ -81,14 +82,14 @@ class MemberGroup int countInheritableMembers(const ClassDef *inheritedFrom) const; void setInGroup(bool b); void addListReferences(Definition *d); - void setRefItems(const std::vector<RefItem*> &sli); + void setRefItems(const RefItemVector &sli); MemberList *members() const { return memberList; } QCString anchor() const; QCString docFile() const { return m_docFile; } int docLine() const { return m_docLine; } - private: + private: MemberList *memberList = 0; // list of all members in the group MemberList *inDeclSection = 0; int grpId = 0; @@ -100,7 +101,7 @@ class MemberGroup int m_numDocMembers = 0; QCString m_docFile; int m_docLine = 0; - std::vector<RefItem*> m_xrefListItems; + RefItemVector m_xrefListItems; }; /** A list of MemberGroup objects. */ @@ -112,7 +113,7 @@ class MemberGroupList : public QList<MemberGroup> class MemberGroupListIterator : public QListIterator<MemberGroup> { public: - MemberGroupListIterator(const MemberGroupList &l) : + MemberGroupListIterator(const MemberGroupList &l) : QListIterator<MemberGroup>(l) {} }; @@ -132,13 +133,13 @@ class MemberGroupSDict : public SIntDict<MemberGroup> /** Data collected for a member group */ struct MemberGroupInfo { - void setRefItems(const std::vector<RefItem*> &sli); + void setRefItems(const RefItemVector &sli); QCString header; QCString doc; QCString docFile; int docLine = -1; QCString compoundName; - std::vector<RefItem*> m_sli; + RefItemVector m_sli; }; #endif |