MCPcopy Create free account
hub / github.com/CodingGay/BlackDex / create

Method create

Bcore/src/main/cpp/Dobby/tests/catch.hpp:8459–8464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8457ReporterRegistry::~ReporterRegistry() = default;
8458
8459IStreamingReporterPtr ReporterRegistry::create(std::string const &name, IConfigPtr const &config) const {
8460 auto it = m_factories.find(name);
8461 if (it == m_factories.end())
8462 return nullptr;
8463 return it->second->create(ReporterConfig(config));
8464}
8465
8466void ReporterRegistry::registerReporter(std::string const &name, IReporterFactoryPtr const &factory) {
8467 m_factories.emplace(name, factory);

Callers 3

createReporterFunction · 0.45
makeReporterFunction · 0.45

Calls 3

ReporterConfigClass · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected