PandA-2024.02
Public Member Functions | Private Attributes
FunctionEdgeWriter Class Reference

Functor used by write_graphviz to write the edges of a function graph. More...

#include <call_graph.hpp>

Inheritance diagram for FunctionEdgeWriter:
Inheritance graph
[legend]
Collaboration diagram for FunctionEdgeWriter:
Collaboration graph
[legend]

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 graphprinting_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...
 

Detailed Description

Functor used by write_graphviz to write the edges of a function graph.

Definition at line 248 of file call_graph.hpp.

Constructor & Destructor Documentation

◆ FunctionEdgeWriter()

FunctionEdgeWriter::FunctionEdgeWriter ( const CallGraph call_graph)
explicit

constructor

Parameters
gis the graph to be printed

Definition at line 126 of file call_graph.cpp.

References ~FunctionEdgeWriter().

Here is the call graph for this function:

◆ ~FunctionEdgeWriter()

FunctionEdgeWriter::~FunctionEdgeWriter ( )
overridedefault

Destructor.

Referenced by FunctionEdgeWriter().

Here is the caller graph for this function:

Member Function Documentation

◆ operator()()

void FunctionEdgeWriter::operator() ( std::ostream &  out,
const EdgeDescriptor e 
) const
overridevirtual

operator function returning the edge description

Parameters
outis the output stream
eis 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.

Here is the call graph for this function:

Field Documentation

◆ behaviors

const std::map<unsigned int, FunctionBehaviorRef>& FunctionEdgeWriter::behaviors
private

reference to the behaviors

Definition at line 252 of file call_graph.hpp.


The documentation for this class was generated from the following files:

Generated on Mon Feb 12 2024 13:03:52 for PandA-2024.02 by doxygen 1.8.13