diff options
author | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-10-05 12:34:05 (GMT) |
---|---|---|
committer | dimitri <dimitri@afe2bf4a-e733-0410-8a33-86f594647bc7> | 2003-10-05 12:34:05 (GMT) |
commit | aaf87cb6d6601d665a06dc4556da4ce10c98e127 (patch) | |
tree | 97864d162da48ec2548b1b05987ddbb5301769b1 /src/memberdef.h | |
parent | 7cdb9679aa5e9baf87772f2c7799ff7b5fe01207 (diff) | |
download | Doxygen-aaf87cb6d6601d665a06dc4556da4ce10c98e127.zip Doxygen-aaf87cb6d6601d665a06dc4556da4ce10c98e127.tar.gz Doxygen-aaf87cb6d6601d665a06dc4556da4ce10c98e127.tar.bz2 |
Release-1.3.4-20031005
Diffstat (limited to 'src/memberdef.h')
-rw-r--r-- | src/memberdef.h | 28 |
1 files changed, 20 insertions, 8 deletions
diff --git a/src/memberdef.h b/src/memberdef.h index cba40d1..4898a89 100644 --- a/src/memberdef.h +++ b/src/memberdef.h @@ -74,13 +74,14 @@ class MemberDef : public Definition DefType definitionType() { return TypeMember; } QCString getOutputFileBase() const; + QCString getReference() const; + QCString anchor() const; const char *declaration() const { return decl; } const char *definition() const { return def; } const char *typeString() const { return type; } const char *argsString() const { return args; } const char *excpString() const { return exception; } const char *bitfieldString() const { return bitfields; } - QCString anchor() const; const QCString &initializer() const { return init; } int initializerLines() const { return initLines; } int getMemberSpecifiers() const { return memSpec; } @@ -175,6 +176,12 @@ class MemberDef : public Definition MemberDef *reimplements() const; MemberList *reimplementedBy() const; + // in-body documentation + void setInbodyDocumentation(const char *docs,const char *file,int line); + int inbodyLine() const { return m_inbodyLine; } + QCString inbodyFile() const { return m_inbodyFile; } + const QCString &inbodyDocumentation() const { return m_inbodyDocs; } + // 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; } @@ -245,12 +252,13 @@ class MemberDef : public Definition 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; } + //QCString getBodyAnchor() const + //{ + // return bodyMemb ? bodyMemb->anchor() : anchor(); + //} + //void setBodyMember(MemberDef *md) { bodyMemb = md; } void setDocsForDefinition(bool b) { docsForDefinition = b; } + void setGroupAlias(MemberDef *md) { groupAlias = md; } // cached typedef functions bool isTypedefValCached() const { return m_isTypedefValCached; } @@ -295,7 +303,7 @@ class MemberDef : public Definition QCString decl; // member declaration in class QCString def; // member definition in code (fully qualified name) QCString anc; // HTML anchor name - MemberDef *bodyMemb; // Member containing the definition + MemberDef *groupAlias; // 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 @@ -345,7 +353,11 @@ class MemberDef : public Definition bool m_isTypedefValCached; ClassDef *m_cachedTypedefValue; - + + // inbody documentation + int m_inbodyLine; + QCString m_inbodyFile; + QCString m_inbodyDocs; }; #endif |