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

Method create

extern/Catch2/catch.hpp:12534–12539  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 9

createReporterFunction · 0.45
makeReporterFunction · 0.45
createFloatAttrMethod · 0.45
createIntAttrMethod · 0.45
createBoolAttrMethod · 0.45
createVec3AttrMethod · 0.45
createVec3iAttrMethod · 0.45
createEnumAttrMethod · 0.45
createStringAttrMethod · 0.45

Calls 3

ReporterConfigClass · 0.85
findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected