PandA-2024.02
|
Functor used by write_graphviz to write the label of the vertices of a function graph. More...
#include <call_graph.hpp>
Public Member Functions | |
FunctionWriter (const CallGraph *call_graph) | |
constructor More... | |
void | operator() (std::ostream &out, const vertex &v) const override |
operator function returning the label of the vertex More... | |
Public Member Functions inherited from VertexWriter | |
VertexWriter (const graph *_graph, const int _detail_level) | |
Constructor. More... | |
virtual | ~VertexWriter ()=default |
Destructor. More... | |
Private Attributes | |
const std::map< unsigned int, FunctionBehaviorRef > & | behaviors |
reference to the behaviors More... | |
Additional Inherited Members | |
Protected Attributes inherited from VertexWriter | |
const graph * | printing_graph |
The graph to be printed. More... | |
const int | detail_level |
The detail level. More... | |
Functor used by write_graphviz to write the label of the vertices of a function graph.
Definition at line 224 of file call_graph.hpp.
|
explicit |
constructor
call_graph | is the graph to be printed |
Definition at line 98 of file call_graph.cpp.
|
overridevirtual |
operator function returning the label of the vertex
out | is the output stream |
v | is the vertex |
Implements VertexWriter.
Definition at line 103 of file call_graph.cpp.
References add_escape(), behaviors, VertexWriter::printing_graph, and THROW_ASSERT.
|
private |
reference to the behaviors
Definition at line 228 of file call_graph.hpp.
Referenced by operator()().