MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / doesTriggerGroupExists

Method doesTriggerGroupExists

src/Core/Triggers/TriggerManager.cpp:162–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers

nothing calls this directly

Calls 5

findMethod · 0.45
endMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected