PandA-2024.02
Public Member Functions | Protected Attributes
VertexWriter Class Referenceabstract

Functor used to write the content of a vertex to dotty file. More...

#include <graph.hpp>

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

Public Member Functions

 VertexWriter (const graph *_graph, const int _detail_level)
 Constructor. More...
 
virtual ~VertexWriter ()=default
 Destructor. More...
 
virtual void operator() (std::ostream &out, const vertex &v) const =0
 Functor actually called by the boost library to perform the writing. More...
 

Protected Attributes

const graphprinting_graph
 The graph to be printed. More...
 
const int detail_level
 The detail level. More...
 

Detailed Description

Functor used to write the content of a vertex to dotty file.

Definition at line 1406 of file graph.hpp.

Constructor & Destructor Documentation

◆ VertexWriter()

VertexWriter::VertexWriter ( const graph _graph,
const int  _detail_level 
)
inline

Constructor.

Parameters
_graphis the graph to be printed
_detail_levelis the level of details in printing

Definition at line 1421 of file graph.hpp.

◆ ~VertexWriter()

virtual VertexWriter::~VertexWriter ( )
virtualdefault

Destructor.

Member Function Documentation

◆ operator()()

virtual void VertexWriter::operator() ( std::ostream &  out,
const vertex v 
) const
pure virtual

Functor actually called by the boost library to perform the writing.

Parameters
outis the stream where the nodes have to be printed
vis the vertex to be printed

Implemented in CdfcWriter, StateWriter, DesignFlowStepWriter, FunctionWriter, BBWriter, and OpWriter.

Field Documentation

◆ detail_level

const int VertexWriter::detail_level
protected

The detail level.

Definition at line 1413 of file graph.hpp.

Referenced by OpWriter::operator()(), and StateWriter::operator()().

◆ printing_graph

const graph* VertexWriter::printing_graph
protected

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

Generated on Mon Feb 12 2024 13:04:10 for PandA-2024.02 by doxygen 1.8.13