Reaktoro  v2.11.0
A unified framework for modeling chemically reactive systems

Used to store and retrieve model parameters. More...

#include <Params.hpp>

Public Member Functions

 Params ()
 Construct a default Params object.
 
 Params (Data const &params)
 Construct a Params object with given parameters as Data object.
 
auto data () const -> Data const &
 Return the underlying Data object of this Params object.
 
auto append (Params const &other) -> Params &
 Append another Params object into this.
 
auto append (Data const &other) -> Params &
 Append a Data object containing parameters into this Params object.
 
auto operator+= (Params const &other) -> Params &
 Append another Params object into this.
 
auto operator[] (String const &name) const -> Data const &
 Return the set of parameters with given name.
 

Static Public Member Functions

static auto embedded (String const &path) -> Params
 Return parameters with the given file path within the virtual directory of embedded resources.
 
static auto local (String const &path) -> Params
 Return parameters with the given local file path.
 

Detailed Description

Used to store and retrieve model parameters.


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