summaryrefslogtreecommitdiffstats
path: root/src/memberdef.h
diff options
context:
space:
mode:
authordimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-09-01 19:53:48 (GMT)
committerdimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7>2002-09-01 19:53:48 (GMT)
commit0a37457c83248543ec84ee6cf7a64188a013fb8c (patch)
treeda974cfae9e6014de9194f883223647574559cba /src/memberdef.h
parent55d2ef8412008e1560b0d5a2ecc2031f269af4a1 (diff)
downloadDoxygen-0a37457c83248543ec84ee6cf7a64188a013fb8c.zip
Doxygen-0a37457c83248543ec84ee6cf7a64188a013fb8c.tar.gz
Doxygen-0a37457c83248543ec84ee6cf7a64188a013fb8c.tar.bz2
Doxygen-1.2.17-20020901
Diffstat (limited to 'src/memberdef.h')
-rw-r--r--src/memberdef.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/memberdef.h b/src/memberdef.h
index 8dd36f3..8755f4e 100644
--- a/src/memberdef.h
+++ b/src/memberdef.h
@@ -245,6 +245,12 @@ class MemberDef : public Definition
}
void setBodyMember(MemberDef *md) { bodyMemb = md; }
void setDocsForDefinition(bool b) { docsForDefinition = b; }
+
+ // declaration <-> definition relation
+ void setMemberDefinition(MemberDef *md) { memDef=md; }
+ void setMemberDeclaration(MemberDef *md) { memDec=md; }
+ MemberDef *memberDefinition() const { return memDef; }
+ MemberDef *memberDeclaration() const { return memDec; }
bool visited;
@@ -270,8 +276,6 @@ class MemberDef : public Definition
QCString init; // initializer
int initLines; // number of lines in the initializer
QCString decl; // member declaration in class
- //QCString declFile; // file where the declaration was found
- //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
@@ -281,7 +285,6 @@ class MemberDef : public Definition
bool stat; // is it a static function?
int memSpec; // The specifiers present for this member
MemberType mtype; // returns the kind of member
- //bool eUsed; // is the enumerate already placed in a list
bool proto; // is it a prototype;
bool docEnumValues; // is an enum with documented enum values.
bool annScope; // member is part of an annoymous scope