summaryrefslogtreecommitdiffstats
path: root/src/entry.cpp
diff options
context:
space:
mode:
authoralbert-github <albert.tests@gmail.com>2018-10-17 17:10:24 (GMT)
committeralbert-github <albert.tests@gmail.com>2018-10-17 17:10:24 (GMT)
commit0697535ad38ed122964c4673b102a8e30ad4369f (patch)
treefd730fd5ed48303aba42cf474c7a0ecb1a74d008 /src/entry.cpp
parent2f50bc0bcc39cfb27537109b779d18d7389f81f1 (diff)
downloadDoxygen-0697535ad38ed122964c4673b102a8e30ad4369f.zip
Doxygen-0697535ad38ed122964c4673b102a8e30ad4369f.tar.gz
Doxygen-0697535ad38ed122964c4673b102a8e30ad4369f.tar.bz2
Add commands to handle referenced by relation and references relation
Analogous to call graph and caller graph this patch provides an implementation for the referenced by relation and references relation. Providing the commands: - referencedbyrelation - hidereferencedbyrelation - referencesrelation - hidereferencesrelation Motivation is that some lists can get extremely large and also there is now more symmetry between the textual and graphical out.
Diffstat (limited to 'src/entry.cpp')
-rw-r--r--src/entry.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/entry.cpp b/src/entry.cpp
index a0460da..4332186 100644
--- a/src/entry.cpp
+++ b/src/entry.cpp
@@ -79,6 +79,8 @@ Entry::Entry(const Entry &e)
subGrouping = e.subGrouping;
callGraph = e.callGraph;
callerGraph = e.callerGraph;
+ referencedByRelation = e.referencedByRelation;
+ referencesRelation = e.referencesRelation;
virt = e.virt;
args = e.args;
bitfields = e.bitfields;
@@ -219,6 +221,8 @@ void Entry::reset()
{
static bool entryCallGraph = Config_getBool(CALL_GRAPH);
static bool entryCallerGraph = Config_getBool(CALLER_GRAPH);
+ static bool entryReferencedByRelation = Config_getBool(REFERENCED_BY_RELATION);
+ static bool entryReferencesRelation = Config_getBool(REFERENCES_RELATION);
//printf("Entry::reset()\n");
name.resize(0);
type.resize(0);
@@ -250,6 +254,8 @@ void Entry::reset()
mGrpId = -1;
callGraph = entryCallGraph;
callerGraph = entryCallerGraph;
+ referencedByRelation = entryReferencedByRelation;
+ referencesRelation = entryReferencesRelation;
section = EMPTY_SEC;
mtype = Method;
virt = Normal;