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

Function ObjectNotifyAttribute

lib/base/object-script.cpp:20–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18}
19
20static void ObjectNotifyAttribute(const String& attribute)
21{
22 ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
23 Object::Ptr self = static_cast<Object::Ptr>(vframe->Self);
24 REQUIRE_NOT_NULL(self);
25 self->NotifyField(self->GetReflectionType()->GetFieldId(attribute));
26}
27
28static Object::Ptr ObjectClone()
29{

Callers

nothing calls this directly

Calls 3

NotifyFieldMethod · 0.80
GetFieldIdMethod · 0.45
GetReflectionTypeMethod · 0.45

Tested by

no test coverage detected