LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
testing::DefaultSetupProviderClass< Prov > Struct Template Reference

A default implementation for provider setup class. More...

#include "ProviderTestHelpers.h"

Inheritance diagram for testing::DefaultSetupProviderClass< Prov >:
testing::ProviderSetupClass< Prov >

Static Public Member Functions

template<typename... Args>
static std::unique_ptr< Prov > setup (Args &&...args)
 Instantiates a new provider with specified arguments for constructor. More...
 

Detailed Description

template<typename Prov>
struct testing::DefaultSetupProviderClass< Prov >

A default implementation for provider setup class.

Definition at line 38 of file ProviderTestHelpers.h.

Member Function Documentation

template<typename Prov >
template<typename... Args>
static std::unique_ptr<Prov> testing::DefaultSetupProviderClass< Prov >::setup ( Args &&...  args)
inlinestatic

Instantiates a new provider with specified arguments for constructor.

Definition at line 42 of file ProviderTestHelpers.h.

Referenced by testing::setupProvider().

43  {
44  return std::make_unique<Prov>(std::forward<Args>(args)...);
45  }

The documentation for this struct was generated from the following file: