OGS
ProcessUtils.h
Go to the documentation of this file.
1
11#pragma once
12
13#include <string>
14#include <vector>
15
16namespace BaseLib
17{
18class ConfigTree;
19}
20namespace ProcessLib
21{
22class ProcessVariable;
23}
24
25namespace ProcessLib
26{
45std::vector<std::reference_wrapper<ProcessVariable>> findProcessVariables(
46 std::vector<ProcessVariable> const& variables,
47 BaseLib::ConfigTree const& pv_config,
48 std::initializer_list<std::string>
49 tags);
50
51std::vector<std::reference_wrapper<ProcessVariable>> findProcessVariables(
52 std::vector<ProcessVariable> const& variables,
53 BaseLib::ConfigTree const& pv_config, std::string const& tag,
54 bool const optional = false);
55
56} // namespace ProcessLib
std::vector< std::reference_wrapper< ProcessVariable > > findProcessVariables(std::vector< ProcessVariable > const &variables, BaseLib::ConfigTree const &pv_config, std::initializer_list< std::string > tags)