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

Function debugInformation

pdal/pdal_config.cpp:145–177  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

143
144
145std::string debugInformation()
146{
147 Utils::screenWidth();
148 std::string headline(Utils::screenWidth(), '-');
149
150 std::ostringstream os;
151
152 os << headline << std::endl;
153 os << "PDAL debug information" << std::endl ;
154 os << headline << std::endl << std::endl;
155
156 os << "Version information" << std::endl;
157 os << headline << std::endl;
158 os << "(" << fullVersionString() << ")" << std::endl;
159 os << std::endl;
160
161 os << "Debug build status" << std::endl;
162 os << headline << std::endl;
163 os << PDAL_BUILD_TYPE << std::endl << std::endl;
164
165 os << "Enabled libraries" << std::endl;
166 os << headline << std::endl << std::endl;
167
168 os << "GDAL (" << GDALVersionInfo("RELEASE_NAME") << ") - " <<
169 "http://www.gdal.org" << std::endl;
170
171#ifdef PDAL_HAVE_LIBXML2
172 os << "libxml (" << LIBXML_DOTTED_VERSION << ") - " <<
173 "http://www.xmlsoft.org/" << std::endl;
174#endif
175
176 return os.str();
177}
178
179std::string pluginInstallPath()
180{

Callers

nothing calls this directly

Calls 2

fullVersionStringFunction · 0.85
strMethod · 0.80

Tested by

no test coverage detected