MCPcopy Create free account
hub / github.com/commontk/CTK / errorData

Method errorData

Libs/CommandLineModules/Core/ctkCmdLineModuleFutureInterface.cpp:218–224  ·  view source on GitHub ↗

----------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

216
217//----------------------------------------------------------------------------
218QByteArray QFutureInterface<ctkCmdLineModuleResult>::errorData(int position, int size) const
219{
220 QMutexLocker l(&d->Mutex);
221 if (size < 0) size = d->ErrorData.size();
222 if (size > d->ErrorData.size() - position) size = d->ErrorData.size() - position;
223 return QByteArray(d->ErrorData.data() + position, size);
224}

Callers 2

readAllErrorDataMethod · 0.80
readPendingErrorDataMethod · 0.80

Calls 2

sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected