Changeset 559:c5fd2d996909 in lemon1.2 for lemon/lgf_writer.h
 Timestamp:
 03/29/09 23:08:20 (12 years ago)
 Branch:
 default
 Phase:
 public
 File:

 1 edited
Legend:
 Unmodified
 Added
 Removed

lemon/lgf_writer.h
r517 r559 407 407 /// the \c ostream() function, hence the second pass can append its 408 408 /// output to the output of the first pass. 409 template <typename _Digraph>409 template <typename GR> 410 410 class DigraphWriter { 411 411 public: 412 412 413 typedef _DigraphDigraph;413 typedef GR Digraph; 414 414 TEMPLATE_DIGRAPH_TYPEDEFS(Digraph); 415 415 … … 975 975 /// section as a \c '+' or a \c '' prefix (depends on the direction 976 976 /// of the arc) and the label of corresponding edge. 977 template <typename _Graph>977 template <typename GR> 978 978 class GraphWriter { 979 979 public: 980 980 981 typedef _GraphGraph;981 typedef GR Graph; 982 982 TEMPLATE_GRAPH_TYPEDEFS(Graph); 983 983 … … 1074 1074 private: 1075 1075 1076 template <typename G R>1077 friend GraphWriter<G R> graphWriter(const GR& graph,1078 std::ostream& os);1079 template <typename G R>1080 friend GraphWriter<G R> graphWriter(const GR& graph,1081 const std::string& fn);1082 template <typename G R>1083 friend GraphWriter<G R> graphWriter(const GR& graph,1084 const char *fn);1076 template <typename Graph> 1077 friend GraphWriter<Graph> graphWriter(const Graph& graph, 1078 std::ostream& os); 1079 template <typename Graph> 1080 friend GraphWriter<Graph> graphWriter(const Graph& graph, 1081 const std::string& fn); 1082 template <typename Graph> 1083 friend GraphWriter<Graph> graphWriter(const Graph& graph, 1084 const char *fn); 1085 1085 1086 1086 GraphWriter(GraphWriter& other)
Note: See TracChangeset
for help on using the changeset viewer.