MCPcopy Create free account
hub / github.com/PDAL/PDAL / readPipeline

Method readPipeline

pdal/PipelineReaderJSON.cpp:333–353  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331{}
332
333void PipelineReaderJSON::readPipeline(const std::string& filename)
334{
335 std::istream* input = Utils::openFile(filename);
336 if (!input)
337 {
338 throw pdal_error("Pipeline: Unable to open stream for "
339 "file \"" + filename + "\"");
340 }
341
342 try
343 {
344 readPipeline(*input);
345 }
346 catch (...)
347 {
348 Utils::closeFile(input);
349 throw;
350 }
351
352 Utils::closeFile(input);
353}
354
355void PipelineReaderJSON::readPipeline(std::istream& input)
356{

Callers

nothing calls this directly

Calls 7

parsePipelineFunction · 0.85
openFileFunction · 0.70
closeFileFunction · 0.70
parseFunction · 0.70
whatMethod · 0.45
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected