Function create
Synopsis
#include <include/internal/catch_reporter_registry.h>
IStreamingReporterPtr create(std::string const &name, IConfigPtr const &config) const override
Description
No description yet.
Source
Lines 13-18 in include/internal/catch_reporter_registry.cpp. Line 23 in include/internal/catch_reporter_registry.h.
IStreamingReporterPtr ReporterRegistry::create( std::string const& name, IConfigPtr const& config ) const {
auto it = m_factories.find( name );
if( it == m_factories.end() )
return nullptr;
return it->second->create( ReporterConfig( config ) );
}