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

Method GetParents

lib/icinga/checkable-dependency.cpp:222–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

220}
221
222std::set<Checkable::Ptr> Checkable::GetParents() const
223{
224 std::set<Checkable::Ptr> parents;
225 for (auto& dependencyGroup : GetDependencyGroups()) {
226 dependencyGroup->LoadParents(parents);
227 }
228
229 return parents;
230}
231
232std::set<Checkable::Ptr> Checkable::GetChildren() const
233{

Callers

nothing calls this directly

Calls 1

LoadParentsMethod · 0.80

Tested by

no test coverage detected