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

Function DictionaryLen

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

Source from the content-addressed store, hash-verified

10using namespace icinga;
11
12static double DictionaryLen()
13{
14 ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
15 Dictionary::Ptr self = static_cast<Dictionary::Ptr>(vframe->Self);
16 REQUIRE_NOT_NULL(self);
17 return self->GetLength();
18}
19
20static void DictionarySet(const String& key, const Value& value)
21{

Callers

nothing calls this directly

Calls 1

GetLengthMethod · 0.45

Tested by

no test coverage detected