OGS 6.2.1-499-g3b941532c.dirty.20191012113459
CreateComponent.h
Go to the documentation of this file.
1 
13 #include <boost/optional.hpp>
14 #include <memory>
15 
16 #include "Component.h"
17 
18 namespace BaseLib
19 {
20 class ConfigTree;
21 }
22 namespace ParameterLib
23 {
24 struct ParameterBase;
25 }
26 
27 namespace MaterialPropertyLib
28 {
37 std::vector<std::unique_ptr<Component>> createComponents(
38  boost::optional<BaseLib::ConfigTree> const& config,
39  std::vector<std::unique_ptr<ParameterLib::ParameterBase>> const&
40  parameters);
41 
42 } // namespace MaterialPropertyLib
std::vector< std::unique_ptr< Component > > createComponents(boost::optional< BaseLib::ConfigTree > const &config, std::vector< std::unique_ptr< ParameterLib::ParameterBase >> const &parameters)
Functionality to build different search length algorithm objects from given config.