summaryrefslogtreecommitdiffstats
path: root/src/memberdef.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2003-08-24 20:42:56 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2003-08-24 20:42:56 (GMT)
commit5b0de0b4249965d3ae2ca3e67f40ef810e0a9598 (patch)
treebfd280ef12015bf793b71236c30364c6618cbaf8 /src/memberdef.h
parent8626ab32d671ffcdc75dffce04dd05a671cfb42c (diff)
downloadDoxygen-5b0de0b4249965d3ae2ca3e67f40ef810e0a9598.zip
Doxygen-5b0de0b4249965d3ae2ca3e67f40ef810e0a9598.tar.gz
Doxygen-5b0de0b4249965d3ae2ca3e67f40ef810e0a9598.tar.bz2
Release-1.3.3-20030824
Diffstat (limited to 'src/memberdef.h')
-rw-r--r--src/memberdef.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/memberdef.h b/src/memberdef.h
index 4fe2ee0..cba40d1 100644
--- a/src/memberdef.h
+++ b/src/memberdef.h
@@ -175,6 +175,10 @@ class MemberDef : public Definition
MemberDef *reimplements() const;
MemberList *reimplementedBy() const;
+ // For function documentation that can also be found in a class's related func section.
+ void setRelatedAlso(ClassDef *cd) { m_relatedAlso=cd; }
+ ClassDef *relatedAlso() const { return m_relatedAlso; }
+
// enumeration specific members
void insertEnumField(MemberDef *md);
void setEnumScope(MemberDef *md);
@@ -248,6 +252,11 @@ class MemberDef : public Definition
void setBodyMember(MemberDef *md) { bodyMemb = md; }
void setDocsForDefinition(bool b) { docsForDefinition = b; }
+ // cached typedef functions
+ bool isTypedefValCached() const { return m_isTypedefValCached; }
+ ClassDef *getCachedTypedefVal() const { return m_cachedTypedefValue; }
+ void cacheTypedefVal(ClassDef *val) { m_isTypedefValCached=TRUE; m_cachedTypedefValue=val; }
+
// declaration <-> definition relation
void setMemberDefinition(MemberDef *md) { memDef=md; }
void setMemberDeclaration(MemberDef *md) { memDec=md; }
@@ -270,6 +279,7 @@ class MemberDef : public Definition
MemberList *redefinedBy; // the list of members that redefine this one
MemberDef *memDef; // member definition for this declaration
MemberDef *memDec; // member declaration for this definition
+ ClassDef *m_relatedAlso; // points to class marked by relatedAlso
ExampleSDict *exampleSDict; // a dictionary of all examples for quick access
@@ -332,6 +342,10 @@ class MemberDef : public Definition
MemberDef(const MemberDef &);
MemberDef &operator=(const MemberDef &);
static int s_indentLevel;
+
+ bool m_isTypedefValCached;
+ ClassDef *m_cachedTypedefValue;
+
};
#endif