lemon/lgf_reader.h
changeset 181 e34570db81ea
parent 180 4b9ab1324c3b
child 182 9c6dfb5141d3
equal deleted inserted replaced
12:3a42fe385b21 13:af0c298be055
  2192       return _node_maps[i];
  2192       return _node_maps[i];
  2193     }
  2193     }
  2194 
  2194 
  2195     /// @}
  2195     /// @}
  2196 
  2196 
  2197     /// \name Arc sections 
  2197     /// \name Arc/Edge sections 
  2198     /// @{
  2198     /// @{
  2199 
  2199 
  2200     /// \brief Gives back the number of arc sections in the file.
  2200     /// \brief Gives back the number of arc/edge sections in the file.
  2201     ///
  2201     ///
  2202     /// Gives back the number of arc sections in the file.
  2202     /// Gives back the number of arc/edge sections in the file.
  2203     /// \note It is synonim of \c edgeSectionNum().
  2203     /// \note It is synonym of \c edgeSectionNum().
  2204     int arcSectionNum() const {
  2204     int arcSectionNum() const {
  2205       return _edge_sections.size();
  2205       return _edge_sections.size();
  2206     }
  2206     }
  2207 
  2207 
  2208     /// \brief Returns the section name at the given position. 
  2208     /// \brief Returns the section name at the given position. 
  2209     ///
  2209     ///
  2210     /// Returns the section name at the given position. 
  2210     /// Returns the section name at the given position. 
  2211     /// \note It is synonim of \c edgeSection().
  2211     /// \note It is synonym of \c edgeSection().
  2212     const std::string& arcSection(int i) const {
  2212     const std::string& arcSection(int i) const {
  2213       return _edge_sections[i];
  2213       return _edge_sections[i];
  2214     }
  2214     }
  2215 
  2215 
  2216     /// \brief Gives back the arc maps for the given section.
  2216     /// \brief Gives back the arc/edge maps for the given section.
  2217     ///
  2217     ///
  2218     /// Gives back the arc maps for the given section.
  2218     /// Gives back the arc/edge maps for the given section.
  2219     /// \note It is synonim of \c edgeMaps().
  2219     /// \note It is synonym of \c edgeMaps().
  2220     const std::vector<std::string>& arcMaps(int i) const {
  2220     const std::vector<std::string>& arcMaps(int i) const {
  2221       return _edge_maps[i];
  2221       return _edge_maps[i];
  2222     }
  2222     }
  2223 
  2223 
  2224     /// @}
  2224     /// @}
  2225 
  2225 
  2226     /// \name Edge sections   
  2226     /// \name Synonyms
  2227     /// @{
  2227     /// @{
  2228 
  2228 
  2229     /// \brief Gives back the number of edge sections in the file.
  2229     /// \brief Gives back the number of arc/edge sections in the file.
  2230     ///
  2230     ///
  2231     /// Gives back the number of edge sections in the file.
  2231     /// Gives back the number of arc/edge sections in the file.
       
  2232     /// \note It is synonym of \c arcSectionNum().
  2232     int edgeSectionNum() const {
  2233     int edgeSectionNum() const {
  2233       return _edge_sections.size();
  2234       return _edge_sections.size();
  2234     }
  2235     }
  2235 
  2236 
  2236     /// \brief Returns the section name at the given position. 
  2237     /// \brief Returns the section name at the given position. 
  2237     ///
  2238     ///
  2238     /// Returns the section name at the given position. 
  2239     /// Returns the section name at the given position. 
       
  2240     /// \note It is synonym of \c arcSection().
  2239     const std::string& edgeSection(int i) const {
  2241     const std::string& edgeSection(int i) const {
  2240       return _edge_sections[i];
  2242       return _edge_sections[i];
  2241     }
  2243     }
  2242 
  2244 
  2243     /// \brief Gives back the edge maps for the given section.
  2245     /// \brief Gives back the edge maps for the given section.
  2244     ///
  2246     ///
  2245     /// Gives back the edge maps for the given section.
  2247     /// Gives back the edge maps for the given section.
       
  2248     /// \note It is synonym of \c arcMaps().
  2246     const std::vector<std::string>& edgeMaps(int i) const {
  2249     const std::vector<std::string>& edgeMaps(int i) const {
  2247       return _edge_maps[i];
  2250       return _edge_maps[i];
  2248     }
  2251     }
  2249 
  2252 
  2250     /// @}
  2253     /// @}