PandA-2024.02
|
Functor used by write_graphviz to write the edges of a function graph. More...
#include <call_graph.hpp>
Public Member Functions | |
FunctionEdgeWriter (const CallGraph *call_graph) | |
constructor More... | |
~FunctionEdgeWriter () override | |
Destructor. More... | |
void | operator() (std::ostream &out, const EdgeDescriptor &e) const override |
operator function returning the edge description More... | |
Public Member Functions inherited from EdgeWriter | |
EdgeWriter (const graph *_printing_graph, const int _detail_level) | |
Constructor. More... | |
virtual | ~EdgeWriter ()=default |
Destructor. More... | |
Private Attributes | |
const std::map< unsigned int, FunctionBehaviorRef > & | behaviors |
reference to the behaviors More... | |
Additional Inherited Members | |
Protected Attributes inherited from EdgeWriter | |
const graph * | printing_graph |
The graph to be printed. More... | |
const int | selector |
The selector of the graph to be printed. More... | |
const int | detail_level |
The detail level. More... | |
Functor used by write_graphviz to write the edges of a function graph.
Definition at line 248 of file call_graph.hpp.
|
explicit |
constructor
g | is the graph to be printed |
Definition at line 126 of file call_graph.cpp.
References ~FunctionEdgeWriter().
|
overridedefault |
|
overridevirtual |
operator function returning the edge description
out | is the output stream |
e | is the edge |
Implements EdgeWriter.
Definition at line 133 of file call_graph.cpp.
References FEEDBACK_SELECTOR, graph::GetSelector(), EdgeWriter::printing_graph, STD_SELECTOR, and THROW_ERROR.
|
private |
reference to the behaviors
Definition at line 252 of file call_graph.hpp.