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

Method Get

lib/base/namespace.cpp:26–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24{ }
25
26Value Namespace::Get(const String& field) const
27{
28 Value value;
29 if (!Get(field, &value))
30 BOOST_THROW_EXCEPTION(ScriptError("Namespace does not contain field '" + field + "'"));
31 return value;
32}
33
34bool Namespace::Get(const String& field, Value *value) const
35{

Callers

nothing calls this directly

Calls 3

ScriptErrorClass · 0.85
findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected