diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-03-26 18:52:22 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-03-26 18:52:22 (GMT) |
commit | 704253e04cc098b9cbc52ffbc82ef3de23b349e7 (patch) | |
tree | 888e1c2b9f5a4b736dacc9a4ec34b94ac3849757 /src/membergroup.h | |
parent | e01f902ec8cc9f8aa417e68522b6b66c29be9669 (diff) | |
download | Doxygen-704253e04cc098b9cbc52ffbc82ef3de23b349e7.zip Doxygen-704253e04cc098b9cbc52ffbc82ef3de23b349e7.tar.gz Doxygen-704253e04cc098b9cbc52ffbc82ef3de23b349e7.tar.bz2 |
Release-1.1.1-20000326
Diffstat (limited to 'src/membergroup.h')
-rw-r--r-- | src/membergroup.h | 41 |
1 files changed, 29 insertions, 12 deletions
diff --git a/src/membergroup.h b/src/membergroup.h index 8826f1b..d96db26 100644 --- a/src/membergroup.h +++ b/src/membergroup.h @@ -1,6 +1,6 @@ /****************************************************************************** * - * $Id$ + * * * Copyright (C) 1997-2000 by Dimitri van Heesch. * @@ -21,32 +21,41 @@ #include <qlist.h> #include <qintdict.h> -#include "definition.h" +//#include "definition.h" + +#define NOGROUP -1 class MemberDef; +class ClassDef; +class NamespaceDef; +class FileDef; class MemberList; +class GroupDef; class OutputList; +class Definition; -class MemberGroup : public Definition +class MemberGroup /* : public Definition */ { public: - MemberGroup(int id,const char *header); + MemberGroup(int id,const char *header,const char *docs); ~MemberGroup(); QCString header() const { return grpHeader; } - QCString getOutputFileBase() const { return fileName; } + int groupId() const { return grpId; } void insertMember(MemberDef *); - void writeDocumentation(OutputList &ol); - MemberList *members() const { return memberList; } - void addDocumentation(); - - bool isLinkableInProject(); - bool isLinkable(); + void setAnchors(); + void writePlainDeclarations(OutputList &ol, + ClassDef *cd,NamespaceDef *nd,FileDef *fd,GroupDef *gd); + void writeDeclarations(OutputList &ol, + ClassDef *cd,NamespaceDef *nd,FileDef *fd,GroupDef *gd); + QCString documentation() { return doc; } private: - MemberList *memberList; // list of all members in the group + MemberList *memberList; // list of all members in the group int grpId; QCString grpHeader; QCString fileName; // base name of the generated file + Definition *scope; + QCString doc; }; class MemberGroupList : public QList<MemberGroup> @@ -67,4 +76,12 @@ class MemberGroupDict : public QIntDict<MemberGroup> ~MemberGroupDict() {} }; +class MemberGroupDictIterator : public QIntDictIterator<MemberGroup> +{ + public: + MemberGroupDictIterator(const MemberGroupDict &d) : + QIntDictIterator<MemberGroup>(d) {} + ~MemberGroupDictIterator() {} +}; + #endif |