| 241 | } |
| 242 | |
| 243 | std::vector<Object*> FindObjects(char const* regex) |
| 244 | { |
| 245 | std::vector<Object*> matches; |
| 246 | if (auto rx = regex_from_char(regex)) |
| 247 | { |
| 248 | for (auto& it : m_Dictionary) |
| 249 | if (std::regex_match(it.first, *rx)) |
| 250 | matches.push_back(it.second); |
| 251 | } |
| 252 | return matches; |
| 253 | } |
| 254 | |
| 255 | std::string const& GetObjectName(Object const* cobj) |
| 256 | { |
no test coverage detected