MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/TriangleMeshDistance / create

Method create

tests/catch.hpp:9965–9970  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9963 ReporterRegistry::~ReporterRegistry() = default;
9964
9965 IStreamingReporterPtr ReporterRegistry::create( std::string const& name, IConfigPtr const& config ) const {
9966 auto it = m_factories.find( name );
9967 if( it == m_factories.end() )
9968 return nullptr;
9969 return it->second->create( ReporterConfig( config ) );
9970 }
9971
9972 void ReporterRegistry::registerReporter( std::string const& name, IReporterFactoryPtr const& factory ) {
9973 m_factories.emplace(name, 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