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

Method SetVariable

lib/variables/variable.cpp:296–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

294}
295
296void VariableSelection::SetVariable(const std::string &variable)
297{
298 if (!!GetVariableByName(variable)) {
299 SetItem(variable);
300 } else {
301 SetItem("");
302 }
303}
304
305void VariableSelection::SetVariable(const std::weak_ptr<Variable> &variable_)
306{

Callers 11

UpdateEntryDataMethod · 0.45
UpdateEntryDataMethod · 0.45
UpdateEntryDataMethod · 0.45
SetValueMethod · 0.45
SetValueMethod · 0.45
UpdateEntryDataMethod · 0.45
UpdateEntryDataMethod · 0.45
UpdateEntryDataMethod · 0.45
UpdateEntryDataMethod · 0.45
UpdateEntryDataMethod · 0.45
SetSceneItemMethod · 0.45

Calls 2

GetVariableByNameFunction · 0.85
NameMethod · 0.45

Tested by

no test coverage detected