|
C++ Mathematical Expression Toolkit (ExprTk) release
|
#include <exprtk.hpp>
Static Public Attributes | |
| static const std::size_t | default_compile_all_opts |
Private Types | |
| typedef std::set< std::string, details::ilesscompare > | disabled_entity_set_t |
| typedef disabled_entity_set_t::iterator | des_itr_t |
Private Member Functions | |
| void | load_compile_options (const std::size_t compile_options) |
| std::string | assign_opr_to_string (details::operator_type opr) const |
| std::string | arith_opr_to_string (details::operator_type opr) const |
| std::string | inequality_opr_to_string (details::operator_type opr) const |
| std::string | logic_opr_to_string (details::operator_type opr) const |
Private Attributes | |
| bool | enable_replacer_ |
| bool | enable_joiner_ |
| bool | enable_numeric_check_ |
| bool | enable_bracket_check_ |
| bool | enable_sequence_check_ |
| bool | enable_commutative_check_ |
| bool | enable_strength_reduction_ |
| bool | enable_collect_vars_ |
| bool | enable_collect_funcs_ |
| bool | enable_collect_assings_ |
| bool | disable_vardef_ |
| bool | disable_rsrvd_sym_usr_ |
| bool | disable_zero_return_ |
| disabled_entity_set_t | disabled_func_set_ |
| disabled_entity_set_t | disabled_ctrl_set_ |
| disabled_entity_set_t | disabled_logic_set_ |
| disabled_entity_set_t | disabled_arithmetic_set_ |
| disabled_entity_set_t | disabled_assignment_set_ |
| disabled_entity_set_t | disabled_inequality_set_ |
| std::size_t | max_stack_depth_ |
| std::size_t | max_node_depth_ |
| std::size_t | max_total_local_symbol_size_bytes_ |
| std::size_t | max_local_vector_size_ |
Friends | |
| class | parser< T > |
Definition at line 24028 of file exprtk.hpp.
|
private |
Definition at line 24033 of file exprtk.hpp.
|
private |
Definition at line 24032 of file exprtk.hpp.
| enum exprtk::parser::settings_store::settings_arithmetic_opr |
| Enumerator | |
|---|---|
| e_arith_unknown | |
| e_arith_add | |
| e_arith_sub | |
| e_arith_mul | |
| e_arith_div | |
| e_arith_mod | |
| e_arith_pow | |
Definition at line 24094 of file exprtk.hpp.
| enum exprtk::parser::settings_store::settings_assignment_opr |
| Enumerator | |
|---|---|
| e_assign_unknown | |
| e_assign_assign | |
| e_assign_addass | |
| e_assign_subass | |
| e_assign_mulass | |
| e_assign_divass | |
| e_assign_modass | |
Definition at line 24101 of file exprtk.hpp.
| enum exprtk::parser::settings_store::settings_base_funcs |
Definition at line 24055 of file exprtk.hpp.
| enum exprtk::parser::settings_store::settings_compilation_options |
Definition at line 24037 of file exprtk.hpp.
| enum exprtk::parser::settings_store::settings_control_structs |
| Enumerator | |
|---|---|
| e_ctrl_unknown | |
| e_ctrl_ifelse | |
| e_ctrl_switch | |
| e_ctrl_for_loop | |
| e_ctrl_while_loop | |
| e_ctrl_repeat_loop | |
| e_ctrl_return | |
Definition at line 24075 of file exprtk.hpp.
| enum exprtk::parser::settings_store::settings_inequality_opr |
| Enumerator | |
|---|---|
| e_ineq_unknown | |
| e_ineq_lt | |
| e_ineq_lte | |
| e_ineq_eq | |
| e_ineq_equal | |
| e_ineq_ne | |
| e_ineq_nequal | |
| e_ineq_gte | |
| e_ineq_gt | |
Definition at line 24108 of file exprtk.hpp.
| enum exprtk::parser::settings_store::settings_logic_opr |
| Enumerator | |
|---|---|
| e_logic_unknown | |
| e_logic_and | |
| e_logic_nand | |
| e_logic_nor | |
| e_logic_not | |
| e_logic_or | |
| e_logic_xnor | |
| e_logic_xor | |
| e_logic_scand | |
| e_logic_scor | |
Definition at line 24086 of file exprtk.hpp.
|
inline |
Definition at line 24125 of file exprtk.hpp.
References default_compile_all_opts, load_compile_options(), max_local_vector_size_, max_node_depth_, max_stack_depth_, and max_total_local_symbol_size_bytes_.
Referenced by disable_all_arithmetic_ops(), disable_all_assignment_ops(), disable_all_base_functions(), disable_all_control_structures(), disable_all_inequality_ops(), disable_all_logic_ops(), disable_arithmetic_operation(), disable_assignment_operation(), disable_base_function(), disable_commutative_check(), disable_control_structure(), disable_inequality_operation(), disable_local_vardef(), disable_logic_operation(), disable_strength_reduction(), enable_all_arithmetic_ops(), enable_all_assignment_ops(), enable_all_base_functions(), enable_all_control_structures(), enable_all_inequality_ops(), enable_all_logic_ops(), enable_arithmetic_operation(), enable_assignment_operation(), enable_base_function(), enable_commutative_check(), enable_control_structure(), enable_inequality_operation(), enable_local_vardef(), enable_logic_operation(), and enable_strength_reduction().
|
inlineprivate |
Definition at line 24644 of file exprtk.hpp.
References exprtk::details::e_add, exprtk::details::e_div, exprtk::details::e_mod, exprtk::details::e_mul, exprtk::details::e_pow, and exprtk::details::e_sub.
Referenced by arithmetic_disabled(), and arithmetic_enabled().
|
inline |
Definition at line 24367 of file exprtk.hpp.
References arith_opr_to_string(), and disabled_arithmetic_set_.
|
inline |
Definition at line 24298 of file exprtk.hpp.
References arith_opr_to_string(), and disabled_arithmetic_set_.
|
inlineprivate |
Definition at line 24630 of file exprtk.hpp.
References exprtk::details::e_addass, exprtk::details::e_assign, exprtk::details::e_divass, exprtk::details::e_modass, exprtk::details::e_mulass, and exprtk::details::e_subass.
Referenced by assignment_disabled(), and assignment_enabled().
|
inline |
Definition at line 24349 of file exprtk.hpp.
References assign_opr_to_string(), and disabled_assignment_set_.
|
inline |
Definition at line 24307 of file exprtk.hpp.
References assign_opr_to_string(), and disabled_assignment_set_.
|
inline |
Definition at line 24264 of file exprtk.hpp.
References enable_bracket_check_.
|
inline |
Definition at line 24269 of file exprtk.hpp.
References enable_collect_assings_.
|
inline |
Definition at line 24268 of file exprtk.hpp.
References enable_collect_funcs_.
|
inline |
Definition at line 24267 of file exprtk.hpp.
References enable_collect_vars_.
|
inline |
Definition at line 24261 of file exprtk.hpp.
References enable_commutative_check_.
|
inline |
Definition at line 24333 of file exprtk.hpp.
References disabled_ctrl_set_.
|
inline |
Definition at line 24282 of file exprtk.hpp.
References disabled_ctrl_set_.
|
inline |
Definition at line 24215 of file exprtk.hpp.
References exprtk::details::arithmetic_ops_list, exprtk::details::arithmetic_ops_list_size, disabled_arithmetic_set_, and settings_store().
|
inline |
Definition at line 24224 of file exprtk.hpp.
References exprtk::details::assignment_ops_list, exprtk::details::assignment_ops_list_size, disabled_assignment_set_, and settings_store().
|
inline |
Definition at line 24188 of file exprtk.hpp.
References exprtk::details::base_function_list, exprtk::details::base_function_list_size, disabled_func_set_, and settings_store().
|
inline |
Definition at line 24197 of file exprtk.hpp.
References exprtk::details::cntrl_struct_list, exprtk::details::cntrl_struct_list_size, disabled_ctrl_set_, and settings_store().
|
inline |
Definition at line 24233 of file exprtk.hpp.
References disabled_inequality_set_, exprtk::details::inequality_ops_list, exprtk::details::inequality_ops_list_size, and settings_store().
|
inline |
Definition at line 24206 of file exprtk.hpp.
References disabled_logic_set_, exprtk::details::logic_ops_list, exprtk::details::logic_ops_list_size, and settings_store().
|
inline |
Definition at line 24424 of file exprtk.hpp.
References exprtk::details::arithmetic_ops_list, exprtk::details::arithmetic_ops_list_size, disabled_arithmetic_set_, e_arith_unknown, and settings_store().
|
inline |
Definition at line 24437 of file exprtk.hpp.
References exprtk::details::assignment_ops_list, exprtk::details::assignment_ops_list_size, disabled_assignment_set_, e_assign_unknown, and settings_store().
|
inline |
Definition at line 24385 of file exprtk.hpp.
References exprtk::details::base_function_list, exprtk::details::base_function_list_size, disabled_func_set_, e_bf_unknown, and settings_store().
|
inline |
Definition at line 24248 of file exprtk.hpp.
References enable_commutative_check_, and settings_store().
|
inline |
Definition at line 24398 of file exprtk.hpp.
References exprtk::details::cntrl_struct_list, exprtk::details::cntrl_struct_list_size, disabled_ctrl_set_, e_ctrl_unknown, and settings_store().
|
inline |
Definition at line 24450 of file exprtk.hpp.
References disabled_inequality_set_, e_ineq_unknown, exprtk::details::inequality_ops_list, exprtk::details::inequality_ops_list_size, and settings_store().
|
inline |
Definition at line 24242 of file exprtk.hpp.
References disable_vardef_, and settings_store().
|
inline |
Definition at line 24411 of file exprtk.hpp.
References disabled_logic_set_, e_logic_unknown, logic(), exprtk::details::logic_ops_list, exprtk::details::logic_ops_list_size, and settings_store().
|
inline |
Definition at line 24254 of file exprtk.hpp.
References enable_strength_reduction_, and settings_store().
|
inline |
Definition at line 24152 of file exprtk.hpp.
References disabled_arithmetic_set_, and settings_store().
|
inline |
Definition at line 24158 of file exprtk.hpp.
References disabled_assignment_set_, and settings_store().
|
inline |
Definition at line 24134 of file exprtk.hpp.
References disabled_func_set_, and settings_store().
|
inline |
Definition at line 24140 of file exprtk.hpp.
References disabled_ctrl_set_, and settings_store().
|
inline |
Definition at line 24164 of file exprtk.hpp.
References disabled_inequality_set_, and settings_store().
|
inline |
Definition at line 24146 of file exprtk.hpp.
References disabled_logic_set_, and settings_store().
|
inline |
Definition at line 24517 of file exprtk.hpp.
References exprtk::details::arithmetic_ops_list, exprtk::details::arithmetic_ops_list_size, disabled_arithmetic_set_, e_arith_unknown, and settings_store().
|
inline |
Definition at line 24535 of file exprtk.hpp.
References exprtk::details::assignment_ops_list, exprtk::details::assignment_ops_list_size, disabled_assignment_set_, e_assign_unknown, and settings_store().
|
inline |
Definition at line 24463 of file exprtk.hpp.
References exprtk::details::base_function_list, exprtk::details::base_function_list_size, disabled_func_set_, e_bf_unknown, and settings_store().
|
inline |
Definition at line 24176 of file exprtk.hpp.
References enable_commutative_check_, and settings_store().
|
inline |
Definition at line 24481 of file exprtk.hpp.
References exprtk::details::cntrl_struct_list, exprtk::details::cntrl_struct_list_size, disabled_ctrl_set_, e_ctrl_unknown, and settings_store().
|
inline |
Definition at line 24553 of file exprtk.hpp.
References disabled_inequality_set_, e_ineq_unknown, exprtk::details::inequality_ops_list, exprtk::details::inequality_ops_list_size, and settings_store().
|
inline |
Definition at line 24170 of file exprtk.hpp.
References disable_vardef_, and settings_store().
|
inline |
Definition at line 24499 of file exprtk.hpp.
References disabled_logic_set_, e_logic_unknown, logic(), exprtk::details::logic_ops_list, exprtk::details::logic_ops_list_size, and settings_store().
|
inline |
Definition at line 24182 of file exprtk.hpp.
References enable_strength_reduction_, and settings_store().
|
inline |
Definition at line 24325 of file exprtk.hpp.
References disabled_func_set_.
|
inline |
Definition at line 24274 of file exprtk.hpp.
References disabled_func_set_.
|
inline |
Definition at line 24376 of file exprtk.hpp.
References disabled_inequality_set_, and inequality_opr_to_string().
|
inline |
Definition at line 24316 of file exprtk.hpp.
References disabled_inequality_set_, and inequality_opr_to_string().
|
inlineprivate |
Definition at line 24658 of file exprtk.hpp.
References exprtk::details::e_eq, exprtk::details::e_equal, exprtk::details::e_gt, exprtk::details::e_gte, exprtk::details::e_lt, exprtk::details::e_lte, exprtk::details::e_ne, and exprtk::details::e_nequal.
Referenced by inequality_disabled(), and inequality_enabled().
|
inline |
|
inlineprivate |
Definition at line 24613 of file exprtk.hpp.
References disable_rsrvd_sym_usr_, disable_vardef_, disable_zero_return_, e_bracket_check, e_collect_assings, e_collect_funcs, e_collect_vars, e_commutative_check, e_disable_usr_on_rsrvd, e_disable_vardef, e_disable_zero_return, e_joiner, e_numeric_check, e_replacer, e_sequence_check, e_strength_reduction, enable_bracket_check_, enable_collect_assings_, enable_collect_funcs_, enable_collect_vars_, enable_commutative_check_, enable_joiner_, enable_numeric_check_, enable_replacer_, enable_sequence_check_, and enable_strength_reduction_.
Referenced by settings_store().
|
inline |
Definition at line 24358 of file exprtk.hpp.
References disabled_logic_set_, and logic_opr_to_string().
|
inline |
Definition at line 24341 of file exprtk.hpp.
References disabled_logic_set_.
|
inline |
Definition at line 24290 of file exprtk.hpp.
References disabled_logic_set_.
|
inlineprivate |
Definition at line 24674 of file exprtk.hpp.
References exprtk::details::e_and, exprtk::details::e_nand, exprtk::details::e_nor, exprtk::details::e_notl, exprtk::details::e_or, exprtk::details::e_xnor, and exprtk::details::e_xor.
Referenced by logic_disabled().
|
inline |
Definition at line 24601 of file exprtk.hpp.
References max_local_vector_size_.
Referenced by set_max_local_vector_size().
|
inline |
Definition at line 24596 of file exprtk.hpp.
References max_node_depth_.
Referenced by set_max_node_depth().
|
inline |
Definition at line 24591 of file exprtk.hpp.
References max_stack_depth_.
Referenced by set_max_stack_depth().
|
inline |
Definition at line 24606 of file exprtk.hpp.
References max_total_local_symbol_size_bytes_.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 24581 of file exprtk.hpp.
References max_local_vector_size(), and max_local_vector_size_.
|
inline |
Definition at line 24576 of file exprtk.hpp.
References max_node_depth(), and max_node_depth_.
|
inline |
Definition at line 24571 of file exprtk.hpp.
References max_stack_depth(), and max_stack_depth_.
|
inline |
Definition at line 24586 of file exprtk.hpp.
References max_total_local_symbol_size_bytes_.
|
inline |
|
inline |
|
inline |
|
friend |
Definition at line 24713 of file exprtk.hpp.
|
static |
Definition at line 24116 of file exprtk.hpp.
Referenced by settings_store().
|
private |
Definition at line 24700 of file exprtk.hpp.
Referenced by load_compile_options(), and rsrvd_sym_usr_disabled().
|
private |
Definition at line 24699 of file exprtk.hpp.
Referenced by disable_local_vardef(), enable_local_vardef(), load_compile_options(), and vardef_disabled().
|
private |
Definition at line 24701 of file exprtk.hpp.
Referenced by load_compile_options(), and zero_return_disabled().
|
private |
Definition at line 24706 of file exprtk.hpp.
Referenced by arithmetic_disabled(), arithmetic_enabled(), disable_all_arithmetic_ops(), disable_arithmetic_operation(), enable_all_arithmetic_ops(), and enable_arithmetic_operation().
|
private |
Definition at line 24707 of file exprtk.hpp.
Referenced by assignment_disabled(), assignment_enabled(), disable_all_assignment_ops(), disable_assignment_operation(), enable_all_assignment_ops(), and enable_assignment_operation().
|
private |
Definition at line 24704 of file exprtk.hpp.
Referenced by control_struct_disabled(), control_struct_enabled(), disable_all_control_structures(), disable_control_structure(), enable_all_control_structures(), and enable_control_structure().
|
private |
Definition at line 24703 of file exprtk.hpp.
Referenced by disable_all_base_functions(), disable_base_function(), enable_all_base_functions(), enable_base_function(), function_disabled(), and function_enabled().
|
private |
Definition at line 24708 of file exprtk.hpp.
Referenced by disable_all_inequality_ops(), disable_inequality_operation(), enable_all_inequality_ops(), enable_inequality_operation(), inequality_disabled(), and inequality_enabled().
|
private |
Definition at line 24705 of file exprtk.hpp.
Referenced by disable_all_logic_ops(), disable_logic_operation(), enable_all_logic_ops(), enable_logic_operation(), logic_disabled(), logic_disabled(), and logic_enabled().
|
private |
Definition at line 24692 of file exprtk.hpp.
Referenced by bracket_check_enabled(), and load_compile_options().
|
private |
Definition at line 24698 of file exprtk.hpp.
Referenced by collect_assignments_enabled(), and load_compile_options().
|
private |
Definition at line 24697 of file exprtk.hpp.
Referenced by collect_functions_enabled(), and load_compile_options().
|
private |
Definition at line 24696 of file exprtk.hpp.
Referenced by collect_variables_enabled(), and load_compile_options().
|
private |
Definition at line 24694 of file exprtk.hpp.
Referenced by commutative_check_enabled(), disable_commutative_check(), enable_commutative_check(), and load_compile_options().
|
private |
Definition at line 24690 of file exprtk.hpp.
Referenced by joiner_enabled(), and load_compile_options().
|
private |
Definition at line 24691 of file exprtk.hpp.
Referenced by load_compile_options(), and numeric_check_enabled().
|
private |
Definition at line 24689 of file exprtk.hpp.
Referenced by load_compile_options(), and replacer_enabled().
|
private |
Definition at line 24693 of file exprtk.hpp.
Referenced by load_compile_options(), and sequence_check_enabled().
|
private |
Definition at line 24695 of file exprtk.hpp.
Referenced by disable_strength_reduction(), enable_strength_reduction(), load_compile_options(), and strength_reduction_enabled().
|
private |
Definition at line 24713 of file exprtk.hpp.
Referenced by max_local_vector_size(), set_max_local_vector_size(), and settings_store().
|
private |
Definition at line 24711 of file exprtk.hpp.
Referenced by max_node_depth(), set_max_node_depth(), and settings_store().
|
private |
Definition at line 24710 of file exprtk.hpp.
Referenced by max_stack_depth(), set_max_stack_depth(), and settings_store().
|
private |
Definition at line 24712 of file exprtk.hpp.
Referenced by max_total_local_symbol_size_bytes(), set_max_total_local_symbol_size_bytes(), and settings_store().