GraphReader<SmartGraph> gr(std::cout, g);
      NodeMapReader<SmartGraph> nmr(gr, g, gr);
     
      SmartGraph::NodeMap<Path<SmartGraph> > pnm(g);
      nmr.readNodeMap("pnm", pnm, PathReader<Path<SmartGraph> >(gr));
     
      gr.run();
#include <lemon/path_utils.h>
Public Member Functions | |
| template<typename EdgeLabelReader > | |
| PathReader (const EdgeLabelReader &_edgeLabelReader) | |
| Constructor.   | |
| void | read (std::istream &is, Value &value) const | 
| Reader function.   | |
| PathReader | ( | const EdgeLabelReader & | _edgeLabelReader | ) |  [inline, explicit] | 
        
The paramter shold be an edge label reader which could be a GraphReader or an EdgeSetReader.
| void read | ( | std::istream & | is, | |
| Value & | value | |||
| ) |  const [inline] | 
        
Reads the path from the current stream. The representation is the edge labels beetween parentheses.
 1.5.9