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

Method LoadParents

lib/icinga/dependency-group.cpp:140–145  ·  view source on GitHub ↗

* Load all parent Checkables of the current dependency group. * * @param parents The set to load the parent Checkables into. */

Source from the content-addressed store, hash-verified

138 * @param parents The set to load the parent Checkables into.
139 */
140void DependencyGroup::LoadParents(std::set<Checkable::Ptr>& parents) const
141{
142 for (auto& [compositeKey, children] : m_Members) {
143 parents.insert(std::get<0>(compositeKey));
144 }
145}
146
147/**
148 * Retrieve any child Checkable from the current dependency group.

Callers 2

GetParentsMethod · 0.80

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected