MCPcopy Create free account
hub / github.com/biometrics/openbr / foreach

Method foreach

openbr/core/core.cpp:223–237  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221 QScopedPointer<Transform> stream(wrapTransform(pipeline.data(), "Stream(readMode=StreamGallery, endPoint="+outputDesc+")"));
222
223 foreach (const br::File &file, input.split()) {
224 qDebug("Enrolling %s%s", qPrintable(file.name),
225 gallery.isNull() ? "" : qPrintable(" to " + gallery.flat()));
226
227 Gallery *temp = Gallery::make(file);
228 qint64 total = temp->totalSize();
229 delete temp;
230
231 progressCounter->setPropertyRecursive("totalProgress", QString::number(total));
232
233 TemplateList data, output;
234 data.append(file);
235
236 stream->projectUpdate(data, output);
237 }
238
239 if (multiProcess)
240 delete enroll;

Callers

nothing calls this directly

Calls 7

makeFunction · 0.85
flatMethod · 0.80
isNullMethod · 0.45
totalSizeMethod · 0.45
setPropertyRecursiveMethod · 0.45
appendMethod · 0.45
projectUpdateMethod · 0.45

Tested by

no test coverage detected