1#ifndef DUNE_COPASI_PARSER_PARSER_HH
2#define DUNE_COPASI_PARSER_PARSER_HH
4#include <dune-copasi-config.hh>
8#include <unordered_map>
11#include <function2/function2.hpp>
virtual void define_variable(const std::string &symbol, RangeField const *value)
std::string expression() const
Parser & operator=(const Parser &)=delete
std::vector< RangeField const * > _variables
Definition parser.hh:61
Parser & operator=(Parser &&)=default
bool _compiled
Definition parser.hh:58
fu2::unique_function< RangeField(RangeField, RangeField, RangeField) const > Function3D
Definition parser.hh:34
fu2::unique_function< RangeField() const > Function0D
Definition parser.hh:31
Parser(Parser &&)=default
fu2::unique_function< RangeField(RangeField, RangeField, RangeField, RangeField) const > Function4D
Definition parser.hh:35
std::string _expression
Definition parser.hh:59
Parser(const Parser &)=delete
virtual void define_function(const std::string &symbol, Function0D &&function)=0
virtual ~Parser()=default
double RangeField
Definition parser.hh:29
fu2::unique_function< RangeField(RangeField, RangeField) const > Function2D
Definition parser.hh:33
virtual void define_constant(const std::string &symbol, const RangeField &value)=0
fu2::unique_function< RangeField(RangeField) const > Function1D
Definition parser.hh:32
std::vector< std::string > _symbols
Definition parser.hh:60
virtual void set_expression(const std::string &expression)
Definition axis_names.hh:7
constexpr bool is_bitflags_v
Alias for Bitflag indicator.
Definition bit_flags.hh:24