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

Method Function

lib/base/function.hpp:30–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28
29 template<typename F>
30 Function(const String& name, F function, const std::vector<String>& args = std::vector<String>(),
31 bool side_effect_free = false, bool deprecated = false)
32 : Function(name, WrapFunction(function), args, side_effect_free, deprecated)
33 { }
34
35 Value Invoke(const std::vector<Value>& arguments = std::vector<Value>());
36 Value InvokeThis(const Value& otherThis, const std::vector<Value>& arguments = std::vector<Value>());

Callers

nothing calls this directly

Calls 1

WrapFunctionFunction · 0.85

Tested by

no test coverage detected