doc/graph_io.dox
changeset 2100 6fbe90faf02a
parent 1959 264811b995f3
child 2391 14a343be7a5a
equal deleted inserted replaced
16:111d158ff2be 17:0435009f7994
   195 is very similar to
   195 is very similar to
   196 the \ref lemon::GraphWriter "GraphWriter"
   196 the \ref lemon::GraphWriter "GraphWriter"
   197 but the reading method does not depend on the order of the
   197 but the reading method does not depend on the order of the
   198 given commands.
   198 given commands.
   199 
   199 
   200 The reader object assumes that each not readed value does not contain 
   200 The reader object assumes that each not read value does not contain 
   201 whitespaces, therefore it has some extra possibilities to control how
   201 whitespaces, therefore it has some extra possibilities to control how
   202 it should skip the values when the string representation contains spaces.
   202 it should skip the values when the string representation contains spaces.
   203 
   203 
   204 \code
   204 \code
   205 GraphReader<ListGraph> reader(std::cin, graph);
   205 GraphReader<ListGraph> reader(std::cin, graph);
   269 
   269 
   270 To read a map (on the nodes or edges)
   270 To read a map (on the nodes or edges)
   271 the \ref lemon::GraphReader "GraphReader"
   271 the \ref lemon::GraphReader "GraphReader"
   272 should know how to read a Value from the given map.
   272 should know how to read a Value from the given map.
   273 By the default implementation the input operator reads a value from
   273 By the default implementation the input operator reads a value from
   274 the stream and the type of the readed value is the value type of the given map.
   274 the stream and the type of the read value is the value type of the given map.
   275 When the reader should skip a value in the stream, because you do not
   275 When the reader should skip a value in the stream, because you do not
   276 want to store it in a map, the reader skips a character sequence without 
   276 want to store it in a map, the reader skips a character sequence without 
   277 whitespaces. 
   277 whitespaces. 
   278 
   278 
   279 If you want to change the functionality of the reader, you can use
   279 If you want to change the functionality of the reader, you can use