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

Method outputData

Libs/CommandLineModules/Core/ctkCmdLineModuleFutureInterface.cpp:209–215  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

207
208//----------------------------------------------------------------------------
209QByteArray QFutureInterface<ctkCmdLineModuleResult>::outputData(int position, int size) const
210{
211 QMutexLocker l(&d->Mutex);
212 if (size < 0) size = d->OutputData.size();
213 if (size > d->OutputData.size() - position) size = d->OutputData.size() - position;
214 return QByteArray(d->OutputData.data() + position, size);
215}
216
217//----------------------------------------------------------------------------
218QByteArray QFutureInterface<ctkCmdLineModuleResult>::errorData(int position, int size) const

Callers 2

readAllOutputDataMethod · 0.80
readPendingOutputDataMethod · 0.80

Calls 2

sizeMethod · 0.45
dataMethod · 0.45

Tested by

no test coverage detected