Doxygen
Loading...
Searching...
No Matches
dotcallgraph.cpp File Reference
#include "dotcallgraph.h"
#include "dotnode.h"
#include "memberlist.h"
#include "config.h"
#include "util.h"
+ Include dependency graph for dotcallgraph.cpp:

Go to the source code of this file.

Functions

static QCString getUniqueId (const MemberDef *md)
 

Function Documentation

◆ getUniqueId()

static QCString getUniqueId ( const MemberDef * md)
static

Definition at line 23 of file dotcallgraph.cpp.

24{
25 const MemberDef *def = md->memberDefinition();
26 if (def==nullptr) def = md;
27 QCString result = def->getReference()+"$"+
28 def->getOutputFileBase()+"#"+
29 def->anchor();
30 return result;
31}
virtual QCString anchor() const =0
virtual QCString getReference() const =0
virtual QCString getOutputFileBase() const =0
A model of a class/file/namespace member symbol.
Definition memberdef.h:48
virtual MemberDef * memberDefinition() const =0
This is an alternative implementation of QCString.
Definition qcstring.h:101

References Definition::anchor(), Definition::getOutputFileBase(), Definition::getReference(), and MemberDef::memberDefinition().

Referenced by DotCallGraph::buildGraph(), and DotCallGraph::DotCallGraph().