MCPcopy Create free account
hub / github.com/apache/trafficserver / create

Method create

lib/catch2/catch.hpp:12536–12541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

12534 ReporterRegistry::~ReporterRegistry() = default;
12535
12536 IStreamingReporterPtr ReporterRegistry::create( std::string const& name, IConfigPtr const& config ) const {
12537 auto it = m_factories.find( name );
12538 if( it == m_factories.end() )
12539 return nullptr;
12540 return it->second->create( ReporterConfig( config ) );
12541 }
12542
12543 void ReporterRegistry::registerReporter( std::string const& name, IReporterFactoryPtr const& factory ) {
12544 m_factories.emplace(name, factory);

Callers 4

createReporterFunction · 0.45
makeReporterFunction · 0.45
LLVMFuzzerTestOneInputFunction · 0.45
LLVMFuzzerTestOneInputFunction · 0.45

Calls 3

ReporterConfigClass · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected