summaryrefslogtreecommitdiffstats
path: root/src/memberdef.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-11-11 19:20:29 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2001-11-11 19:20:29 (GMT)
commit613b33d7ce00236865f41d77e4e39b37dcbef17b (patch)
tree7d80c173dcecb625806ece76ccd2210dca925e13 /src/memberdef.h
parenta29cfb7d102b893c56c1342fc738b788fc4885cf (diff)
downloadDoxygen-613b33d7ce00236865f41d77e4e39b37dcbef17b.zip
Doxygen-613b33d7ce00236865f41d77e4e39b37dcbef17b.tar.gz
Doxygen-613b33d7ce00236865f41d77e4e39b37dcbef17b.tar.bz2
Release-1.2.11-20011111
Diffstat (limited to 'src/memberdef.h')
-rw-r--r--src/memberdef.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/memberdef.h b/src/memberdef.h
index 64cb11f..a0d15b7 100644
--- a/src/memberdef.h
+++ b/src/memberdef.h
@@ -231,6 +231,12 @@ class MemberDef : public Definition
ArgumentList *actualArgs);
void setTemplateMaster(MemberDef *mt) { m_templateMaster=mt; }
void addListReference(Definition *d);
+
+ QCString getBodyAnchor() const
+ {
+ return bodyMemb ? bodyMemb->anchor() : anchor();
+ }
+ void setBodyMember(MemberDef *md) { bodyMemb = md; }
bool visited;
@@ -260,6 +266,7 @@ class MemberDef : public Definition
//int declLine; // line where the declaration was found
QCString def; // member definition in code (fully qualified name)
QCString anc; // HTML anchor name
+ MemberDef *bodyMemb; // Member containing the definition
Specifier virt; // normal/virtual/pure virtual
Protection prot; // protection type [Public/Protected/Private]
bool related; // is this a member that is only related to a class