All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
graph_property_writer.h
Go to the documentation of this file.
1 #ifndef GRAPH_PROPERTY_WRITER_H_INCLUDED_
2 #define GRAPH_PROPERTY_WRITER_H_INCLUDED_
3 
4 #include "segment_graph.h"
5 
6 #include <iostream>
7 
8 namespace risc {
9 
10 namespace sg {
11 
13 
14  GraphPropertyWriter(Graph& graph);
15 
16  friend std::ostream& operator<< (std::ostream &out,
17  const GraphPropertyWriter &gpw)
18  {
19  return out;
20  }
21 
23 
24  void operator() (std::ostream &out)
25  {
26  out << "node [style=rounded];" << std::endl;
27  }
28 };
29 
30 }; // end of namespace sg
31 
32 }; // end of namespace risc
33 
34 #endif /* GRAPH_PROPERTY_WRITER_H_INCLUDED_ */
35 
36 /* ex: set softtabstop=2 tabstop=2 shiftwidth=2 expandtab: */
Definition: graph_property_writer.h:12
void operator()(std::ostream &out)
Definition: graph_property_writer.h:24
boost::adjacency_list< boost::listS, boost::listS, boost::bidirectionalS, Segment, Edge, boost::property< boost::vertex_index_t, int > > Graph
Definition: segment_graph.h:29
GraphPropertyWriter(Graph &graph)
Definition: graph_property_writer.cpp:3
friend std::ostream & operator<<(std::ostream &out, const GraphPropertyWriter &gpw)
Definition: graph_property_writer.h:16
Graph & graph_
Definition: graph_property_writer.h:22