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

Method ErrorHandler

pdal/private/gdal/ErrorHandler.cpp:76–84  ·  view source on GitHub ↗

Constructor for a GDAL error handler. */

Source from the content-addressed store, hash-verified

74 Constructor for a GDAL error handler.
75*/
76ErrorHandler::ErrorHandler() : m_errorNum(0), m_prevHandler(nullptr)
77{
78 std::string value;
79
80 // Will return thread-local setting
81 const char* set = CPLGetConfigOption("CPL_DEBUG", "");
82 m_cplSet = (bool)set;
83 m_debug = m_cplSet;
84}
85
86
87/**

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected