00001 #ifndef GRAPH_PROPERTY_WRITER_H_INCLUDED_
00002 #define GRAPH_PROPERTY_WRITER_H_INCLUDED_
00003 
00004 #include "segment_graph.h"
00005 
00006 #include <iostream>
00007 
00008 namespace risc {
00009 
00010 namespace sg {
00011 
00012 struct GraphPropertyWriter {
00013 
00014   GraphPropertyWriter(Graph& graph);
00015 
00016   friend std::ostream& operator<< (std::ostream &out,
00017                            const GraphPropertyWriter &gpw)
00018   {
00019     return out;
00020   }
00021 
00022   Graph& graph_;
00023 
00024   void operator() (std::ostream &out)
00025   {
00026     out << "node [style=rounded];" << std::endl;
00027   }
00028 };
00029 
00030 }; 
00031 
00032 }; 
00033 
00034 #endif 
00035 
00036