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

Function DictionaryClear

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

Source from the content-addressed store, hash-verified

42}
43
44static void DictionaryClear()
45{
46 ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
47 Dictionary::Ptr self = static_cast<Dictionary::Ptr>(vframe->Self);
48 REQUIRE_NOT_NULL(self);
49 self->Clear();
50}
51
52static bool DictionaryContains(const String& key)
53{

Callers

nothing calls this directly

Calls 1

ClearMethod · 0.45

Tested by

no test coverage detected