doc/graph_io.dox
changeset 1805 d284f81f02a5
parent 1631 e15162d8eca1
child 1839 b2dfd32b4895
equal deleted inserted replaced
9:0f5b35087ec9 10:6afb17a1701f
   108 line.
   108 line.
   109 
   109 
   110 
   110 
   111 \section use Using graph input-output
   111 \section use Using graph input-output
   112 
   112 
   113 The easiest way of using graph input and output is using the versions of the
       
   114   public \ref readGraph() and \ref writeGraph() functions; if you don't need
       
   115   very sophisticated behaviour then you might be satisfied with
       
   116   those. Otherwise go on reading this page.
       
   117 
   113 
   118 The graph input and output is based on <em> reading and writing
   114 The graph input and output is based on <em> reading and writing
   119 commands</em>. The user gives reading and writing commands to the reader or
   115 commands</em>. The user gives reading and writing commands to the reader or
   120 writer class, then he calls the \c run() method that executes all the given
   116 writer class, then he calls the \c run() method that executes all the given
   121 commands.
   117 commands.
   359 \ref lemon::GraphWriter "GraphWriter" which
   355 \ref lemon::GraphWriter "GraphWriter" which
   360 handle the undirected graphs. These classes are
   356 handle the undirected graphs. These classes are
   361 the \ref lemon::UndirGraphReader "UndirGraphReader"
   357 the \ref lemon::UndirGraphReader "UndirGraphReader"
   362 and \ref lemon::UndirGraphWriter "UndirGraphWriter".
   358 and \ref lemon::UndirGraphWriter "UndirGraphWriter".
   363 
   359 
   364 The \ref lemon::UndirGraphReader::readUndirMap() "readUndirMap()"
   360 The \ref lemon::UndirGraphReader::readUndirEdgeMap() "readUndirEdgeMap()"
   365 function reads an undirected map and the
   361 function reads an undirected map and the
   366 \ref lemon::UndirGraphReader::readUndirEdge() "readUndirEdge()"
   362 \ref lemon::UndirGraphReader::readUndirEdge() "readUndirEdge()"
   367 reads an undirected edge from the file, 
   363 reads an undirected edge from the file, 
   368 
   364 
   369 \code
   365 \code