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

Method GetTempVariable

lib/utils/temp-variable.cpp:424–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

422}
423
424std::optional<const TempVariable>
425TempVariableRef::GetTempVariable(Macro *macro) const
426{
427 if (!macro) {
428 return {};
429 }
430 auto segment = _segment.lock();
431 if (!segment) {
432 return {};
433 }
434
435 return macro->GetTempVar(segment.get(), _id);
436}
437
438bool TempVariableRef::operator==(const TempVariableRef &other) const
439{

Callers 8

ApplyVarMappingsMethod · 0.80
CompareVariablesMethod · 0.80
CheckConditionMethod · 0.80
GetShortDescMethod · 0.80
PerformActionMethod · 0.80
SetupInfoLabelMethod · 0.80
PerformActionMethod · 0.80
performActionHelperFunction · 0.80

Calls 2

GetTempVarMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected