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

Method OnAllConfigLoaded

lib/base/configobject.cpp:423–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

421}
422
423void ConfigObject::OnAllConfigLoaded()
424{
425 static ConfigType *ctype = dynamic_cast<ConfigType *>(Type::GetByName("Zone").get());
426 String zoneName = GetZoneName();
427
428 if (!zoneName.IsEmpty())
429 m_Zone = ctype->GetObject(zoneName);
430}
431
432void ConfigObject::CreateChildObjects(const Type::Ptr&)
433{

Callers

nothing calls this directly

Calls 3

getMethod · 0.45
IsEmptyMethod · 0.45
GetObjectMethod · 0.45

Tested by

no test coverage detected