|
C++ Mathematical Expression Toolkit (ExprTk) release
|
#include <exprtk.hpp>
Classes | |
| struct | function |
| struct | base_func |
| struct | scoped_bft |
| struct | func_0param |
| struct | func_1param |
| struct | func_2param |
| struct | func_3param |
| struct | func_4param |
| struct | func_5param |
| struct | func_6param |
| struct | func_0param_retval |
| struct | func_1param_retval |
| struct | func_2param_retval |
| struct | func_3param_retval |
| struct | func_4param_retval |
| struct | func_5param_retval |
| struct | func_6param_retval |
Public Types | |
| typedef exprtk::expression< T > | expression_t |
| typedef exprtk::symbol_table< T > | symbol_table_t |
| typedef exprtk::parser< T > | parser_t |
| typedef parser_t::settings_store | settings_t |
Public Member Functions | |
| function_compositor () | |
| function_compositor (const symbol_table_t &st) | |
| ~function_compositor () | |
| symbol_table_t & | symbol_table () |
| const symbol_table_t & | symbol_table () const |
| void | add_auxiliary_symtab (symbol_table_t &symtab) |
| void | load_variables (const bool load=true) |
| void | load_vectors (const bool load=true) |
| void | register_loop_runtime_check (loop_runtime_check &lrtchk) |
| void | register_vector_access_runtime_check (vector_access_runtime_check &vartchk) |
| void | register_compilation_timeout_check (compilation_check &compchk) |
| void | clear_loop_runtime_check () |
| void | clear_vector_access_runtime_check () |
| void | clear_compilation_timeout_check () |
| void | clear () |
| bool | add (const function &f, const bool override=false) |
| std::string | error () const |
| std::size_t | error_count () const |
| parser_error::type | get_error (const std::size_t &index) const |
Private Types | |
| typedef std::map< std::string, base_func * > | funcparam_t |
| typedef const T & | type |
Private Member Functions | |
| template<typename Allocator, template< typename, typename > class Sequence> | |
| bool | add (const std::string &name, const std::string &expression, const Sequence< std::string, Allocator > &var_list, const bool override=false) |
| template<typename Allocator, template< typename, typename > class Sequence> | |
| bool | compile_expression (const std::string &name, const std::string &expression, const Sequence< std::string, Allocator > &input_var_list, bool return_present=false) |
| bool | symbol_used (const std::string &symbol) const |
| bool | valid (const std::string &name, const std::size_t &arg_count) const |
| bool | forward (const std::string &name, const std::size_t &arg_count, symbol_table_t &sym_table, const bool ret_present=false) |
| void | remove (const std::string &name, const std::size_t &arg_count) |
Static Private Member Functions | |
| static T | return_value (expression_t &e) |
Private Attributes | |
| symbol_table_t | symbol_table_ |
| parser_t | parser_ |
| std::map< std::string, expression_t > | expr_map_ |
| std::vector< funcparam_t > | fp_map_ |
| std::vector< symbol_table_t * > | auxiliary_symtab_list_ |
| std::deque< parser_error::type > | error_list_ |
| bool | load_variables_ |
| bool | load_vectors_ |
Definition at line 43056 of file exprtk.hpp.
| typedef exprtk::expression<T> exprtk::function_compositor< T >::expression_t |
Definition at line 43060 of file exprtk.hpp.
|
private |
Definition at line 43492 of file exprtk.hpp.
| typedef exprtk::parser<T> exprtk::function_compositor< T >::parser_t |
Definition at line 43062 of file exprtk.hpp.
| typedef parser_t::settings_store exprtk::function_compositor< T >::settings_t |
Definition at line 43063 of file exprtk.hpp.
| typedef exprtk::symbol_table<T> exprtk::function_compositor< T >::symbol_table_t |
Definition at line 43061 of file exprtk.hpp.
|
private |
Definition at line 43494 of file exprtk.hpp.
|
inline |
Definition at line 43694 of file exprtk.hpp.
References fp_map_, load_variables_, load_vectors_, and parser_.
|
inlineexplicit |
Definition at line 43702 of file exprtk.hpp.
References fp_map_, load_variables_, load_vectors_, parser_, and symbol_table_.
|
inline |
Definition at line 43711 of file exprtk.hpp.
References clear().
|
inline |
Definition at line 43795 of file exprtk.hpp.
References add(), exprtk::function_compositor< T >::function::expression_, exprtk::function_compositor< T >::function::name_, and exprtk::function_compositor< T >::function::v_.
|
inlineprivate |
Definition at line 43655 of file exprtk.hpp.
References compile_expression(), expr_map_, exprtk_debug, fp_map_, and remove().
Referenced by add(), and primes_via_naive_method().
|
inline |
Definition at line 43726 of file exprtk.hpp.
References auxiliary_symtab_list_.
|
inline |
Definition at line 43771 of file exprtk.hpp.
References clear_compilation_timeout_check(), clear_loop_runtime_check(), clear_vector_access_runtime_check(), expr_map_, fp_map_, and symbol_table_.
Referenced by ~function_compositor().
|
inline |
Definition at line 43766 of file exprtk.hpp.
References parser_.
Referenced by clear().
|
inline |
Definition at line 43756 of file exprtk.hpp.
References parser_.
Referenced by clear().
|
inline |
Definition at line 43761 of file exprtk.hpp.
References parser_.
Referenced by clear().
|
inlineprivate |
Definition at line 43829 of file exprtk.hpp.
References exprtk::symbol_table< T >::add_constants(), auxiliary_symtab_list_, exprtk::details::back(), compile_expression(), exprtk::parser_error::e_parser, error(), error_list_, expr_map_, exprtk_debug, exprtk_error_location, forward(), fp_map_, exprtk::details::front(), exprtk::symbol_table< T >::load_from(), load_variables_, exprtk::symbol_table< T >::load_variables_from(), load_vectors_, exprtk::symbol_table< T >::load_vectors_from(), exprtk::parser_error::make_error(), parser_, exprtk::expression< T >::register_symbol_table(), remove(), symbol_table_, and valid().
Referenced by add(), and compile_expression().
|
inline |
Definition at line 43800 of file exprtk.hpp.
References error_list_.
Referenced by compile_expression().
|
inline |
Definition at line 43810 of file exprtk.hpp.
References error_list_.
|
inlineprivate |
Definition at line 43975 of file exprtk.hpp.
References exprtk::symbol_table< T >::add_function(), case_stmt, and fp_map_.
Referenced by compile_expression().
|
inline |
Definition at line 43815 of file exprtk.hpp.
References error_list_.
|
inline |
Definition at line 43731 of file exprtk.hpp.
References load_variables_.
|
inline |
Definition at line 43736 of file exprtk.hpp.
References load_vectors_.
|
inline |
Definition at line 43751 of file exprtk.hpp.
References parser_.
|
inline |
Definition at line 43741 of file exprtk.hpp.
References parser_.
|
inline |
Definition at line 43746 of file exprtk.hpp.
References parser_.
|
inlineprivate |
Definition at line 44001 of file exprtk.hpp.
References expr_map_, fp_map_, and symbol_table_.
Referenced by add(), and compile_expression().
|
inlinestaticprivate |
Definition at line 43615 of file exprtk.hpp.
|
inline |
Definition at line 43716 of file exprtk.hpp.
References symbol_table_.
|
inline |
Definition at line 43721 of file exprtk.hpp.
References symbol_table_.
|
inlineprivate |
Definition at line 43951 of file exprtk.hpp.
References symbol_table_.
Referenced by valid().
|
inlineprivate |
Definition at line 43962 of file exprtk.hpp.
References fp_map_, and symbol_used().
Referenced by compile_expression().
|
private |
Definition at line 44030 of file exprtk.hpp.
Referenced by add_auxiliary_symtab(), and compile_expression().
|
private |
Definition at line 44031 of file exprtk.hpp.
Referenced by compile_expression(), error(), error_count(), and get_error().
|
private |
Definition at line 44028 of file exprtk.hpp.
Referenced by add(), clear(), compile_expression(), and remove().
|
private |
Definition at line 44029 of file exprtk.hpp.
Referenced by add(), clear(), compile_expression(), forward(), function_compositor(), function_compositor(), remove(), and valid().
|
private |
Definition at line 44032 of file exprtk.hpp.
Referenced by compile_expression(), function_compositor(), function_compositor(), and load_variables().
|
private |
Definition at line 44033 of file exprtk.hpp.
Referenced by compile_expression(), function_compositor(), function_compositor(), and load_vectors().
|
private |
Definition at line 44027 of file exprtk.hpp.
Referenced by clear_compilation_timeout_check(), clear_loop_runtime_check(), clear_vector_access_runtime_check(), compile_expression(), function_compositor(), function_compositor(), register_compilation_timeout_check(), register_loop_runtime_check(), and register_vector_access_runtime_check().
|
private |
Definition at line 44026 of file exprtk.hpp.
Referenced by clear(), compile_expression(), function_compositor(), remove(), symbol_table(), symbol_table(), and symbol_used().