C++ Mathematical Expression Toolkit (ExprTk) release
|
Classes | |
struct | string_context |
struct | variable_context |
struct | vector_context |
Public Types | |
typedef symbol_table_t::local_data_t | local_data_t |
typedef symbol_table_t::variable_ptr | variable_ptr |
typedef symbol_table_t::function_ptr | function_ptr |
typedef symbol_table_t::stringvar_ptr | stringvar_ptr |
typedef symbol_table_t::vector_holder_ptr | vector_holder_ptr |
typedef symbol_table_t::vararg_function_ptr | vararg_function_ptr |
typedef symbol_table_t::generic_function_ptr | generic_function_ptr |
Public Member Functions | |
bool | empty () const |
void | clear () |
bool | valid () const |
bool | valid_symbol (const std::string &symbol) const |
bool | valid_function_name (const std::string &symbol) const |
variable_context | get_variable_context (const std::string &variable_name) const |
variable_ptr | get_variable (const std::string &variable_name) const |
variable_ptr | get_variable (const T &var_ref) const |
string_context | get_string_context (const std::string &string_name) 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_context | get_vector_context (const std::string &vector_name) const |
vector_holder_ptr | get_vector (const std::string &vector_name) const |
bool | is_constant_node (const std::string &symbol_name) const |
bool | is_constant_string (const std::string &symbol_name) const |
bool | symbol_exists (const std::string &symbol) 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_node_ptr &ptr) const |
std::string | get_vector_name (const vector_holder_ptr &ptr) const |
std::string | get_stringvar_name (const expression_node_ptr &ptr) const |
std::string | get_conststr_stringvar_name (const expression_node_ptr &ptr) const |
local_data_t & | local_data (const std::size_t &index=0) |
const local_data_t & | local_data (const std::size_t &index=0) const |
symbol_table_t & | get_symbol_table (const std::size_t &index=0) |
Public Attributes | |
symbol_table_list_t | symtab_list_ |
Definition at line 22820 of file exprtk.hpp.
typedef symbol_table_t::function_ptr exprtk::parser< T >::symtab_store::function_ptr |
Definition at line 22826 of file exprtk.hpp.
typedef symbol_table_t::generic_function_ptr exprtk::parser< T >::symtab_store::generic_function_ptr |
Definition at line 22832 of file exprtk.hpp.
typedef symbol_table_t::local_data_t exprtk::parser< T >::symtab_store::local_data_t |
Definition at line 22824 of file exprtk.hpp.
typedef symbol_table_t::stringvar_ptr exprtk::parser< T >::symtab_store::stringvar_ptr |
Definition at line 22828 of file exprtk.hpp.
typedef symbol_table_t::vararg_function_ptr exprtk::parser< T >::symtab_store::vararg_function_ptr |
Definition at line 22831 of file exprtk.hpp.
typedef symbol_table_t::variable_ptr exprtk::parser< T >::symtab_store::variable_ptr |
Definition at line 22825 of file exprtk.hpp.
typedef symbol_table_t::vector_holder_ptr exprtk::parser< T >::symtab_store::vector_holder_ptr |
Definition at line 22830 of file exprtk.hpp.
|
inline |
Definition at line 22874 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::symtab_list_.
|
inline |
Definition at line 22869 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::symtab_list_.
Referenced by exprtk::parser< T >::symtab_store::valid().
|
inline |
Definition at line 23357 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), and exprtk::symbol_table< T >::control_block::st_data::stringvar_store.
|
inline |
Definition at line 23023 of file exprtk.hpp.
References exprtk::symbol_table< T >::control_block::st_data::function_store, exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::symtab_list_, exprtk::parser< T >::symtab_store::valid(), and exprtk::parser< T >::symtab_store::valid_function_name().
Referenced by exprtk::parser< T >::parse_symtab_symbol().
|
inline |
Definition at line 23065 of file exprtk.hpp.
References exprtk::symbol_table< T >::control_block::st_data::generic_function_store, exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::symtab_list_, exprtk::parser< T >::symtab_store::valid(), and exprtk::parser< T >::symtab_store::valid_function_name().
Referenced by exprtk::parser< T >::parse_symtab_symbol().
|
inline |
Definition at line 23107 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), exprtk::symbol_table< T >::control_block::st_data::overload_function_store, exprtk::parser< T >::symtab_store::symtab_list_, exprtk::parser< T >::symtab_store::valid(), and exprtk::parser< T >::symtab_store::valid_function_name().
Referenced by exprtk::parser< T >::parse_symtab_symbol().
|
inline |
Definition at line 22975 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::string_context::str_var, exprtk::symbol_table< T >::control_block::st_data::stringvar_store, exprtk::parser< T >::symtab_store::string_context::symbol_table, exprtk::parser< T >::symtab_store::symtab_list_, exprtk::parser< T >::symtab_store::valid(), and exprtk::parser< T >::symtab_store::valid_symbol().
Referenced by exprtk::parser< T >::parse_string().
|
inline |
Definition at line 23086 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), exprtk::symbol_table< T >::control_block::st_data::string_function_store, exprtk::parser< T >::symtab_store::symtab_list_, exprtk::parser< T >::symtab_store::valid(), and exprtk::parser< T >::symtab_store::valid_function_name().
Referenced by exprtk::parser< T >::parse_symtab_symbol().
|
inline |
Definition at line 23001 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), exprtk::symbol_table< T >::control_block::st_data::stringvar_store, exprtk::parser< T >::symtab_store::symtab_list_, exprtk::parser< T >::symtab_store::valid(), and exprtk::parser< T >::symtab_store::valid_symbol().
|
inline |
Definition at line 23352 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), and exprtk::symbol_table< T >::control_block::st_data::stringvar_store.
Referenced by exprtk::parser< T >::expression_generator< Type >::lodge_assignment().
|
inline |
Definition at line 23373 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::symtab_list_.
Referenced by exprtk::parser< T >::parse_symtab_symbol().
|
inline |
Definition at line 23044 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::symtab_list_, exprtk::parser< T >::symtab_store::valid(), exprtk::parser< T >::symtab_store::valid_function_name(), and exprtk::symbol_table< T >::control_block::st_data::vararg_function_store.
Referenced by exprtk::parser< T >::parse_symtab_symbol().
|
inline |
Definition at line 22935 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::symtab_list_, exprtk::parser< T >::symtab_store::valid(), exprtk::parser< T >::symtab_store::valid_symbol(), and exprtk::symbol_table< T >::control_block::st_data::variable_store.
Referenced by exprtk::parser< T >::parse_swap_statement(), exprtk::parser< T >::parse_symtab_symbol(), and exprtk::parser< T >::simplify_unary_negation_branch().
|
inline |
Definition at line 22956 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::symtab_list_, exprtk::parser< T >::symtab_store::valid(), and exprtk::symbol_table< T >::control_block::st_data::variable_store.
|
inline |
Definition at line 22909 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::variable_context::symbol_table, exprtk::parser< T >::symtab_store::symtab_list_, exprtk::parser< T >::symtab_store::valid(), exprtk::parser< T >::symtab_store::valid_symbol(), exprtk::parser< T >::symtab_store::variable_context::variable, and exprtk::symbol_table< T >::control_block::st_data::variable_store.
Referenced by exprtk::parser< T >::parse_symtab_symbol().
|
inline |
Definition at line 23341 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), and exprtk::symbol_table< T >::control_block::st_data::variable_store.
Referenced by exprtk::parser< T >::expression_generator< Type >::lodge_assignment().
|
inline |
Definition at line 23153 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::symtab_list_, exprtk::parser< T >::symtab_store::valid(), exprtk::parser< T >::symtab_store::valid_symbol(), and exprtk::symbol_table< T >::control_block::st_data::vector_store.
|
inline |
Definition at line 23128 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::vector_context::symbol_table, exprtk::parser< T >::symtab_store::symtab_list_, exprtk::parser< T >::symtab_store::valid(), exprtk::parser< T >::symtab_store::valid_symbol(), exprtk::parser< T >::symtab_store::vector_context::vector_holder, and exprtk::symbol_table< T >::control_block::st_data::vector_store.
Referenced by exprtk::parser< T >::parse_vector().
|
inline |
Definition at line 23346 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), and exprtk::symbol_table< T >::control_block::st_data::vector_store.
Referenced by exprtk::parser< T >::expression_generator< Type >::lodge_assignment().
|
inline |
Definition at line 23178 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::symtab_list_, exprtk::parser< T >::symtab_store::valid(), and exprtk::parser< T >::symtab_store::valid_symbol().
Referenced by exprtk::parser< T >::parse_symtab_symbol().
|
inline |
Definition at line 23200 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::symtab_list_, exprtk::parser< T >::symtab_store::valid(), and exprtk::parser< T >::symtab_store::valid_symbol().
Referenced by exprtk::parser< T >::parse_string().
|
inline |
Definition at line 23270 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::symbol_exists(), exprtk::parser< T >::symtab_store::symtab_list_, and exprtk::parser< T >::symtab_store::valid().
Referenced by exprtk::parser< T >::parse_string().
|
inline |
Definition at line 23293 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::symbol_exists(), exprtk::parser< T >::symtab_store::symtab_list_, and exprtk::parser< T >::symtab_store::valid().
|
inline |
Definition at line 23254 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::symbol_exists(), exprtk::parser< T >::symtab_store::symtab_list_, and exprtk::parser< T >::symtab_store::valid().
Referenced by exprtk::parser< T >::parse_symtab_symbol().
|
inline |
Definition at line 23309 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::symbol_exists(), exprtk::parser< T >::symtab_store::symtab_list_, and exprtk::parser< T >::symtab_store::valid().
|
inline |
Definition at line 23237 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::symbol_exists(), exprtk::parser< T >::symtab_store::symtab_list_, and exprtk::parser< T >::symtab_store::valid().
Referenced by exprtk::parser< T >::parse_for_loop(), and exprtk::parser< T >::parse_swap_statement().
|
inline |
Definition at line 23325 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::symbol_exists(), exprtk::parser< T >::symtab_store::symtab_list_, and exprtk::parser< T >::symtab_store::valid().
Referenced by exprtk::parser< T >::parse_define_vector_statement(), and exprtk::parser< T >::parse_symtab_symbol().
|
inline |
Definition at line 23363 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::symtab_list_.
Referenced by exprtk::parser< T >::symtab_store::get_conststr_stringvar_name(), exprtk::parser< T >::symtab_store::get_function(), exprtk::parser< T >::symtab_store::get_generic_function(), exprtk::parser< T >::symtab_store::get_overload_function(), exprtk::parser< T >::symtab_store::get_string_context(), exprtk::parser< T >::symtab_store::get_string_function(), exprtk::parser< T >::symtab_store::get_stringvar(), exprtk::parser< T >::symtab_store::get_stringvar_name(), exprtk::parser< T >::symtab_store::get_vararg_function(), exprtk::parser< T >::symtab_store::get_variable(), exprtk::parser< T >::symtab_store::get_variable(), exprtk::parser< T >::symtab_store::get_variable_context(), exprtk::parser< T >::symtab_store::get_variable_name(), exprtk::parser< T >::symtab_store::get_vector(), exprtk::parser< T >::symtab_store::get_vector_context(), exprtk::parser< T >::symtab_store::get_vector_name(), exprtk::parser< T >::symtab_store::is_constant_node(), exprtk::parser< T >::symtab_store::is_constant_string(), exprtk::parser< T >::symtab_store::is_conststr_stringvar(), exprtk::parser< T >::symtab_store::is_function(), exprtk::parser< T >::symtab_store::is_stringvar(), exprtk::parser< T >::symtab_store::is_vararg_function(), exprtk::parser< T >::symtab_store::is_variable(), and exprtk::parser< T >::symtab_store::is_vector().
|
inline |
Definition at line 23368 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::symtab_list_.
|
inline |
Definition at line 23219 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::symbol_exists(), exprtk::parser< T >::symtab_store::symtab_list_, and exprtk::parser< T >::symtab_store::valid().
Referenced by exprtk::parser< T >::symtab_store::is_conststr_stringvar(), exprtk::parser< T >::symtab_store::is_function(), exprtk::parser< T >::symtab_store::is_stringvar(), exprtk::parser< T >::symtab_store::is_vararg_function(), exprtk::parser< T >::symtab_store::is_variable(), exprtk::parser< T >::symtab_store::is_vector(), exprtk::parser< T >::parse_define_constvar_statement(), exprtk::parser< T >::parse_define_var_statement(), and exprtk::parser< T >::symtab_store::symbol_exists().
|
inline |
Definition at line 22879 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::empty(), exprtk::parser< T >::symtab_store::symtab_list_, and exprtk::parser< T >::symtab_store::valid().
Referenced by exprtk::parser< T >::symtab_store::get_function(), exprtk::parser< T >::symtab_store::get_generic_function(), exprtk::parser< T >::symtab_store::get_overload_function(), exprtk::parser< T >::symtab_store::get_string_context(), exprtk::parser< T >::symtab_store::get_string_function(), exprtk::parser< T >::symtab_store::get_stringvar(), exprtk::parser< T >::symtab_store::get_vararg_function(), exprtk::parser< T >::symtab_store::get_variable(), exprtk::parser< T >::symtab_store::get_variable(), exprtk::parser< T >::symtab_store::get_variable_context(), exprtk::parser< T >::symtab_store::get_vector(), exprtk::parser< T >::symtab_store::get_vector_context(), exprtk::parser< T >::symtab_store::is_constant_node(), exprtk::parser< T >::symtab_store::is_constant_string(), exprtk::parser< T >::symtab_store::is_conststr_stringvar(), exprtk::parser< T >::symtab_store::is_function(), exprtk::parser< T >::symtab_store::is_stringvar(), exprtk::parser< T >::symtab_store::is_vararg_function(), exprtk::parser< T >::symtab_store::is_variable(), exprtk::parser< T >::symtab_store::is_vector(), exprtk::parser< T >::parse_symbol(), exprtk::parser< T >::symtab_store::symbol_exists(), and exprtk::parser< T >::symtab_store::valid().
|
inline |
Definition at line 22901 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::symtab_list_.
Referenced by exprtk::parser< T >::symtab_store::get_function(), exprtk::parser< T >::symtab_store::get_generic_function(), exprtk::parser< T >::symtab_store::get_overload_function(), exprtk::parser< T >::symtab_store::get_string_function(), and exprtk::parser< T >::symtab_store::get_vararg_function().
|
inline |
Definition at line 22893 of file exprtk.hpp.
References exprtk::parser< T >::symtab_store::symtab_list_.
Referenced by exprtk::parser< T >::symtab_store::get_string_context(), exprtk::parser< T >::symtab_store::get_stringvar(), exprtk::parser< T >::symtab_store::get_variable(), exprtk::parser< T >::symtab_store::get_variable_context(), exprtk::parser< T >::symtab_store::get_vector(), exprtk::parser< T >::symtab_store::get_vector_context(), exprtk::parser< T >::symtab_store::is_constant_node(), and exprtk::parser< T >::symtab_store::is_constant_string().
symbol_table_list_t exprtk::parser< T >::symtab_store::symtab_list_ |
Definition at line 22822 of file exprtk.hpp.
Referenced by exprtk::parser< T >::symtab_store::clear(), exprtk::parser< T >::compile(), exprtk::parser< T >::symtab_store::empty(), exprtk::parser< T >::symtab_store::get_function(), exprtk::parser< T >::symtab_store::get_generic_function(), exprtk::parser< T >::symtab_store::get_overload_function(), exprtk::parser< T >::symtab_store::get_string_context(), exprtk::parser< T >::symtab_store::get_string_function(), exprtk::parser< T >::symtab_store::get_stringvar(), exprtk::parser< T >::symtab_store::get_symbol_table(), exprtk::parser< T >::symtab_store::get_vararg_function(), exprtk::parser< T >::symtab_store::get_variable(), exprtk::parser< T >::symtab_store::get_variable(), exprtk::parser< T >::symtab_store::get_variable_context(), exprtk::parser< T >::symtab_store::get_vector(), exprtk::parser< T >::symtab_store::get_vector_context(), exprtk::parser< T >::symtab_store::is_constant_node(), exprtk::parser< T >::symtab_store::is_constant_string(), exprtk::parser< T >::symtab_store::is_conststr_stringvar(), exprtk::parser< T >::symtab_store::is_function(), exprtk::parser< T >::symtab_store::is_stringvar(), exprtk::parser< T >::symtab_store::is_vararg_function(), exprtk::parser< T >::symtab_store::is_variable(), exprtk::parser< T >::symtab_store::is_vector(), exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::local_data(), exprtk::parser< T >::symtab_store::symbol_exists(), exprtk::parser< T >::symtab_store::valid(), exprtk::parser< T >::symtab_store::valid_function_name(), and exprtk::parser< T >::symtab_store::valid_symbol().