MCPcopy Create free account
hub / github.com/davy7125/polyphone / foreach

Function foreach

sources/core/input/abstractinputparser.cpp:84–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 {
83 EltID idSf2(elementSf2);
84 foreach (int i, _sm->getSiblings(idSf2))
85 {
86 if (_sm->getQstr(EltID(elementSf2, i), champ_filenameInitial) == _fileName)
87 {
88 _isSuccess = false;
89 _error = tr("This file is already open.");
90 return;
91 }
92 }
93 }
94
95 // Parse the file

Callers

nothing calls this directly

Calls 2

EltIDClass · 0.85
getQstrMethod · 0.80

Tested by

no test coverage detected