OGS
ChemistryLib::PhreeqcKernelData::ReactionRate Class Reference

Detailed Description

Definition at line 20 of file ReactionRate.h.

#include <ReactionRate.h>

Public Member Functions

 ReactionRate (std::string kinetic_reactant_, std::vector< std::string > const &statements)
 
std::string const & commands () const
 

Public Attributes

std::string const kinetic_reactant
 

Private Attributes

std::string _commands
 

Constructor & Destructor Documentation

◆ ReactionRate()

ChemistryLib::PhreeqcKernelData::ReactionRate::ReactionRate ( std::string kinetic_reactant_,
std::vector< std::string > const & statements )

Definition at line 17 of file ReactionRate.cpp.

19 : kinetic_reactant(std::move(kinetic_reactant_))
20{
21 int line_number = 1;
22 for (auto const& statement : statements)
23 {
24 _commands += std::to_string(line_number) + " " + statement + "; ";
25 ++line_number;
26 }
27}

References _commands.

Member Function Documentation

◆ commands()

std::string const & ChemistryLib::PhreeqcKernelData::ReactionRate::commands ( ) const
inline

Definition at line 26 of file ReactionRate.h.

26{ return _commands; }

References _commands.

Member Data Documentation

◆ _commands

std::string ChemistryLib::PhreeqcKernelData::ReactionRate::_commands
private

Definition at line 32 of file ReactionRate.h.

Referenced by ReactionRate(), and commands().

◆ kinetic_reactant

std::string const ChemistryLib::PhreeqcKernelData::ReactionRate::kinetic_reactant

Definition at line 29 of file ReactionRate.h.


The documentation for this class was generated from the following files: