MCPcopy Create free account
hub / github.com/RenderKit/embree / create

Method create

tutorials/external/catch.hpp:10223–10228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10221 ReporterRegistry::~ReporterRegistry() = default;
10222
10223 IStreamingReporterPtr ReporterRegistry::create( std::string const& name, IConfigPtr const& config ) const {
10224 auto it = m_factories.find( name );
10225 if( it == m_factories.end() )
10226 return nullptr;
10227 return it->second->create( ReporterConfig( config ) );
10228 }
10229
10230 void ReporterRegistry::registerReporter( std::string const& name, IReporterFactoryPtr const& factory ) {
10231 m_factories.emplace(name, factory);

Callers 2

createReporterFunction · 0.45
makeReporterFunction · 0.45

Calls 3

ReporterConfigClass · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected