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

Method getAllTriggersGroupNames

src/Core/Triggers/TriggerManager.cpp:137–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

135 }
136
137 std::vector<std::string> TriggerManager::getAllTriggersGroupNames(
138 const std::string& space)
139 {
140 if (m_allTriggers.find(space) != m_allTriggers.end())
141 {
142 std::vector<std::string> allNames;
143 for (auto& spaceIt : m_allTriggers[space])
144 {
145 allNames.push_back(spaceIt.first);
146 }
147 return allNames;
148 }
149 std::vector<std::string> namespaces(m_allTriggers.size());
150 std::transform(m_allTriggers.begin(), m_allTriggers.end(), namespaces.begin(),
151 [](const auto& pair) { return pair.first; });
152 throw Exceptions::UnknownTriggerNamespace(space, namespaces, EXC_INFO);
153 }
154
155 void TriggerManager::removeTriggerGroup(TriggerGroup* trgGroup)
156 {

Callers

nothing calls this directly

Calls 6

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

Tested by

no test coverage detected