| 49 | } |
| 50 | |
| 51 | std::vector<ScheduleTypeKey> AvailabilityManagerOptimumStart_Impl::getScheduleTypeKeys(const Schedule& schedule) const { |
| 52 | std::vector<ScheduleTypeKey> result; |
| 53 | UnsignedVector fieldIndices = getSourceIndices(schedule.handle()); |
| 54 | UnsignedVector::const_iterator b(fieldIndices.begin()); |
| 55 | UnsignedVector::const_iterator e(fieldIndices.end()); |
| 56 | if (std::find(b, e, OS_AvailabilityManager_OptimumStartFields::ApplicabilitySchedule) != e) { |
| 57 | result.push_back(ScheduleTypeKey("AvailabilityManagerOptimumStart", "Applicability Schedule")); |
| 58 | } |
| 59 | if (std::find(b, e, OS_AvailabilityManager_OptimumStartFields::FanSchedule) != e) { |
| 60 | result.push_back(ScheduleTypeKey("AvailabilityManagerOptimumStart", "Fan Schedule")); |
| 61 | } |
| 62 | return result; |
| 63 | } |
| 64 | |
| 65 | Schedule AvailabilityManagerOptimumStart_Impl::applicabilitySchedule() const { |
| 66 | boost::optional<Schedule> value = optionalApplicabilitySchedule(); |
nothing calls this directly
no test coverage detected