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

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

#include <graph.hpp>

Collaboration diagram for UVertexWriter:
Collaboration graph
[legend]

Public Member Functions

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

Protected Attributes

const ugraphprinting_ugraph
 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 1515 of file graph.hpp.

Constructor & Destructor Documentation

◆ UVertexWriter()

UVertexWriter::UVertexWriter ( const ugraph _printing_ugraph,
const int  _detail_level 
)
inline

Constructor.

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

Definition at line 1530 of file graph.hpp.

◆ ~UVertexWriter()

virtual UVertexWriter::~UVertexWriter ( )
virtualdefault

Destructor.

Member Function Documentation

◆ operator()()

virtual void UVertexWriter::operator() ( std::ostream &  out,
const uvertex 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

Field Documentation

◆ detail_level

const int UVertexWriter::detail_level
protected

The detail level.

Definition at line 1522 of file graph.hpp.

◆ printing_ugraph

const ugraph* UVertexWriter::printing_ugraph
protected

The graph to be printed.

Definition at line 1519 of file graph.hpp.


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

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