MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / IsTempVarInUse

Method IsTempVarInUse

lib/macro/macro-segment.cpp:259–267  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

257}
258
259bool MacroSegment::IsTempVarInUse(const std::string &id) const
260{
261 for (const auto &var : _tempVariables) {
262 if (var.ID() == id) {
263 return var.IsInUse();
264 }
265 }
266 return false;
267}
268
269void MacroSegment::SetTempVarValue(const std::string &id,
270 const std::string &value)

Callers

nothing calls this directly

Calls 2

IDMethod · 0.80
IsInUseMethod · 0.80

Tested by

no test coverage detected