... | ... |
@@ -2216,23 +2216,16 @@ |
2216 | 2216 |
/// \brief Gives back the arc maps for the given section. |
2217 | 2217 |
/// |
2218 | 2218 |
/// Gives back the arc maps for the given section. |
2219 | 2219 |
/// \note It is synonim of \c edgeMaps(). |
2220 | 2220 |
const std::vector<std::string>& arcMaps(int i) const { |
2221 | 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 | 2226 |
/// \name Edge sections |
2234 | 2227 |
/// @{ |
2235 | 2228 |
|
2236 | 2229 |
/// \brief Gives back the number of edge sections in the file. |
2237 | 2230 |
/// |
2238 | 2231 |
/// Gives back the number of edge sections in the file. |
... | ... |
@@ -2249,23 +2242,16 @@ |
2249 | 2242 |
|
2250 | 2243 |
/// \brief Gives back the edge maps for the given section. |
2251 | 2244 |
/// |
2252 | 2245 |
/// Gives back the edge maps for the given section. |
2253 | 2246 |
const std::vector<std::string>& edgeMaps(int i) const { |
2254 | 2247 |
return _edge_maps[i]; |
2255 | 2248 |
} |
2256 | 2249 |
|
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 |
} |
|
2263 |
|
|
2264 | 2250 |
/// @} |
2265 | 2251 |
|
2266 | 2252 |
/// \name Attribute sections |
2267 | 2253 |
/// @{ |
2268 | 2254 |
|
2269 | 2255 |
/// \brief Gives back the number of attribute sections in the file. |
2270 | 2256 |
/// |
2271 | 2257 |
/// Gives back the number of attribute sections in the file. |
0 comments (0 inline)