lemon/lemon_reader.h
changeset 2125 2f2cbe4e78a8
parent 2084 59769591eb60
child 2153 b1fb96088350
equal deleted inserted replaced
22:f9561d317c18 23:f43c8cdea366
   765 
   765 
   766     /// \brief Constructor.
   766     /// \brief Constructor.
   767     ///
   767     ///
   768     /// Constructor for NodeSetReader. It creates the NodeSetReader and
   768     /// Constructor for NodeSetReader. It creates the NodeSetReader and
   769     /// attach it into the given LemonReader. The nodeset reader will
   769     /// attach it into the given LemonReader. The nodeset reader will
   770     /// add the readed nodes to the given Graph. The reader will read
   770     /// add the read nodes to the given Graph. The reader will read
   771     /// the section when the \c section_name and the \c _name are the same. 
   771     /// the section when the \c section_name and the \c _name are the same. 
   772     NodeSetReader(LemonReader& _reader, 
   772     NodeSetReader(LemonReader& _reader, 
   773 		  Graph& _graph, 
   773 		  Graph& _graph, 
   774 		  const std::string& _name = std::string(),
   774 		  const std::string& _name = std::string(),
   775 		  const DefaultSkipper& _skipper = DefaultSkipper()) 
   775 		  const DefaultSkipper& _skipper = DefaultSkipper()) 
   989 
   989 
   990     /// \brief Constructor.
   990     /// \brief Constructor.
   991     ///
   991     ///
   992     /// Constructor for EdgeSetReader. It creates the EdgeSetReader and
   992     /// Constructor for EdgeSetReader. It creates the EdgeSetReader and
   993     /// attach it into the given LemonReader. The edgeset reader will
   993     /// attach it into the given LemonReader. The edgeset reader will
   994     /// add the readed edges to the given Graph. It will use the given
   994     /// add the read edges to the given Graph. It will use the given
   995     /// node id reader to read the source and target nodes of the edges.
   995     /// node id reader to read the source and target nodes of the edges.
   996     /// The reader will read the section only if the \c _name and the 
   996     /// The reader will read the section only if the \c _name and the 
   997     /// \c edgset_name are the same. 
   997     /// \c edgset_name are the same. 
   998     template <typename NodeLabelReader>
   998     template <typename NodeLabelReader>
   999     EdgeSetReader(LemonReader& _reader, 
   999     EdgeSetReader(LemonReader& _reader, 
  1233 
  1233 
  1234     /// \brief Constructor.
  1234     /// \brief Constructor.
  1235     ///
  1235     ///
  1236     /// Constructor for UEdgeSetReader. It creates the UEdgeSetReader 
  1236     /// Constructor for UEdgeSetReader. It creates the UEdgeSetReader 
  1237     /// and attach it into the given LemonReader. The undirected edgeset 
  1237     /// and attach it into the given LemonReader. The undirected edgeset 
  1238     /// reader will add the readed undirected edges to the given Graph. It 
  1238     /// reader will add the read undirected edges to the given Graph. It 
  1239     /// will use the given node id reader to read the source and target 
  1239     /// will use the given node id reader to read the source and target 
  1240     /// nodes of the edges. The reader will read the section only if the 
  1240     /// nodes of the edges. The reader will read the section only if the 
  1241     /// \c _name and the \c uedgset_name are the same. 
  1241     /// \c _name and the \c uedgset_name are the same. 
  1242     template <typename NodeLabelReader>
  1242     template <typename NodeLabelReader>
  1243     UEdgeSetReader(LemonReader& _reader, 
  1243     UEdgeSetReader(LemonReader& _reader,