OGS
PhreeqcIOData/ReactionRate.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 <iosfwd>
7#include <string>
8#include <vector>
9
10namespace ChemistryLib
11{
12namespace PhreeqcIOData
13{
15{
16 ReactionRate(std::string kinetic_reactant_,
17 std::vector<std::string>&& expression_statements_)
18 : kinetic_reactant(std::move(kinetic_reactant_)),
19 expression_statements(std::move(expression_statements_))
20 {
21 }
22
23 friend std::ostream& operator<<(std::ostream& os,
24 ReactionRate const& reaction_rate);
25
26 std::string const kinetic_reactant;
27 std::vector<std::string> const expression_statements;
28};
29} // namespace PhreeqcIOData
30} // namespace ChemistryLib
friend std::ostream & operator<<(std::ostream &os, ReactionRate const &reaction_rate)
ReactionRate(std::string kinetic_reactant_, std::vector< std::string > &&expression_statements_)
std::vector< std::string > const expression_statements