| 217 | } |
| 218 | |
| 219 | Object* FindObject(std::string_view name) |
| 220 | { |
| 221 | if (!name.empty()) |
| 222 | { |
| 223 | std::lock_guard<std::mutex> lock(m_Mutex); |
| 224 | auto it = m_Dictionary.find(name); |
| 225 | if (it != m_Dictionary.end()) |
| 226 | return it->second; |
| 227 | } |
| 228 | return nullptr; |
| 229 | } |
| 230 | |
| 231 | std::vector<std::string_view> FindObjectNames(char const* regex) |
| 232 | { |
no test coverage detected