
Classes | |
| struct | freefunc00 |
| struct | freefunc01 |
| struct | freefunc02 |
| struct | freefunc03 |
| struct | freefunc04 |
| struct | freefunc05 |
| struct | freefunc06 |
| struct | freefunc07 |
| struct | freefunc08 |
| struct | freefunc09 |
| struct | freefunc10 |
| struct | freefunc11 |
| struct | freefunc12 |
| struct | freefunc13 |
| struct | freefunc14 |
| struct | freefunc15 |
| struct | type_store |
| struct | control_block |
Public Types | |
| typedef T(* | ff00_functor) () |
| typedef T(* | ff01_functor) (T) |
| typedef T(* | ff02_functor) (T, T) |
| typedef T(* | ff03_functor) (T, T, T) |
| typedef T(* | ff04_functor) (T, T, T, T) |
| typedef T(* | ff05_functor) (T, T, T, T, T) |
| typedef T(* | ff06_functor) (T, T, T, T, T, T) |
| typedef T(* | ff07_functor) (T, T, T, T, T, T, T) |
| typedef T(* | ff08_functor) (T, T, T, T, T, T, T, T) |
| typedef T(* | ff09_functor) (T, T, T, T, T, T, T, T, T) |
| typedef T(* | ff10_functor) (T, T, T, T, T, T, T, T, T, T) |
| typedef T(* | ff11_functor) (T, T, T, T, T, T, T, T, T, T, T) |
| typedef T(* | ff12_functor) (T, T, T, T, T, T, T, T, T, T, T, T) |
| typedef T(* | ff13_functor) (T, T, T, T, T, T, T, T, T, T, T, T, T) |
| typedef T(* | ff14_functor) (T, T, T, T, T, T, T, T, T, T, T, T, T, T) |
| typedef T(* | ff15_functor) (T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) |
| typedef vector_holder_t * | vector_holder_ptr |
Public Member Functions | |
| symbol_table () | |
| ~symbol_table () | |
| symbol_table (const symbol_table< T > &st) | |
| symbol_table< T > & | operator= (const symbol_table< T > &st) |
| bool | operator== (const symbol_table< T > &st) const |
| void | clear_variables (const bool delete_node=true) |
| void | clear_functions () |
| void | clear_strings () |
| void | clear_vectors () |
| void | clear_local_constants () |
| void | clear () |
| std::size_t | variable_count () const |
| std::size_t | stringvar_count () const |
| std::size_t | function_count () const |
| std::size_t | vector_count () const |
| variable_ptr | get_variable (const std::string &variable_name) const |
| variable_ptr | get_variable (const T &var_ref) const |
| stringvar_ptr | get_stringvar (const std::string &string_name) const |
| function_ptr | get_function (const std::string &function_name) const |
| vararg_function_ptr | get_vararg_function (const std::string &vararg_function_name) const |
| generic_function_ptr | get_generic_function (const std::string &function_name) const |
| generic_function_ptr | get_string_function (const std::string &function_name) const |
| generic_function_ptr | get_overload_function (const std::string &function_name) const |
| vector_holder_ptr | get_vector (const std::string &vector_name) const |
| T & | variable_ref (const std::string &symbol_name) |
| std::string & | stringvar_ref (const std::string &symbol_name) |
| bool | is_constant_node (const std::string &symbol_name) const |
| bool | is_constant_string (const std::string &symbol_name) const |
| bool | create_variable (const std::string &variable_name, const T &value=T(0)) |
| bool | create_stringvar (const std::string &stringvar_name, const std::string &value=std::string("")) |
| bool | add_variable (const std::string &variable_name, T &t, const bool is_constant=false) |
| bool | add_constant (const std::string &constant_name, const T &value) |
| bool | add_stringvar (const std::string &stringvar_name, std::string &s, const bool is_constant=false) |
| bool | add_function (const std::string &function_name, function_t &function) |
| bool | add_function (const std::string &vararg_function_name, vararg_function_t &vararg_function) |
| bool | add_function (const std::string &function_name, generic_function_t &function) |
| exprtk_define_freefunction (00) exprtk_define_freefunction(01) exprtk_define_freefunction(02) exprtk_define_freefunction(03) exprtk_define_freefunction(04) exprtk_define_freefunction(05) exprtk_define_freefunction(06) exprtk_define_freefunction(07) exprtk_define_freefunction(08) exprtk_define_freefunction(09) exprtk_define_freefunction(10) exprtk_define_freefunction(11) exprtk_define_freefunction(12) exprtk_define_freefunction(13) exprtk_define_freefunction(14) exprtk_define_freefunction(15) inline bool add_reserved_function(const std | |
| bool | add_reserved_function (const std::string &vararg_function_name, vararg_function_t &vararg_function) |
| bool | add_reserved_function (const std::string &function_name, generic_function_t &function) |
| template<std::size_t N> | |
| bool | add_vector (const std::string &vector_name, T(&v)[N]) |
| bool | add_vector (const std::string &vector_name, T *v, const std::size_t &v_size) |
| template<typename Allocator> | |
| bool | add_vector (const std::string &vector_name, std::vector< T, Allocator > &v) |
| bool | add_vector (const std::string &vector_name, exprtk::vector_view< T > &v) |
| bool | remove_variable (const std::string &variable_name, const bool delete_node=true) |
| bool | remove_stringvar (const std::string &string_name) |
| bool | remove_function (const std::string &function_name) |
| bool | remove_vararg_function (const std::string &vararg_function_name) |
| bool | remove_vector (const std::string &vector_name) |
| bool | add_constants () |
| bool | add_pi () |
| bool | add_epsilon () |
| bool | add_infinity () |
| template<typename Package> | |
| bool | add_package (Package &package) |
| template<typename Allocator, template< typename, typename > class Sequence> | |
| std::size_t | get_variable_list (Sequence< std::pair< std::string, T >, Allocator > &vlist) const |
| template<typename Allocator, template< typename, typename > class Sequence> | |
| std::size_t | get_variable_list (Sequence< std::string, Allocator > &vlist) const |
| template<typename Allocator, template< typename, typename > class Sequence> | |
| std::size_t | get_stringvar_list (Sequence< std::pair< std::string, std::string >, Allocator > &svlist) const |
| template<typename Allocator, template< typename, typename > class Sequence> | |
| std::size_t | get_stringvar_list (Sequence< std::string, Allocator > &svlist) const |
| template<typename Allocator, template< typename, typename > class Sequence> | |
| std::size_t | get_vector_list (Sequence< std::string, Allocator > &vlist) const |
| bool | symbol_exists (const std::string &symbol_name, const bool check_reserved_symb=true) const |
| bool | is_variable (const std::string &variable_name) const |
| bool | is_stringvar (const std::string &stringvar_name) const |
| bool | is_conststr_stringvar (const std::string &symbol_name) const |
| bool | is_function (const std::string &function_name) const |
| bool | is_vararg_function (const std::string &vararg_function_name) const |
| bool | is_vector (const std::string &vector_name) const |
| std::string | get_variable_name (const expression_ptr &ptr) const |
| std::string | get_vector_name (const vector_holder_ptr &ptr) const |
| std::string | get_stringvar_name (const expression_ptr &ptr) const |
| std::string | get_conststr_stringvar_name (const expression_ptr &ptr) const |
| bool | valid () const |
| void | load_from (const symbol_table< T > &st) |
Protected Types | |
| typedef details::expression_node< T > * | expression_ptr |
| typedef details::variable_node< T > | variable_t |
| typedef details::vector_holder< T > | vector_holder_t |
| typedef variable_t * | variable_ptr |
| typedef details::stringvar_node< T > | stringvar_t |
| typedef stringvar_t * | stringvar_ptr |
| typedef ifunction< T > | function_t |
| typedef ivararg_function< T > | vararg_function_t |
| typedef igeneric_function< T > | generic_function_t |
| typedef function_t * | function_ptr |
| typedef vararg_function_t * | vararg_function_ptr |
| typedef generic_function_t * | generic_function_ptr |
Static Protected Attributes | |
| static const std::size_t | lut_size = 256 |
Private Types | |
| typedef control_block::st_data | local_data_t |
Private Member Functions | |
| bool | valid_symbol (const std::string &symbol, const bool check_reserved_symb=true) const |
| bool | valid_function (const std::string &symbol) const |
| local_data_t & | local_data () |
| const local_data_t & | local_data () const |
Private Attributes | |
| control_block * | control_block_ |
Friends | |
| class | parser< T > |
| typedef T(* exprtk::symbol_table< T >::ff00_functor) () |
| typedef T(* exprtk::symbol_table< T >::ff01_functor) (T) |
| typedef T(* exprtk::symbol_table< T >::ff02_functor) (T, T) |
| typedef T(* exprtk::symbol_table< T >::ff03_functor) (T, T, T) |
| typedef T(* exprtk::symbol_table< T >::ff04_functor) (T, T, T, T) |
| typedef T(* exprtk::symbol_table< T >::ff05_functor) (T, T, T, T, T) |
| typedef T(* exprtk::symbol_table< T >::ff06_functor) (T, T, T, T, T, T) |
| typedef T(* exprtk::symbol_table< T >::ff07_functor) (T, T, T, T, T, T, T) |
| typedef T(* exprtk::symbol_table< T >::ff08_functor) (T, T, T, T, T, T, T, T) |
| typedef T(* exprtk::symbol_table< T >::ff09_functor) (T, T, T, T, T, T, T, T, T) |
| typedef T(* exprtk::symbol_table< T >::ff10_functor) (T, T, T, T, T, T, T, T, T, T) |
| typedef T(* exprtk::symbol_table< T >::ff11_functor) (T, T, T, T, T, T, T, T, T, T, T) |
| typedef T(* exprtk::symbol_table< T >::ff12_functor) (T, T, T, T, T, T, T, T, T, T, T, T) |
| typedef T(* exprtk::symbol_table< T >::ff13_functor) (T, T, T, T, T, T, T, T, T, T, T, T, T) |
| typedef T(* exprtk::symbol_table< T >::ff14_functor) (T, T, T, T, T, T, T, T, T, T, T, T, T, T) |
| typedef T(* exprtk::symbol_table< T >::ff15_functor) (T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| typedef vector_holder_t* exprtk::symbol_table< T >::vector_holder_ptr |
|
private |
|
inline |
References clear(), and control_block_.
Referenced by load_from(), operator=(), operator==(), and symbol_table().
|
inline |
References control_block_, and exprtk::symbol_table< T >::control_block::destroy().
|
inline |
References control_block_, and symbol_table().
|
inline |
References control_block_, exprtk::symbol_table< T >::control_block::destroy(), and symbol_table().
|
inline |
References control_block_, and symbol_table().
|
inline |
References local_data().
Referenced by clear().
|
inline |
References local_data().
Referenced by clear().
|
inline |
References local_data().
Referenced by clear().
|
inline |
References local_data().
Referenced by clear().
|
inline |
References local_data().
Referenced by clear().
|
inline |
References clear_functions(), clear_local_constants(), clear_strings(), clear_variables(), clear_vectors(), and valid().
Referenced by symbol_table().
|
inline |
References local_data(), and valid().
|
inline |
References local_data(), and valid().
|
inline |
References local_data(), and valid().
|
inline |
References local_data(), and valid().
|
inline |
References local_data(), valid(), and valid_symbol().
Referenced by exprtk::derivative(), exprtk::integrate(), exprtk::second_derivative(), and exprtk::third_derivative().
|
inline |
References local_data(), and valid().
|
inline |
References local_data(), valid(), and valid_symbol().
|
inline |
References local_data(), valid(), and valid_symbol().
Referenced by load_from().
|
inline |
References local_data(), valid(), and valid_symbol().
Referenced by load_from().
|
inline |
References local_data(), valid(), and valid_symbol().
Referenced by load_from().
|
inline |
References local_data(), valid(), and valid_symbol().
Referenced by load_from().
|
inline |
References local_data(), valid(), and valid_symbol().
Referenced by load_from().
|
inline |
References local_data(), valid(), and valid_symbol().
|
inline |
References local_data(), valid(), and valid_symbol().
|
inline |
References local_data(), valid(), and valid_symbol().
|
inline |
References local_data(), valid(), and valid_symbol().
|
inline |
References local_data(), valid(), and valid_symbol().
|
inline |
References add_variable(), local_data(), symbol_exists(), valid(), and valid_symbol().
Referenced by exprtk::parser< Type >::parse_symtab_symbol().
|
inline |
References add_stringvar(), local_data(), symbol_exists(), valid(), and valid_symbol().
|
inline |
References local_data(), symbol_exists(), valid(), and valid_symbol().
Referenced by add_constant(), create_variable(), and exprtk::pgo_primer().
|
inline |
References add_variable(), local_data(), symbol_exists(), valid(), and valid_symbol().
Referenced by add_epsilon(), add_infinity(), add_pi(), exprtk::compute(), exprtk::compute(), exprtk::compute(), and exprtk::parser< Type >::parse_symtab_symbol().
|
inline |
References local_data(), symbol_exists(), valid(), and valid_symbol().
Referenced by create_stringvar().
|
inline |
References local_data(), symbol_exists(), valid(), and valid_symbol().
Referenced by exprtk::function_compositor< T >::forward(), and load_from().
|
inline |
References local_data(), symbol_exists(), valid(), and valid_symbol().
|
inline |
|
inline |
References add_reserved_function(), exprtk_define_freefunction(), local_data(), symbol_exists(), valid(), and valid_symbol().
Referenced by exprtk_define_freefunction().
|
inline |
References local_data(), symbol_exists(), valid(), and valid_symbol().
Referenced by exprtk_define_freefunction().
|
inline |
|
inline |
References local_data(), symbol_exists(), valid(), and valid_symbol().
|
inline |
References local_data(), symbol_exists(), valid(), and valid_symbol().
|
inline |
References local_data(), symbol_exists(), valid(), and valid_symbol().
|
inline |
References local_data(), exprtk::vector_view< T >::size(), symbol_exists(), valid(), and valid_symbol().
|
inline |
References local_data(), and valid().
|
inline |
References local_data(), and valid().
|
inline |
References local_data(), and valid().
|
inline |
References local_data(), and valid().
|
inline |
References local_data(), and valid().
|
inline |
References add_epsilon(), add_infinity(), and add_pi().
Referenced by exprtk::function_compositor< T >::compile_expression(), exprtk::compute(), exprtk::compute(), exprtk::compute(), exprtk::compute(), and exprtk::pgo_primer().
|
inline |
References add_constant(), and exprtk::details::numeric::details::const_pi_impl().
Referenced by add_constants().
|
inline |
References add_constant().
Referenced by add_constants().
|
inline |
References add_constant().
Referenced by add_constants().
|
inline |
|
inline |
References local_data(), and valid().
|
inline |
References local_data(), and valid().
|
inline |
References local_data(), and valid().
|
inline |
References local_data(), and valid().
|
inline |
References local_data(), and valid().
|
inline |
References local_data(), and valid().
Referenced by add_constant(), add_function(), add_function(), add_function(), add_reserved_function(), add_reserved_function(), add_stringvar(), add_variable(), add_vector(), add_vector(), add_vector(), add_vector(), create_stringvar(), create_variable(), and exprtk_define_freefunction().
|
inline |
References local_data(), and valid().
|
inline |
References local_data(), and valid().
|
inline |
References local_data(), valid(), and valid_symbol().
|
inline |
References local_data(), and valid().
|
inline |
References local_data(), and valid().
|
inline |
References local_data(), and valid().
|
inline |
References local_data().
|
inline |
References local_data().
|
inline |
References local_data().
|
inline |
References local_data().
|
inline |
References control_block_.
Referenced by add_constant(), add_function(), add_function(), add_function(), add_reserved_function(), add_reserved_function(), add_stringvar(), add_variable(), add_vector(), add_vector(), add_vector(), add_vector(), clear(), create_stringvar(), create_variable(), exprtk::derivative(), exprtk_define_freefunction(), function_count(), get_function(), get_generic_function(), get_overload_function(), get_string_function(), get_stringvar(), get_stringvar_list(), get_stringvar_list(), get_vararg_function(), get_variable(), get_variable(), get_variable_list(), get_variable_list(), get_vector(), get_vector_list(), exprtk::integrate(), is_constant_node(), is_constant_string(), is_conststr_stringvar(), is_function(), is_stringvar(), is_vararg_function(), is_variable(), is_vector(), remove_function(), remove_stringvar(), remove_vararg_function(), remove_variable(), remove_vector(), exprtk::second_derivative(), stringvar_count(), stringvar_ref(), symbol_exists(), exprtk::third_derivative(), variable_count(), variable_ref(), and vector_count().
|
inline |
References add_function(), exprtk::symbol_table< T >::control_block::st_data::function_store, exprtk::symbol_table< T >::control_block::st_data::generic_function_store, get_function(), get_generic_function(), get_overload_function(), get_string_function(), get_vararg_function(), local_data(), exprtk::symbol_table< T >::control_block::st_data::overload_function_store, exprtk::symbol_table< T >::control_block::st_data::string_function_store, symbol_table(), and exprtk::symbol_table< T >::control_block::st_data::vararg_function_store.
Referenced by exprtk::function_compositor< T >::compile_expression().
|
inlineprivate |
References exprtk::details::is_letter(), exprtk::details::is_letter_or_digit(), and local_data().
Referenced by add_constant(), add_function(), add_function(), add_function(), add_reserved_function(), add_reserved_function(), add_stringvar(), add_variable(), add_vector(), add_vector(), add_vector(), add_vector(), create_stringvar(), create_variable(), exprtk_define_freefunction(), get_function(), get_generic_function(), get_overload_function(), get_string_function(), get_stringvar(), get_vararg_function(), get_variable(), get_vector(), is_constant_node(), is_constant_string(), is_conststr_stringvar(), stringvar_ref(), and variable_ref().
|
inlineprivate |
References exprtk::details::is_letter(), and exprtk::details::is_letter_or_digit().
|
inlineprivate |
References control_block_.
Referenced by add_constant(), add_function(), add_function(), add_function(), add_reserved_function(), add_reserved_function(), add_stringvar(), add_variable(), add_vector(), add_vector(), add_vector(), add_vector(), clear_functions(), clear_local_constants(), clear_strings(), clear_variables(), clear_vectors(), create_stringvar(), create_variable(), exprtk_define_freefunction(), function_count(), get_conststr_stringvar_name(), get_function(), get_generic_function(), get_overload_function(), get_string_function(), get_stringvar(), get_stringvar_list(), get_stringvar_list(), get_stringvar_name(), get_vararg_function(), get_variable(), get_variable(), get_variable_list(), get_variable_list(), get_variable_name(), get_vector(), get_vector_list(), get_vector_name(), is_constant_node(), is_constant_string(), is_conststr_stringvar(), is_function(), is_stringvar(), is_vararg_function(), is_variable(), is_vector(), load_from(), remove_function(), remove_stringvar(), remove_vararg_function(), remove_variable(), remove_vector(), stringvar_count(), stringvar_ref(), symbol_exists(), valid_symbol(), variable_count(), variable_ref(), and vector_count().
|
inlineprivate |
References control_block_.
|
friend |
|
staticprotected |
|
private |
Referenced by local_data(), local_data(), operator=(), operator==(), symbol_table(), symbol_table(), valid(), and ~symbol_table().