Definition at line 15855 of file exprtk.hpp.
#include <mrpt/otherlibs/exprtk.hpp>
Classes | |
struct | control_block |
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 |
Public Types | |
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) |
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 |
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 (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 > |
|
protected |
Definition at line 16425 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff01_functor) (T) |
Definition at line 15859 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff02_functor) (T, T) |
Definition at line 15860 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff03_functor) (T, T, T) |
Definition at line 15861 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff04_functor) (T, T, T, T) |
Definition at line 15862 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff05_functor) (T, T, T, T, T) |
Definition at line 15863 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff06_functor) (T, T, T, T, T, T) |
Definition at line 15864 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff07_functor) (T, T, T, T, T, T, T) |
Definition at line 15865 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff08_functor) (T, T, T, T, T, T, T, T) |
Definition at line 15866 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff09_functor) (T, T, T, T, T, T, T, T, T) |
Definition at line 15867 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff10_functor) (T, T, T, T, T, T, T, T, T, T) |
Definition at line 15868 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff11_functor) (T, T, T, T, T, T, T, T, T, T, T) |
Definition at line 15869 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff12_functor) (T, T, T, T, T, T, T, T, T, T, T, T) |
Definition at line 15870 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff13_functor) (T, T, T, T, T, T, T, T, T, T, T, T, T) |
Definition at line 15871 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff14_functor) (T, T, T, T, T, T, T, T, T, T, T, T, T, T) |
Definition at line 15872 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff15_functor) (T, T, T, T, T, T, T, T, T, T, T, T, T, T, T) |
Definition at line 15873 of file exprtk.hpp.
|
protected |
Definition at line 16436 of file exprtk.hpp.
|
protected |
Definition at line 16433 of file exprtk.hpp.
|
protected |
Definition at line 16438 of file exprtk.hpp.
|
protected |
Definition at line 16435 of file exprtk.hpp.
|
private |
Definition at line 17361 of file exprtk.hpp.
|
protected |
Definition at line 16431 of file exprtk.hpp.
|
protected |
Definition at line 16430 of file exprtk.hpp.
|
protected |
Definition at line 16437 of file exprtk.hpp.
|
protected |
Definition at line 16434 of file exprtk.hpp.
|
protected |
Definition at line 16428 of file exprtk.hpp.
|
protected |
Definition at line 16426 of file exprtk.hpp.
typedef vector_holder_t* exprtk::symbol_table< T >::vector_holder_ptr |
Definition at line 16716 of file exprtk.hpp.
|
protected |
Definition at line 16427 of file exprtk.hpp.
|
inline |
Definition at line 16539 of file exprtk.hpp.
References mrpt::utils::clear().
|
inline |
Definition at line 16545 of file exprtk.hpp.
|
inline |
Definition at line 16550 of file exprtk.hpp.
References exprtk::symbol_table< T >::control_block_.
|
inline |
Definition at line 16820 of file exprtk.hpp.
References exprtk::details::t().
Referenced by exprtk::compute(), and exprtk::parser< T >::parse_symtab_symbol().
|
inline |
Definition at line 17053 of file exprtk.hpp.
Referenced by exprtk::function_compositor< T >::compile_expression(), exprtk::compute(), and exprtk::pgo_primer().
|
inline |
Definition at line 17066 of file exprtk.hpp.
References exprtk::details::value().
|
inline |
Definition at line 16849 of file exprtk.hpp.
Referenced by exprtk::function_compositor< T >::forward().
|
inline |
Definition at line 16861 of file exprtk.hpp.
|
inline |
Definition at line 16873 of file exprtk.hpp.
|
inline |
Definition at line 17072 of file exprtk.hpp.
|
inline |
Definition at line 17079 of file exprtk.hpp.
|
inline |
Definition at line 17060 of file exprtk.hpp.
References exprtk::details::numeric::constant::pi.
|
inline |
Definition at line 16931 of file exprtk.hpp.
|
inline |
Definition at line 16943 of file exprtk.hpp.
|
inline |
Definition at line 16836 of file exprtk.hpp.
|
inline |
Definition at line 16808 of file exprtk.hpp.
Referenced by exprtk::pgo_primer().
|
inline |
Definition at line 16962 of file exprtk.hpp.
|
inline |
Definition at line 16974 of file exprtk.hpp.
|
inline |
Definition at line 16987 of file exprtk.hpp.
|
inline |
Definition at line 16999 of file exprtk.hpp.
|
inline |
Definition at line 16601 of file exprtk.hpp.
|
inline |
Definition at line 16579 of file exprtk.hpp.
|
inline |
Definition at line 16596 of file exprtk.hpp.
|
inline |
Definition at line 16584 of file exprtk.hpp.
|
inline |
Definition at line 16574 of file exprtk.hpp.
|
inline |
Definition at line 16591 of file exprtk.hpp.
|
inline |
Definition at line 16792 of file exprtk.hpp.
References exprtk::details::value().
|
inline |
Definition at line 16776 of file exprtk.hpp.
References exprtk::details::t(), and exprtk::details::value().
Referenced by exprtk::parser< T >::parse_symtab_symbol().
|
inline |
Definition at line 16908 of file exprtk.hpp.
|
inline |
Definition at line 16629 of file exprtk.hpp.
|
inline |
Definition at line 17232 of file exprtk.hpp.
|
inline |
Definition at line 16676 of file exprtk.hpp.
Referenced by exprtk::symbol_table< T >::load_from().
|
inline |
Definition at line 16696 of file exprtk.hpp.
Referenced by exprtk::symbol_table< T >::load_from().
|
inline |
Definition at line 16706 of file exprtk.hpp.
Referenced by exprtk::symbol_table< T >::load_from().
|
inline |
Definition at line 16665 of file exprtk.hpp.
|
inline |
Definition at line 17107 of file exprtk.hpp.
|
inline |
Definition at line 17117 of file exprtk.hpp.
|
inline |
Definition at line 17227 of file exprtk.hpp.
|
inline |
Definition at line 16686 of file exprtk.hpp.
Referenced by exprtk::symbol_table< T >::load_from().
|
inline |
Definition at line 16645 of file exprtk.hpp.
Referenced by exprtk::derivative(), exprtk::integrate(), exprtk::second_derivative(), and exprtk::third_derivative().
|
inline |
Definition at line 16655 of file exprtk.hpp.
|
inline |
Definition at line 17086 of file exprtk.hpp.
|
inline |
Definition at line 17096 of file exprtk.hpp.
|
inline |
Definition at line 17216 of file exprtk.hpp.
|
inline |
Definition at line 16718 of file exprtk.hpp.
|
inline |
Definition at line 17128 of file exprtk.hpp.
|
inline |
Definition at line 17221 of file exprtk.hpp.
|
inline |
Definition at line 16752 of file exprtk.hpp.
|
inline |
Definition at line 16763 of file exprtk.hpp.
|
inline |
Definition at line 17176 of file exprtk.hpp.
|
inline |
Definition at line 17192 of file exprtk.hpp.
|
inline |
Definition at line 17168 of file exprtk.hpp.
|
inline |
Definition at line 17200 of file exprtk.hpp.
|
inline |
Definition at line 17159 of file exprtk.hpp.
|
inline |
Definition at line 17208 of file exprtk.hpp.
|
inline |
Definition at line 17244 of file exprtk.hpp.
References exprtk::symbol_table< T >::get_function(), exprtk::symbol_table< T >::get_generic_function(), exprtk::symbol_table< T >::get_string_function(), exprtk::symbol_table< T >::get_vararg_function(), and exprtk::symbol_table< T >::local_data().
Referenced by exprtk::function_compositor< T >::compile_expression().
|
inlineprivate |
Definition at line 17363 of file exprtk.hpp.
Referenced by exprtk::symbol_table< T >::load_from().
|
inlineprivate |
Definition at line 17368 of file exprtk.hpp.
|
inline |
Definition at line 16556 of file exprtk.hpp.
References exprtk::symbol_table< T >::control_block_.
|
inline |
Definition at line 16569 of file exprtk.hpp.
References exprtk::symbol_table< T >::control_block_.
|
inline |
Definition at line 17029 of file exprtk.hpp.
|
inline |
Definition at line 17020 of file exprtk.hpp.
|
inline |
Definition at line 17037 of file exprtk.hpp.
|
inline |
Definition at line 17011 of file exprtk.hpp.
|
inline |
Definition at line 17045 of file exprtk.hpp.
|
inline |
Definition at line 16620 of file exprtk.hpp.
|
inline |
Definition at line 16740 of file exprtk.hpp.
|
inline |
Definition at line 17136 of file exprtk.hpp.
|
inline |
Definition at line 17238 of file exprtk.hpp.
Referenced by exprtk::derivative(), exprtk::integrate(), exprtk::second_derivative(), and exprtk::third_derivative().
|
inlineprivate |
Definition at line 17335 of file exprtk.hpp.
References exprtk::details::is_letter(), and exprtk::details::is_letter_or_digit().
|
inlineprivate |
Definition at line 17309 of file exprtk.hpp.
References exprtk::details::is_letter(), and exprtk::details::is_letter_or_digit().
|
inline |
Definition at line 16611 of file exprtk.hpp.
|
inline |
Definition at line 16728 of file exprtk.hpp.
|
inline |
Definition at line 16637 of file exprtk.hpp.
|
friend |
Definition at line 17375 of file exprtk.hpp.
|
private |
Definition at line 17373 of file exprtk.hpp.
Referenced by exprtk::symbol_table< T >::operator=(), exprtk::symbol_table< T >::operator==(), and exprtk::symbol_table< T >::symbol_table().
|
staticprotected |
Definition at line 16440 of file exprtk.hpp.
Page generated by Doxygen 1.8.13 for MRPT 1.5.3 at Mon Oct 30 10:27:08 UTC 2017 |