1 #ifndef VERTEX_PROPERTY_WRITER_H_INCLUDED_
2 #define VERTEX_PROPERTY_WRITER_H_INCLUDED_
7 #include "../internal_representation/design.h"
8 #include "../internal_representation/module_instance.h"
9 #include "../internal_representation/port.h"
10 #include "../internal_representation/object.h"
11 #include "../tools/variable_helper.h"
25 template <
class Vertex>
void write_segment(std::ostream &out, Segment &seg)
This function generates DOT code for a segment (in normal mode)
Definition: vertex_property_writer.cpp:14
#define PSG_MODE
Definition: design.h:17
static bool print_read_write_access
A flag to turn on/off display of read/write accesses.
Definition: vertex_property_writer.h:21
void operator()(std::ostream &out, Vertex v)
Definition: vertex_property_writer.h:26
void write_segment_PSG_mode(std::ostream &out, Segment &seg)
This function generates DOT code for a segment in PSG mode.
Definition: vertex_property_writer.cpp:297
friend std::ostream & operator<<(std::ostream &out, const VertexPropertyWriter &vpw)
Definition: vertex_property_writer.h:76
Definition: port_call_path.h:10
static void replace_escape_characters(std::string &unparsed_stmt)
This function replaces characters with escape sequences.
Definition: vertex_property_writer.cpp:556
void write_segment_RW_mode(std::ostream &out, Segment &seg)
This function generates DOT code for a segment in read-write variables mode.
Definition: vertex_property_writer.cpp:134
VertexPropertyWriter(Graph &graph)
Definition: vertex_property_writer.cpp:9
Definition: vertex_property_writer.h:16
Graph & graph_
The segment graph.
Definition: vertex_property_writer.h:74
boost::adjacency_list< boost::listS, boost::listS, boost::bidirectionalS, Segment, Edge, boost::property< boost::vertex_index_t, int > > Graph
Definition: segment_graph.h:29
static std::string write_pcp(const PortCallPath &pcp)
This function replaces characters with escape sequences.
Definition: vertex_property_writer.cpp:571