| 160 | } |
| 161 | |
| 162 | bool TriggerManager::doesTriggerGroupExists( |
| 163 | const std::string& space, const std::string& group) |
| 164 | { |
| 165 | if (m_allTriggers.find(space) != m_allTriggers.end()) |
| 166 | { |
| 167 | if (m_allTriggers[space].find(group) == m_allTriggers[space].end()) |
| 168 | return false; |
| 169 | return true; |
| 170 | } |
| 171 | std::vector<std::string> namespaces(m_allTriggers.size()); |
| 172 | std::transform(m_allTriggers.begin(), m_allTriggers.end(), namespaces.begin(), |
| 173 | [](const auto& pair) { return pair.first; }); |
| 174 | throw Exceptions::UnknownTriggerNamespace(space, namespaces, EXC_INFO); |
| 175 | } |
| 176 | |
| 177 | void TriggerManager::update() |
| 178 | { |
nothing calls this directly
no test coverage detected