MCPcopy Create free account
hub / github.com/PDAL/PDAL / operator()

Method operator()

pdal/util/VSIIO.cpp:57–64  ·  view source on GitHub ↗

Operator () that closes and deletes the file handle. */

Source from the content-addressed store, hash-verified

55{
56 /** Operator () that closes and deletes the file handle. */
57 void operator()(VSIVirtualHandle* poHandle)
58 {
59 if (poHandle)
60 {
61 poHandle->Close();
62 delete poHandle;
63 }
64 }
65};
66
67typedef std::unique_ptr<VSIVirtualHandle, PDALVirtualHandleCloser>

Callers

nothing calls this directly

Calls 1

CloseMethod · 0.45

Tested by

no test coverage detected