diff options
Diffstat (limited to 'src/memberdef.h')
-rw-r--r-- | src/memberdef.h | 7 |
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 |