equal
deleted
inserted
replaced
2219 /// \note It is synonim of \c edgeMaps(). |
2219 /// \note It is synonim 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 /// \brief Returns true when the section type is \c "@arcs". |
|
2225 /// |
|
2226 /// Returns true when the section type is \c "@arcs", and not "@edges". |
|
2227 bool isArcSection(int i) const { |
|
2228 return _arc_sections[i]; |
|
2229 } |
|
2230 |
|
2231 /// @} |
2224 /// @} |
2232 |
2225 |
2233 /// \name Edge sections |
2226 /// \name Edge sections |
2234 /// @{ |
2227 /// @{ |
2235 |
2228 |
2250 /// \brief Gives back the edge maps for the given section. |
2243 /// \brief Gives back the edge maps for the given section. |
2251 /// |
2244 /// |
2252 /// Gives back the edge maps for the given section. |
2245 /// Gives back the edge maps for the given section. |
2253 const std::vector<std::string>& edgeMaps(int i) const { |
2246 const std::vector<std::string>& edgeMaps(int i) const { |
2254 return _edge_maps[i]; |
2247 return _edge_maps[i]; |
2255 } |
|
2256 |
|
2257 /// \brief Returns true when the section type is \c "@edges". |
|
2258 /// |
|
2259 /// Returns true when the section type is \c "@edges", and not "@arcs". |
|
2260 bool isEdgeSection(int i) const { |
|
2261 return !_arc_sections[i]; |
|
2262 } |
2248 } |
2263 |
2249 |
2264 /// @} |
2250 /// @} |
2265 |
2251 |
2266 /// \name Attribute sections |
2252 /// \name Attribute sections |