| 314 | } |
| 315 | |
| 316 | void handleInputTag(const std::string& tag, const TagMap& tags, std::vector<Stage *>& inputs) |
| 317 | { |
| 318 | auto ii = tags.find(tag); |
| 319 | if (ii == tags.end()) |
| 320 | throw pdal_error("JSON pipeline: Invalid pipeline: " |
| 321 | "undefined stage tag '" + tag + "'."); |
| 322 | else |
| 323 | inputs.push_back(ii->second); |
| 324 | } |
| 325 | |
| 326 | |
| 327 | } // unnamed namespace |
no test coverage detected