MCPcopy Create free account
hub / github.com/Profactor/cv-plot / create

Method create

CvPlot/ext/catch2/inc/catch.hpp:12375–12380  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12373 ReporterRegistry::~ReporterRegistry() = default;
12374
12375 IStreamingReporterPtr ReporterRegistry::create( std::string const& name, IConfigPtr const& config ) const {
12376 auto it = m_factories.find( name );
12377 if( it == m_factories.end() )
12378 return nullptr;
12379 return it->second->create( ReporterConfig( config ) );
12380 }
12381
12382 void ReporterRegistry::registerReporter( std::string const& name, IReporterFactoryPtr const& factory ) {
12383 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