OpcUaCanOpen
CANopen OPC-UA server
|
#include <exprtk.hpp>
Classes | |
struct | control_block |
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 |
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 > |
Definition at line 16126 of file exprtk.hpp.
|
protected |
Definition at line 16707 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff00_functor) () |
Definition at line 16130 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff01_functor) (T) |
Definition at line 16131 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff02_functor) (T, T) |
Definition at line 16132 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff03_functor) (T, T, T) |
Definition at line 16133 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff04_functor) (T, T, T, T) |
Definition at line 16134 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff05_functor) (T, T, T, T, T) |
Definition at line 16135 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff06_functor) (T, T, T, T, T, T) |
Definition at line 16136 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff07_functor) (T, T, T, T, T, T, T) |
Definition at line 16137 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff08_functor) (T, T, T, T, T, T, T, T) |
Definition at line 16138 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff09_functor) (T, T, T, T, T, T, T, T, T) |
Definition at line 16139 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 16140 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 16141 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 16142 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 16143 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 16144 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 16145 of file exprtk.hpp.
|
protected |
Definition at line 16718 of file exprtk.hpp.
|
protected |
Definition at line 16715 of file exprtk.hpp.
|
protected |
Definition at line 16720 of file exprtk.hpp.
|
protected |
Definition at line 16717 of file exprtk.hpp.
|
private |
Definition at line 17726 of file exprtk.hpp.
|
protected |
Definition at line 16713 of file exprtk.hpp.
|
protected |
Definition at line 16712 of file exprtk.hpp.
|
protected |
Definition at line 16719 of file exprtk.hpp.
|
protected |
Definition at line 16716 of file exprtk.hpp.
|
protected |
Definition at line 16710 of file exprtk.hpp.
|
protected |
Definition at line 16708 of file exprtk.hpp.
typedef vector_holder_t* exprtk::symbol_table< T >::vector_holder_ptr |
Definition at line 17019 of file exprtk.hpp.
|
protected |
Definition at line 16709 of file exprtk.hpp.
|
inline |
Definition at line 16832 of file exprtk.hpp.
|
inline |
Definition at line 16838 of file exprtk.hpp.
|
inline |
Definition at line 16843 of file exprtk.hpp.
|
inline |
Definition at line 17123 of file exprtk.hpp.
|
inline |
Definition at line 17400 of file exprtk.hpp.
|
inline |
Definition at line 17414 of file exprtk.hpp.
|
inline |
Definition at line 17152 of file exprtk.hpp.
|
inline |
Definition at line 17164 of file exprtk.hpp.
|
inline |
Definition at line 17176 of file exprtk.hpp.
|
inline |
Definition at line 17420 of file exprtk.hpp.
|
inline |
Definition at line 17427 of file exprtk.hpp.
|
inline |
Definition at line 17407 of file exprtk.hpp.
|
inline |
Definition at line 17253 of file exprtk.hpp.
|
inline |
Definition at line 17265 of file exprtk.hpp.
|
inline |
Definition at line 17139 of file exprtk.hpp.
|
inline |
Definition at line 17111 of file exprtk.hpp.
|
inline |
Definition at line 17303 of file exprtk.hpp.
|
inline |
Definition at line 17315 of file exprtk.hpp.
|
inline |
Definition at line 17330 of file exprtk.hpp.
|
inline |
Definition at line 17344 of file exprtk.hpp.
|
inline |
Definition at line 16894 of file exprtk.hpp.
|
inline |
Definition at line 16872 of file exprtk.hpp.
|
inline |
Definition at line 16889 of file exprtk.hpp.
|
inline |
Definition at line 16877 of file exprtk.hpp.
|
inline |
Definition at line 16867 of file exprtk.hpp.
|
inline |
Definition at line 16884 of file exprtk.hpp.
|
inline |
Definition at line 17095 of file exprtk.hpp.
|
inline |
Definition at line 17079 of file exprtk.hpp.
|
inline |
Definition at line 17230 of file exprtk.hpp.
|
inline |
Definition at line 16922 of file exprtk.hpp.
|
inline |
Definition at line 17582 of file exprtk.hpp.
|
inline |
Definition at line 16969 of file exprtk.hpp.
|
inline |
Definition at line 16989 of file exprtk.hpp.
|
inline |
Definition at line 17009 of file exprtk.hpp.
|
inline |
Definition at line 16999 of file exprtk.hpp.
|
inline |
Definition at line 16958 of file exprtk.hpp.
|
inline |
Definition at line 17455 of file exprtk.hpp.
|
inline |
Definition at line 17465 of file exprtk.hpp.
|
inline |
Definition at line 17577 of file exprtk.hpp.
|
inline |
Definition at line 16979 of file exprtk.hpp.
|
inline |
Definition at line 16938 of file exprtk.hpp.
|
inline |
Definition at line 16948 of file exprtk.hpp.
|
inline |
Definition at line 17434 of file exprtk.hpp.
|
inline |
Definition at line 17444 of file exprtk.hpp.
|
inline |
Definition at line 17566 of file exprtk.hpp.
|
inline |
Definition at line 17021 of file exprtk.hpp.
|
inline |
Definition at line 17476 of file exprtk.hpp.
|
inline |
Definition at line 17571 of file exprtk.hpp.
|
inline |
Definition at line 17055 of file exprtk.hpp.
|
inline |
Definition at line 17066 of file exprtk.hpp.
|
inline |
Definition at line 17526 of file exprtk.hpp.
|
inline |
Definition at line 17542 of file exprtk.hpp.
|
inline |
Definition at line 17518 of file exprtk.hpp.
|
inline |
Definition at line 17550 of file exprtk.hpp.
|
inline |
Definition at line 17509 of file exprtk.hpp.
|
inline |
Definition at line 17558 of file exprtk.hpp.
|
inline |
Definition at line 17594 of file exprtk.hpp.
|
inlineprivate |
Definition at line 17728 of file exprtk.hpp.
|
inlineprivate |
Definition at line 17733 of file exprtk.hpp.
|
inline |
Definition at line 16849 of file exprtk.hpp.
|
inline |
Definition at line 16862 of file exprtk.hpp.
|
inline |
Definition at line 17376 of file exprtk.hpp.
|
inline |
Definition at line 17367 of file exprtk.hpp.
|
inline |
Definition at line 17384 of file exprtk.hpp.
|
inline |
Definition at line 17358 of file exprtk.hpp.
|
inline |
Definition at line 17392 of file exprtk.hpp.
|
inline |
Definition at line 16913 of file exprtk.hpp.
|
inline |
Definition at line 17043 of file exprtk.hpp.
|
inline |
Definition at line 17484 of file exprtk.hpp.
|
inline |
Definition at line 17588 of file exprtk.hpp.
|
inlineprivate |
Definition at line 17700 of file exprtk.hpp.
|
inlineprivate |
Definition at line 17674 of file exprtk.hpp.
|
inline |
Definition at line 16904 of file exprtk.hpp.
|
inline |
Definition at line 17031 of file exprtk.hpp.
|
inline |
Definition at line 16930 of file exprtk.hpp.
|
friend |
Definition at line 17740 of file exprtk.hpp.
|
private |
Definition at line 17738 of file exprtk.hpp.
|
staticprotected |
Definition at line 16722 of file exprtk.hpp.