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

Function close

pdal/util/OStream.hpp:75–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73 return 0;
74 }
75 PDAL_EXPORT void close()
76 {
77 flush();
78 if (m_fstream != NULL)
79 FileUtils::closeFile(m_fstream);
80 m_fstream = NULL;
81 m_stream = NULL;
82 }
83 PDAL_EXPORT bool isOpen() const
84 { return (bool)m_stream; }
85 PDAL_EXPORT void flush()

Callers 9

unmapFileFunction · 0.70
~CheckedFileMethod · 0.50
closeMethod · 0.50
unlinkMethod · 0.50
closeProgressFunction · 0.50
~ArbiterOutStreamMethod · 0.50
~RasterMethod · 0.50

Calls 2

flushFunction · 0.85
closeFileFunction · 0.70

Tested by

no test coverage detected