PulseView
unreleased development snapshot
A Qt-based sigrok GUI
|
#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 16142 of file exprtk.hpp.
|
protected |
Definition at line 16723 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff00_functor) () |
Definition at line 16146 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff01_functor) (T) |
Definition at line 16147 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff02_functor) (T, T) |
Definition at line 16148 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff03_functor) (T, T, T) |
Definition at line 16149 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff04_functor) (T, T, T, T) |
Definition at line 16150 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff05_functor) (T, T, T, T, T) |
Definition at line 16151 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff06_functor) (T, T, T, T, T, T) |
Definition at line 16152 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff07_functor) (T, T, T, T, T, T, T) |
Definition at line 16153 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff08_functor) (T, T, T, T, T, T, T, T) |
Definition at line 16154 of file exprtk.hpp.
typedef T(* exprtk::symbol_table< T >::ff09_functor) (T, T, T, T, T, T, T, T, T) |
Definition at line 16155 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 16156 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 16157 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 16158 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 16159 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 16160 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 16161 of file exprtk.hpp.
|
protected |
Definition at line 16734 of file exprtk.hpp.
|
protected |
Definition at line 16731 of file exprtk.hpp.
|
protected |
Definition at line 16736 of file exprtk.hpp.
|
protected |
Definition at line 16733 of file exprtk.hpp.
|
private |
Definition at line 17742 of file exprtk.hpp.
|
protected |
Definition at line 16729 of file exprtk.hpp.
|
protected |
Definition at line 16728 of file exprtk.hpp.
|
protected |
Definition at line 16735 of file exprtk.hpp.
|
protected |
Definition at line 16732 of file exprtk.hpp.
|
protected |
Definition at line 16726 of file exprtk.hpp.
|
protected |
Definition at line 16724 of file exprtk.hpp.
typedef vector_holder_t* exprtk::symbol_table< T >::vector_holder_ptr |
Definition at line 17035 of file exprtk.hpp.
|
protected |
Definition at line 16725 of file exprtk.hpp.
|
inline |
Definition at line 16848 of file exprtk.hpp.
|
inline |
Definition at line 16854 of file exprtk.hpp.
|
inline |
Definition at line 16859 of file exprtk.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 17430 of file exprtk.hpp.
|
inline |
|
inline |
Definition at line 17180 of file exprtk.hpp.
|
inline |
Definition at line 17192 of file exprtk.hpp.
|
inline |
Definition at line 17436 of file exprtk.hpp.
|
inline |
Definition at line 17443 of file exprtk.hpp.
|
inline |
Definition at line 17423 of file exprtk.hpp.
|
inline |
Definition at line 17269 of file exprtk.hpp.
|
inline |
Definition at line 17281 of file exprtk.hpp.
|
inline |
Definition at line 17155 of file exprtk.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 17331 of file exprtk.hpp.
|
inline |
Definition at line 17346 of file exprtk.hpp.
|
inline |
Definition at line 17360 of file exprtk.hpp.
|
inline |
Definition at line 16910 of file exprtk.hpp.
|
inline |
Definition at line 16888 of file exprtk.hpp.
|
inline |
Definition at line 16905 of file exprtk.hpp.
|
inline |
Definition at line 16893 of file exprtk.hpp.
|
inline |
Definition at line 16883 of file exprtk.hpp.
|
inline |
Definition at line 16900 of file exprtk.hpp.
|
inline |
Definition at line 17111 of file exprtk.hpp.
|
inline |
|
inline |
Definition at line 17246 of file exprtk.hpp.
|
inline |
Definition at line 16938 of file exprtk.hpp.
|
inline |
Definition at line 17598 of file exprtk.hpp.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 16974 of file exprtk.hpp.
|
inline |
Definition at line 17471 of file exprtk.hpp.
|
inline |
Definition at line 17481 of file exprtk.hpp.
|
inline |
Definition at line 17593 of file exprtk.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 16964 of file exprtk.hpp.
|
inline |
|
inline |
Definition at line 17460 of file exprtk.hpp.
|
inline |
Definition at line 17582 of file exprtk.hpp.
|
inline |
Definition at line 17037 of file exprtk.hpp.
|
inline |
Definition at line 17492 of file exprtk.hpp.
|
inline |
Definition at line 17587 of file exprtk.hpp.
|
inline |
Definition at line 17071 of file exprtk.hpp.
|
inline |
Definition at line 17082 of file exprtk.hpp.
|
inline |
Definition at line 17542 of file exprtk.hpp.
|
inline |
Definition at line 17558 of file exprtk.hpp.
|
inline |
Definition at line 17534 of file exprtk.hpp.
|
inline |
Definition at line 17566 of file exprtk.hpp.
|
inline |
Definition at line 17525 of file exprtk.hpp.
|
inline |
Definition at line 17574 of file exprtk.hpp.
|
inline |
|
inlineprivate |
|
inlineprivate |
Definition at line 17749 of file exprtk.hpp.
|
inline |
Definition at line 16865 of file exprtk.hpp.
|
inline |
Definition at line 16878 of file exprtk.hpp.
|
inline |
Definition at line 17392 of file exprtk.hpp.
|
inline |
Definition at line 17383 of file exprtk.hpp.
|
inline |
Definition at line 17400 of file exprtk.hpp.
|
inline |
Definition at line 17374 of file exprtk.hpp.
|
inline |
Definition at line 17408 of file exprtk.hpp.
|
inline |
Definition at line 16929 of file exprtk.hpp.
|
inline |
Definition at line 17059 of file exprtk.hpp.
|
inline |
Definition at line 17500 of file exprtk.hpp.
|
inline |
|
inlineprivate |
Definition at line 17716 of file exprtk.hpp.
|
inlineprivate |
Definition at line 17690 of file exprtk.hpp.
|
inline |
Definition at line 16920 of file exprtk.hpp.
|
inline |
|
inline |
Definition at line 16946 of file exprtk.hpp.
|
friend |
Definition at line 17756 of file exprtk.hpp.
|
private |
Definition at line 17754 of file exprtk.hpp.
|
staticprotected |
Definition at line 16738 of file exprtk.hpp.