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

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

#include <graph.hpp>

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

Public Member Functions

 GraphWriter (const graph *_printing_graph, const int _detail_level)
 Constructor. More...
 
virtual ~GraphWriter ()=default
 Destructor. More...
 
virtual void operator() (std::ostream &out) const =0
 Functor acturally 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 (i.e., how much information has to be included) More...
 

Detailed Description

Functor used to write the content of the property of a graph to a dotty file.

Definition at line 1480 of file graph.hpp.

Constructor & Destructor Documentation

◆ GraphWriter()

GraphWriter::GraphWriter ( const graph _printing_graph,
const int  _detail_level 
)
inline

Constructor.

Parameters
_printing_graphis the graph to be printed
_detail_levelis the detail level of the printing

Definition at line 1495 of file graph.hpp.

◆ ~GraphWriter()

virtual GraphWriter::~GraphWriter ( )
virtualdefault

Destructor.

Member Function Documentation

◆ operator()()

virtual void GraphWriter::operator() ( std::ostream &  out) const
pure virtual

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

Parameters
outis the stream where the edges have to be printed

Implemented in ScheduleWriter.

Field Documentation

◆ detail_level

const int GraphWriter::detail_level
protected

The detail level (i.e., how much information has to be included)

Definition at line 1487 of file graph.hpp.

◆ printing_graph

const graph* GraphWriter::printing_graph
protected

The graph to be printed.

Definition at line 1484 of file graph.hpp.


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

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