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

Function writeProgress

pdal/PDALUtils.hpp:247–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245
246
247inline void writeProgress(int fd, const std::string& type,
248 const std::string& text)
249{
250#ifdef _WIN32
251#else
252#pragma GCC diagnostic push
253#pragma GCC diagnostic ignored "-Wunused-result"
254 if (fd >= 0)
255 {
256 std::string out = type + ':' + text + '\n';
257
258 // This may error, but we don't care.
259 write(fd, out.c_str(), out.length());
260 }
261#pragma GCC diagnostic pop
262#endif
263}
264
265std::string dllDir();
266std::string PDAL_EXPORT toJSON(const MetadataNode& m);

Callers 6

readyFileMethod · 0.85
doneFileMethod · 0.85
readyFileMethod · 0.85
writeViewMethod · 0.85
doneFileMethod · 0.85
readyFileMethod · 0.85

Calls 2

writeFunction · 0.70
lengthMethod · 0.45

Tested by

no test coverage detected