summaryrefslogtreecommitdiffstats
path: root/src/definition.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/definition.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/definition.cpp')
-rw-r--r--src/definition.cpp10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/definition.cpp b/src/definition.cpp
index bd97f6d..33cf7ea 100644
--- a/src/definition.cpp
+++ b/src/definition.cpp
@@ -1446,18 +1446,12 @@ void Definition::_writeSourceRefList(OutputList &ol,const char *scopeName,
void Definition::writeSourceReffedBy(OutputList &ol,const char *scopeName)
{
- if (Config_getBool(REFERENCED_BY_RELATION))
- {
- _writeSourceRefList(ol,scopeName,theTranslator->trReferencedBy(),m_impl->sourceRefByDict,FALSE);
- }
+ _writeSourceRefList(ol,scopeName,theTranslator->trReferencedBy(),m_impl->sourceRefByDict,FALSE);
}
void Definition::writeSourceRefs(OutputList &ol,const char *scopeName)
{
- if (Config_getBool(REFERENCES_RELATION))
- {
- _writeSourceRefList(ol,scopeName,theTranslator->trReferences(),m_impl->sourceRefsDict,TRUE);
- }
+ _writeSourceRefList(ol,scopeName,theTranslator->trReferences(),m_impl->sourceRefsDict,TRUE);
}
bool Definition::hasDocumentation() const