MCPcopy Create free account
hub / github.com/WarmUpTill/SceneSwitcher / create

Method create

tests/catch.hpp:14553–14560  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14551ReporterRegistry::~ReporterRegistry() = default;
14552
14553IStreamingReporterPtr ReporterRegistry::create(std::string const &name,
14554 IConfigPtr const &config) const
14555{
14556 auto it = m_factories.find(name);
14557 if (it == m_factories.end())
14558 return nullptr;
14559 return it->second->create(ReporterConfig(config));
14560}
14561
14562void ReporterRegistry::registerReporter(std::string const &name,
14563 IReporterFactoryPtr const &factory)

Callers 2

createReporterFunction · 0.45
makeReporterFunction · 0.45

Calls 3

ReporterConfigClass · 0.85
findMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected