| 33 | : ModelObject_Impl(other, model, keepHandles) {} |
| 34 | |
| 35 | boost::optional<Loop> AvailabilityManager_Impl::loop() const { |
| 36 | auto t_handle = handle(); |
| 37 | for (const auto& avmList : model().getConcreteModelObjects<AvailabilityManagerAssignmentList>()) { |
| 38 | for (const auto& avm : avmList.availabilityManagers()) { |
| 39 | if (avm.handle() == t_handle) { |
| 40 | return avmList.loop(); |
| 41 | } |
| 42 | } |
| 43 | } |
| 44 | return boost::none; |
| 45 | } |
| 46 | |
| 47 | } // namespace detail |
| 48 |
nothing calls this directly
no test coverage detected