OGS
ProcessUtils.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <string>
7#include <vector>
8
9namespace BaseLib
10{
11class ConfigTree;
12}
13namespace ProcessLib
14{
15class ProcessVariable;
16}
17
18namespace ProcessLib
19{
38std::vector<std::reference_wrapper<ProcessVariable>> findProcessVariables(
39 std::vector<ProcessVariable> const& variables,
40 BaseLib::ConfigTree const& pv_config,
41 std::initializer_list<std::string>
42 tags);
43
44std::vector<std::reference_wrapper<ProcessVariable>> findProcessVariables(
45 std::vector<ProcessVariable> const& variables,
46 BaseLib::ConfigTree const& pv_config, std::string const& tag,
47 bool const optional = false);
48
49} // 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)