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

Function open

pdal/util/OStream.hpp:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64 }
65
66 PDAL_EXPORT int open(const std::string& filename)
67 {
68 if (m_stream)
69 return -1;
70 m_stream = FileUtils::createFile(filename);
71 m_fstream = dynamic_cast<std::ofstream*>(m_stream);
72
73 return 0;
74 }
75 PDAL_EXPORT void close()
76 {
77 flush();

Callers 7

OStreamClass · 0.70
mapFileFunction · 0.70
open64Method · 0.50
openProgressFunction · 0.50
ArbiterInStreamMethod · 0.50
make_plotFunction · 0.50

Calls 1

createFileFunction · 0.70

Tested by

no test coverage detected