diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-03-12 17:43:22 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2000-03-12 17:43:22 (GMT) |
commit | de611600b5521fab9d65a1b4f27d2042e7b546f9 (patch) | |
tree | e9f3eb760b666941c8905588b99d5e8378c8b507 /src/memberdef.h | |
parent | 000241f7603af61328b25cd9a9defc40be43e558 (diff) | |
download | Doxygen-de611600b5521fab9d65a1b4f27d2042e7b546f9.zip Doxygen-de611600b5521fab9d65a1b4f27d2042e7b546f9.tar.gz Doxygen-de611600b5521fab9d65a1b4f27d2042e7b546f9.tar.bz2 |
Release 1.1.1
Diffstat (limited to 'src/memberdef.h')
-rw-r--r-- | src/memberdef.h | 27 |
1 files changed, 17 insertions, 10 deletions
diff --git a/src/memberdef.h b/src/memberdef.h index d5f98d0..2cce60d 100644 --- a/src/memberdef.h +++ b/src/memberdef.h @@ -24,14 +24,16 @@ #include "entry.h" #include "definition.h" -class FileDef; class ClassDef; class NamespaceDef; +class GroupDef; +class FileDef; class MemberList; class MemberGroup; class ExampleList; class ExampleDict; class OutputList; +class GroupDef; class MemberDef : public Definition { @@ -62,10 +64,12 @@ class MemberDef : public Definition const ArgumentList *al); ~MemberDef(); - void writeLink(OutputList &ol,ClassDef *cd,NamespaceDef *nd, - FileDef *fd,MemberGroup *mg); - void writeDeclaration(OutputList &ol,ClassDef *cd,NamespaceDef *nd,FileDef *fd, - int prevGroupId,bool inGroup); + void writeLink(OutputList &ol, + ClassDef *cd,NamespaceDef *nd,FileDef *fd,GroupDef *gd, + MemberGroup *mg); + void writeDeclaration(OutputList &ol, + ClassDef *cd,NamespaceDef *nd,FileDef *fd,GroupDef *gd, + int prevGroupId,bool inGroup); void writeDocumentation(MemberList *ml,OutputList &ol, const char *scopeName/*,MemberType m*/); void warnIfUndocumented(); @@ -83,6 +87,12 @@ class MemberDef : public Definition Protection protection() const { return prot; } Specifier virtualness() const { return virt; } MemberType memberType() const { return mtype; } + GroupDef *groupDef() const { return group; } + FileDef *getFileDef() { return fileDef; } + FileDef *getFileDec() { return fileDec; } + bool isRelated() const { return related; } + bool isStatic() const { return stat; } + bool isInline() const { return inLine; } void setMemberType(MemberType t) { mtype=t; } void setDefinition(const char *d) { def=d; } void setDefFile(const char *f) { defFile=f; } @@ -96,13 +106,9 @@ class MemberDef : public Definition init=init.stripWhiteSpace(); initLines=init.contains('\n'); } - FileDef *getFileDef() { return fileDef; } - FileDef *getFileDec() { return fileDec; } void setMemberClass(ClassDef *cd) { classDef=cd; } void makeRelated() { related=TRUE; } - bool isRelated() const { return related; } - bool isStatic() const { return stat; } - bool isInline() const { return inLine; } + void setGroupDef(GroupDef *gd) { group=gd; } bool hasDocumentation() // overrides hasDocumentation in definition.h { return Definition::hasDocumentation(); } @@ -236,6 +242,7 @@ class MemberDef : public Definition int grpId; // group id QCString grpHeader; // group header MemberGroup *memberGroup; // group's member definition + GroupDef *group; // group in which this member is in // disable copying of member defs MemberDef(const MemberDef &); |