| 42 | } |
| 43 | |
| 44 | void CommandsTable::FetchRows(const AddRowFunction& addRowFn) |
| 45 | { |
| 46 | for (auto& object : ConfigType::GetObjectsByType<CheckCommand>()) { |
| 47 | if (!addRowFn(object, LivestatusGroupByNone, Empty)) |
| 48 | return; |
| 49 | } |
| 50 | |
| 51 | for (auto& object : ConfigType::GetObjectsByType<EventCommand>()) { |
| 52 | if (!addRowFn(object, LivestatusGroupByNone, Empty)) |
| 53 | return; |
| 54 | } |
| 55 | |
| 56 | for (auto& object : ConfigType::GetObjectsByType<NotificationCommand>()) { |
| 57 | if (!addRowFn(object, LivestatusGroupByNone, Empty)) |
| 58 | return; |
| 59 | } |
| 60 | } |
| 61 | |
| 62 | Value CommandsTable::NameAccessor(const Value& row) |
| 63 | { |
nothing calls this directly
no outgoing calls
no test coverage detected