| 164 | } |
| 165 | |
| 166 | void DimRange::parse(const std::string& r) |
| 167 | { |
| 168 | std::string::size_type pos = subParse(r); |
| 169 | if (pos != r.size()) |
| 170 | throw error("Invalid characters following valid range."); |
| 171 | } |
| 172 | |
| 173 | // Dim ranges sort so that all ranges of a dimension are contiguous. |
| 174 | // Beyond that we don't care. (See pointPasses) |
no test coverage detected