summaryrefslogtreecommitdiffstats
path: root/src/membergroup.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2000-03-26 18:52:22 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2000-03-26 18:52:22 (GMT)
commit463cf5c8bf92db792652bc1e4ba6b59cb7b17bc2 (patch)
tree888e1c2b9f5a4b736dacc9a4ec34b94ac3849757 /src/membergroup.h
parent293f58696c0a5c25e312cd658ed8ddef4049a7b9 (diff)
downloadDoxygen-463cf5c8bf92db792652bc1e4ba6b59cb7b17bc2.zip
Doxygen-463cf5c8bf92db792652bc1e4ba6b59cb7b17bc2.tar.gz
Doxygen-463cf5c8bf92db792652bc1e4ba6b59cb7b17bc2.tar.bz2
Release-1.1.1-20000326
Diffstat (limited to 'src/membergroup.h')
-rw-r--r--src/membergroup.h41
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