src/lemon/graph_writer.h
changeset 1416 1b481ced25e7
parent 1409 d2d1f8fa187b
child 1421 7a21e1414c38
equal deleted inserted replaced
15:1c340cba0c8f 16:06a412d7990e
   122     /// Construct a new GraphWriter. It writes into the given graph
   122     /// Construct a new GraphWriter. It writes into the given graph
   123     /// to the given file.
   123     /// to the given file.
   124     GraphWriter(const std::string& _filename, const Graph& _graph) 
   124     GraphWriter(const std::string& _filename, const Graph& _graph) 
   125       : writer(new LemonWriter(_filename)), own_writer(true), 
   125       : writer(new LemonWriter(_filename)), own_writer(true), 
   126 	graph(_graph),
   126 	graph(_graph),
   127 	nodeset_writer(*writer, graph, std::string(), skipper),
   127 	nodeset_writer(*writer, graph, std::string()),
   128 	edgeset_writer(*writer, graph, nodeset_writer, std::string(), skipper),
   128 	edgeset_writer(*writer, graph, nodeset_writer, std::string()),
   129 	node_writer(*writer, nodeset_writer, std::string()),
   129 	node_writer(*writer, nodeset_writer, std::string()),
   130 	edge_writer(*writer, edgeset_writer, std::string()),
   130 	edge_writer(*writer, edgeset_writer, std::string()),
   131 	attribute_writer(*writer, std::string()) {}
   131 	attribute_writer(*writer, std::string()) {}
   132 
   132 
   133     /// \brief Construct a new GraphWriter.
   133     /// \brief Construct a new GraphWriter.