MCPcopy Create free account
hub / github.com/Icinga/icinga2 / DictionarySet

Function DictionarySet

lib/base/dictionary-script.cpp:20–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20static void DictionarySet(const String& key, const Value& value)
21{
22 ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
23 Dictionary::Ptr self = static_cast<Dictionary::Ptr>(vframe->Self);
24 REQUIRE_NOT_NULL(self);
25 self->Set(key, value);
26}
27
28static Value DictionaryGet(const String& key)
29{

Callers

nothing calls this directly

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected