| ... | ... |
@@ -2167,126 +2167,126 @@ |
| 2167 | 2167 |
if (local_is) delete _is; |
| 2168 | 2168 |
} |
| 2169 | 2169 |
|
| 2170 | 2170 |
|
| 2171 | 2171 |
/// \name Node sections |
| 2172 | 2172 |
/// @{
|
| 2173 | 2173 |
|
| 2174 | 2174 |
/// \brief Gives back the number of node sections in the file. |
| 2175 | 2175 |
/// |
| 2176 | 2176 |
/// Gives back the number of node sections in the file. |
| 2177 | 2177 |
int nodeSectionNum() const {
|
| 2178 | 2178 |
return _node_sections.size(); |
| 2179 | 2179 |
} |
| 2180 | 2180 |
|
| 2181 | 2181 |
/// \brief Returns the section name at the given position. |
| 2182 | 2182 |
/// |
| 2183 | 2183 |
/// Returns the section name at the given position. |
| 2184 | 2184 |
const std::string& nodeSection(int i) const {
|
| 2185 | 2185 |
return _node_sections[i]; |
| 2186 | 2186 |
} |
| 2187 | 2187 |
|
| 2188 | 2188 |
/// \brief Gives back the node maps for the given section. |
| 2189 | 2189 |
/// |
| 2190 | 2190 |
/// Gives back the node maps for the given section. |
| 2191 |
const std::vector<std::string>& |
|
| 2191 |
const std::vector<std::string>& nodeMapNames(int i) const {
|
|
| 2192 | 2192 |
return _node_maps[i]; |
| 2193 | 2193 |
} |
| 2194 | 2194 |
|
| 2195 | 2195 |
/// @} |
| 2196 | 2196 |
|
| 2197 | 2197 |
/// \name Arc/Edge sections |
| 2198 | 2198 |
/// @{
|
| 2199 | 2199 |
|
| 2200 | 2200 |
/// \brief Gives back the number of arc/edge sections in the file. |
| 2201 | 2201 |
/// |
| 2202 | 2202 |
/// Gives back the number of arc/edge sections in the file. |
| 2203 | 2203 |
/// \note It is synonym of \c edgeSectionNum(). |
| 2204 | 2204 |
int arcSectionNum() const {
|
| 2205 | 2205 |
return _edge_sections.size(); |
| 2206 | 2206 |
} |
| 2207 | 2207 |
|
| 2208 | 2208 |
/// \brief Returns the section name at the given position. |
| 2209 | 2209 |
/// |
| 2210 | 2210 |
/// Returns the section name at the given position. |
| 2211 | 2211 |
/// \note It is synonym of \c edgeSection(). |
| 2212 | 2212 |
const std::string& arcSection(int i) const {
|
| 2213 | 2213 |
return _edge_sections[i]; |
| 2214 | 2214 |
} |
| 2215 | 2215 |
|
| 2216 | 2216 |
/// \brief Gives back the arc/edge maps for the given section. |
| 2217 | 2217 |
/// |
| 2218 | 2218 |
/// Gives back the arc/edge maps for the given section. |
| 2219 |
/// \note It is synonym of \c edgeMaps(). |
|
| 2220 |
const std::vector<std::string>& arcMaps(int i) const {
|
|
| 2219 |
/// \note It is synonym of \c edgeMapNames(). |
|
| 2220 |
const std::vector<std::string>& arcMapNames(int i) const {
|
|
| 2221 | 2221 |
return _edge_maps[i]; |
| 2222 | 2222 |
} |
| 2223 | 2223 |
|
| 2224 | 2224 |
/// @} |
| 2225 | 2225 |
|
| 2226 | 2226 |
/// \name Synonyms |
| 2227 | 2227 |
/// @{
|
| 2228 | 2228 |
|
| 2229 | 2229 |
/// \brief Gives back the number of arc/edge sections in the file. |
| 2230 | 2230 |
/// |
| 2231 | 2231 |
/// Gives back the number of arc/edge sections in the file. |
| 2232 | 2232 |
/// \note It is synonym of \c arcSectionNum(). |
| 2233 | 2233 |
int edgeSectionNum() const {
|
| 2234 | 2234 |
return _edge_sections.size(); |
| 2235 | 2235 |
} |
| 2236 | 2236 |
|
| 2237 | 2237 |
/// \brief Returns the section name at the given position. |
| 2238 | 2238 |
/// |
| 2239 | 2239 |
/// Returns the section name at the given position. |
| 2240 | 2240 |
/// \note It is synonym of \c arcSection(). |
| 2241 | 2241 |
const std::string& edgeSection(int i) const {
|
| 2242 | 2242 |
return _edge_sections[i]; |
| 2243 | 2243 |
} |
| 2244 | 2244 |
|
| 2245 | 2245 |
/// \brief Gives back the edge maps for the given section. |
| 2246 | 2246 |
/// |
| 2247 | 2247 |
/// Gives back the edge maps for the given section. |
| 2248 |
/// \note It is synonym of \c arcMaps(). |
|
| 2249 |
const std::vector<std::string>& edgeMaps(int i) const {
|
|
| 2248 |
/// \note It is synonym of \c arcMapNames(). |
|
| 2249 |
const std::vector<std::string>& edgeMapNames(int i) const {
|
|
| 2250 | 2250 |
return _edge_maps[i]; |
| 2251 | 2251 |
} |
| 2252 | 2252 |
|
| 2253 | 2253 |
/// @} |
| 2254 | 2254 |
|
| 2255 | 2255 |
/// \name Attribute sections |
| 2256 | 2256 |
/// @{
|
| 2257 | 2257 |
|
| 2258 | 2258 |
/// \brief Gives back the number of attribute sections in the file. |
| 2259 | 2259 |
/// |
| 2260 | 2260 |
/// Gives back the number of attribute sections in the file. |
| 2261 | 2261 |
int attributeSectionNum() const {
|
| 2262 | 2262 |
return _attribute_sections.size(); |
| 2263 | 2263 |
} |
| 2264 | 2264 |
|
| 2265 | 2265 |
/// \brief Returns the section name at the given position. |
| 2266 | 2266 |
/// |
| 2267 | 2267 |
/// Returns the section name at the given position. |
| 2268 |
const std::string& |
|
| 2268 |
const std::string& attributeSectionNames(int i) const {
|
|
| 2269 | 2269 |
return _attribute_sections[i]; |
| 2270 | 2270 |
} |
| 2271 | 2271 |
|
| 2272 | 2272 |
/// \brief Gives back the attributes for the given section. |
| 2273 | 2273 |
/// |
| 2274 | 2274 |
/// Gives back the attributes for the given section. |
| 2275 | 2275 |
const std::vector<std::string>& attributes(int i) const {
|
| 2276 | 2276 |
return _attributes[i]; |
| 2277 | 2277 |
} |
| 2278 | 2278 |
|
| 2279 | 2279 |
/// @} |
| 2280 | 2280 |
|
| 2281 | 2281 |
/// \name Extra sections |
| 2282 | 2282 |
/// @{
|
| 2283 | 2283 |
|
| 2284 | 2284 |
/// \brief Gives back the number of extra sections in the file. |
| 2285 | 2285 |
/// |
| 2286 | 2286 |
/// Gives back the number of extra sections in the file. |
| 2287 | 2287 |
int extraSectionNum() const {
|
| 2288 | 2288 |
return _extra_sections.size(); |
| 2289 | 2289 |
} |
| 2290 | 2290 |
|
| 2291 | 2291 |
/// \brief Returns the extra section type at the given position. |
| 2292 | 2292 |
/// |
0 comments (0 inline)