summaryrefslogtreecommitdiffstats
path: root/src/definition.h
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2001-11-04 19:03:17 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2001-11-04 19:03:17 (GMT)
commit7f95c8f5a256da0fafba27d5188d700e3c118dd1 (patch)
tree8d5db673565aca95db666b5c91bda3e5d7f51efa /src/definition.h
parent94dae6d432b60f047679ade65a31f55dfc1fb271 (diff)
downloadDoxygen-7f95c8f5a256da0fafba27d5188d700e3c118dd1.zip
Doxygen-7f95c8f5a256da0fafba27d5188d700e3c118dd1.tar.gz
Doxygen-7f95c8f5a256da0fafba27d5188d700e3c118dd1.tar.bz2
Release-1.2.11-20011104
Diffstat (limited to 'src/definition.h')
-rw-r--r--src/definition.h25
1 files changed, 14 insertions, 11 deletions
diff --git a/src/definition.h b/src/definition.h
index 090dcd5..b98f0f2 100644
--- a/src/definition.h
+++ b/src/definition.h
@@ -24,8 +24,9 @@
class FileDef;
class OutputList;
class SectionDict;
-class MemberList;
-class MemberDict;
+//class MemberList;
+//class MemberDict;
+class MemberSDict;
class MemberDef;
/*! The common base class of all entity definitions found in the sources. */
@@ -90,11 +91,7 @@ class Definition
void writeDocAnchorsToTagFile();
// source references
- void setBodySegment(int bls,int ble)
- {
- m_startBodyLine=bls;
- m_endBodyLine=ble;
- }
+ void setBodySegment(int bls,int ble);
void setBodyDef(FileDef *fd) { m_bodyDef=fd; }
int getStartBodyLine() const { return m_startBodyLine; }
int getEndBodyLine() const { return m_endBodyLine; }
@@ -102,7 +99,9 @@ class Definition
void writeSourceDef(OutputList &ol,const char *scopeName);
void writeInlineCode(OutputList &ol,const char *scopeName);
void writeSourceRefs(OutputList &ol,const char *scopeName);
- void addSourceReference(MemberDef *d);
+ void writeSourceReffedBy(OutputList &ol,const char *scopeName);
+ void addSourceReferencedBy(MemberDef *d);
+ void addSourceReferences(MemberDef *d);
void setRefItems(int todoId,int testId,int bugId)
{
@@ -141,14 +140,18 @@ class Definition
// in the future m_name should become m_localName
private:
+ void writeSourceRefList(OutputList &ol,const char *scopeName,
+ const QCString &text,MemberSDict *members);
//QCString m_qualifiedName; // name of the definition
QCString m_brief; // brief description
QCString m_doc; // detailed description
QCString m_ref; // reference to external documentation
SectionDict *m_sectionDict; // dictionary of all sections
- MemberList *m_sourceRefList; // list of entities that refer to this
- // entity in their definition
- MemberDict *m_sourceRefDict;
+ //MemberList *m_sourceRefList; // list of entities that refer to this
+ // // entity in their definition
+ //MemberDict *m_sourceRefDict;
+ MemberSDict *m_sourceRefByDict;
+ MemberSDict *m_sourceRefsDict;
int m_testId; // id for test list item
int m_todoId; // id for todo list item
int m_bugId; // id for bug list item