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

Function DictionaryGet

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

Source from the content-addressed store, hash-verified

26}
27
28static Value DictionaryGet(const String& key)
29{
30 ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
31 Dictionary::Ptr self = static_cast<Dictionary::Ptr>(vframe->Self);
32 REQUIRE_NOT_NULL(self);
33 return self->Get(key);
34}
35
36static void DictionaryRemove(const String& key)
37{

Callers

nothing calls this directly

Calls 1

GetMethod · 0.45

Tested by

no test coverage detected