C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
exprtk::parser< T >::symtab_store Struct Reference
Collaboration diagram for exprtk::parser< T >::symtab_store:
[legend]

Classes

struct  variable_context
struct  vector_context
struct  string_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_

Detailed Description

template<typename T>
struct exprtk::parser< T >::symtab_store

Definition at line 23191 of file exprtk.hpp.

Member Typedef Documentation

◆ function_ptr

template<typename T>
typedef symbol_table_t::function_ptr exprtk::parser< T >::symtab_store::function_ptr

Definition at line 23197 of file exprtk.hpp.

◆ generic_function_ptr

template<typename T>
typedef symbol_table_t::generic_function_ptr exprtk::parser< T >::symtab_store::generic_function_ptr

Definition at line 23203 of file exprtk.hpp.

◆ local_data_t

template<typename T>
typedef symbol_table_t::local_data_t exprtk::parser< T >::symtab_store::local_data_t

Definition at line 23195 of file exprtk.hpp.

◆ stringvar_ptr

template<typename T>
typedef symbol_table_t::stringvar_ptr exprtk::parser< T >::symtab_store::stringvar_ptr

Definition at line 23199 of file exprtk.hpp.

◆ vararg_function_ptr

template<typename T>
typedef symbol_table_t::vararg_function_ptr exprtk::parser< T >::symtab_store::vararg_function_ptr

Definition at line 23202 of file exprtk.hpp.

◆ variable_ptr

template<typename T>
typedef symbol_table_t::variable_ptr exprtk::parser< T >::symtab_store::variable_ptr

Definition at line 23196 of file exprtk.hpp.

◆ vector_holder_ptr

template<typename T>
typedef symbol_table_t::vector_holder_ptr exprtk::parser< T >::symtab_store::vector_holder_ptr

Definition at line 23201 of file exprtk.hpp.

Member Function Documentation

◆ clear()

template<typename T>
void exprtk::parser< T >::symtab_store::clear ( )
inline

Definition at line 23245 of file exprtk.hpp.

23246 {
23247 symtab_list_.clear();
23248 }
symbol_table_list_t symtab_list_
Definition exprtk.hpp:23193

References symtab_list_.

◆ empty()

template<typename T>
bool exprtk::parser< T >::symtab_store::empty ( ) const
inline

Definition at line 23240 of file exprtk.hpp.

23241 {
23242 return symtab_list_.empty();
23243 }

References symtab_list_.

Referenced by valid().

Here is the caller graph for this function:

◆ get_conststr_stringvar_name()

template<typename T>
std::string exprtk::parser< T >::symtab_store::get_conststr_stringvar_name ( const expression_node_ptr & ptr) const
inline

Definition at line 23728 of file exprtk.hpp.

23729 {
23730 return local_data().stringvar_store.entity_name(ptr);
23731 }
local_data_t & local_data(const std::size_t &index=0)
Definition exprtk.hpp:23734
type_store< stringvar_t, std::string > stringvar_store
Definition exprtk.hpp:20708

References local_data(), and exprtk::symbol_table< T >::control_block::st_data::stringvar_store.

Here is the call graph for this function:

◆ get_function()

template<typename T>
function_ptr exprtk::parser< T >::symtab_store::get_function ( const std::string & function_name) const
inline

Definition at line 23394 of file exprtk.hpp.

23395 {
23397 return reinterpret_cast<function_ptr>(0);
23398
23399 function_ptr result = reinterpret_cast<function_ptr>(0);
23400
23401 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23402 {
23403 if (!symtab_list_[i].valid())
23404 continue;
23405 else
23408
23409 if (result) break;
23410 }
23411
23412 return result;
23413 }
symbol_table_t::function_ptr function_ptr
Definition exprtk.hpp:23197
bool valid_function_name(const std::string &symbol) const
Definition exprtk.hpp:23272
type_store< function_t, function_t > function_store
Definition exprtk.hpp:20701

References exprtk::symbol_table< T >::control_block::st_data::function_store, local_data(), symtab_list_, valid(), and valid_function_name().

Here is the call graph for this function:

◆ get_generic_function()

template<typename T>
generic_function_ptr exprtk::parser< T >::symtab_store::get_generic_function ( const std::string & function_name) const
inline

Definition at line 23436 of file exprtk.hpp.

23437 {
23439 return reinterpret_cast<generic_function_ptr>(0);
23440
23441 generic_function_ptr result = reinterpret_cast<generic_function_ptr>(0);
23442
23443 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23444 {
23445 if (!symtab_list_[i].valid())
23446 continue;
23447 else
23450
23451 if (result) break;
23452 }
23453
23454 return result;
23455 }
symbol_table_t::generic_function_ptr generic_function_ptr
Definition exprtk.hpp:23203
type_store< generic_function_t, generic_function_t > generic_function_store
Definition exprtk.hpp:20703

References exprtk::symbol_table< T >::control_block::st_data::generic_function_store, local_data(), symtab_list_, valid(), and valid_function_name().

Here is the call graph for this function:

◆ get_overload_function()

template<typename T>
generic_function_ptr exprtk::parser< T >::symtab_store::get_overload_function ( const std::string & function_name) const
inline

Definition at line 23478 of file exprtk.hpp.

23479 {
23481 return reinterpret_cast<generic_function_ptr>(0);
23482
23483 generic_function_ptr result = reinterpret_cast<generic_function_ptr>(0);
23484
23485 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23486 {
23487 if (!symtab_list_[i].valid())
23488 continue;
23489 else
23490 result =
23492
23493 if (result) break;
23494 }
23495
23496 return result;
23497 }
type_store< generic_function_t, generic_function_t > overload_function_store
Definition exprtk.hpp:20705

References local_data(), exprtk::symbol_table< T >::control_block::st_data::overload_function_store, symtab_list_, valid(), and valid_function_name().

Here is the call graph for this function:

◆ get_string_context()

template<typename T>
string_context exprtk::parser< T >::symtab_store::get_string_context ( const std::string & string_name) const
inline

Definition at line 23346 of file exprtk.hpp.

23347 {
23349
23351 return result;
23352
23353 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23354 {
23355 if (!symtab_list_[i].valid())
23356 {
23357 continue;
23358 }
23359
23361
23362 if (result.str_var)
23363 {
23364 result.symbol_table = &symtab_list_[i];
23365 break;
23366 }
23367 }
23368
23369 return result;
23370 }
bool valid_symbol(const std::string &symbol) const
Definition exprtk.hpp:23264

References 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, symtab_list_, valid(), and valid_symbol().

Here is the call graph for this function:

◆ get_string_function()

template<typename T>
generic_function_ptr exprtk::parser< T >::symtab_store::get_string_function ( const std::string & function_name) const
inline

Definition at line 23457 of file exprtk.hpp.

23458 {
23460 return reinterpret_cast<generic_function_ptr>(0);
23461
23462 generic_function_ptr result = reinterpret_cast<generic_function_ptr>(0);
23463
23464 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23465 {
23466 if (!symtab_list_[i].valid())
23467 continue;
23468 else
23469 result =
23471
23472 if (result) break;
23473 }
23474
23475 return result;
23476 }
type_store< generic_function_t, generic_function_t > string_function_store
Definition exprtk.hpp:20704

References local_data(), exprtk::symbol_table< T >::control_block::st_data::string_function_store, symtab_list_, valid(), and valid_function_name().

Here is the call graph for this function:

◆ get_stringvar()

template<typename T>
stringvar_ptr exprtk::parser< T >::symtab_store::get_stringvar ( const std::string & string_name) const
inline

Definition at line 23372 of file exprtk.hpp.

23373 {
23375 return reinterpret_cast<stringvar_ptr>(0);
23376
23377 stringvar_ptr result = reinterpret_cast<stringvar_ptr>(0);
23378
23379 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23380 {
23381 if (!symtab_list_[i].valid())
23382 continue;
23383 else
23386
23387 if (result) break;
23388 }
23389
23390 return result;
23391 }
symbol_table_t::stringvar_ptr stringvar_ptr
Definition exprtk.hpp:23199

References local_data(), exprtk::symbol_table< T >::control_block::st_data::stringvar_store, symtab_list_, valid(), and valid_symbol().

Here is the call graph for this function:

◆ get_stringvar_name()

template<typename T>
std::string exprtk::parser< T >::symtab_store::get_stringvar_name ( const expression_node_ptr & ptr) const
inline

Definition at line 23723 of file exprtk.hpp.

23724 {
23725 return local_data().stringvar_store.entity_name(ptr);
23726 }

References local_data(), and exprtk::symbol_table< T >::control_block::st_data::stringvar_store.

Here is the call graph for this function:

◆ get_symbol_table()

template<typename T>
symbol_table_t & exprtk::parser< T >::symtab_store::get_symbol_table ( const std::size_t & index = 0)
inline

Definition at line 23744 of file exprtk.hpp.

23745 {
23746 return symtab_list_[index];
23747 }

References symtab_list_.

◆ get_vararg_function()

template<typename T>
vararg_function_ptr exprtk::parser< T >::symtab_store::get_vararg_function ( const std::string & vararg_function_name) const
inline

Definition at line 23415 of file exprtk.hpp.

23416 {
23418 return reinterpret_cast<vararg_function_ptr>(0);
23419
23420 vararg_function_ptr result = reinterpret_cast<vararg_function_ptr>(0);
23421
23422 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23423 {
23424 if (!symtab_list_[i].valid())
23425 continue;
23426 else
23429
23430 if (result) break;
23431 }
23432
23433 return result;
23434 }
symbol_table_t::vararg_function_ptr vararg_function_ptr
Definition exprtk.hpp:23202
type_store< vararg_function_t, vararg_function_t > vararg_function_store
Definition exprtk.hpp:20702

References local_data(), symtab_list_, valid(), valid_function_name(), and exprtk::symbol_table< T >::control_block::st_data::vararg_function_store.

Here is the call graph for this function:

◆ get_variable() [1/2]

template<typename T>
variable_ptr exprtk::parser< T >::symtab_store::get_variable ( const std::string & variable_name) const
inline

Definition at line 23306 of file exprtk.hpp.

23307 {
23309 return reinterpret_cast<variable_ptr>(0);
23310
23311 variable_ptr result = reinterpret_cast<variable_ptr>(0);
23312
23313 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23314 {
23315 if (!symtab_list_[i].valid())
23316 continue;
23317 else
23320
23321 if (result) break;
23322 }
23323
23324 return result;
23325 }
symbol_table_t::variable_ptr variable_ptr
Definition exprtk.hpp:23196
type_store< variable_t, T > variable_store
Definition exprtk.hpp:20700

References local_data(), symtab_list_, valid(), valid_symbol(), and exprtk::symbol_table< T >::control_block::st_data::variable_store.

Here is the call graph for this function:

◆ get_variable() [2/2]

template<typename T>
variable_ptr exprtk::parser< T >::symtab_store::get_variable ( const T & var_ref) const
inline

Definition at line 23327 of file exprtk.hpp.

23328 {
23329 variable_ptr result = reinterpret_cast<variable_ptr>(0);
23330
23331 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23332 {
23333 if (!symtab_list_[i].valid())
23334 continue;
23335 else
23337 .get_from_varptr(reinterpret_cast<const void*>(&var_ref));
23338
23339 if (result) break;
23340 }
23341
23342 return result;
23343 }

References local_data(), symtab_list_, valid(), and exprtk::symbol_table< T >::control_block::st_data::variable_store.

Here is the call graph for this function:

◆ get_variable_context()

template<typename T>
variable_context exprtk::parser< T >::symtab_store::get_variable_context ( const std::string & variable_name) const
inline

Definition at line 23280 of file exprtk.hpp.

23281 {
23283
23285 {
23286 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23287 {
23288 if (!symtab_list_[i].valid())
23289 {
23290 continue;
23291 }
23292
23293 result.variable = local_data(i)
23295 if (result.variable)
23296 {
23297 result.symbol_table = &symtab_list_[i];
23298 break;
23299 }
23300 }
23301 }
23302
23303 return result;
23304 }

References local_data(), exprtk::parser< T >::symtab_store::variable_context::symbol_table, symtab_list_, valid(), valid_symbol(), exprtk::parser< T >::symtab_store::variable_context::variable, and exprtk::symbol_table< T >::control_block::st_data::variable_store.

Here is the call graph for this function:

◆ get_variable_name()

template<typename T>
std::string exprtk::parser< T >::symtab_store::get_variable_name ( const expression_node_ptr & ptr) const
inline

Definition at line 23712 of file exprtk.hpp.

23713 {
23714 return local_data().variable_store.entity_name(ptr);
23715 }

References local_data(), and exprtk::symbol_table< T >::control_block::st_data::variable_store.

Here is the call graph for this function:

◆ get_vector()

template<typename T>
vector_holder_ptr exprtk::parser< T >::symtab_store::get_vector ( const std::string & vector_name) const
inline

Definition at line 23524 of file exprtk.hpp.

23525 {
23527 return reinterpret_cast<vector_holder_ptr>(0);
23528
23529 vector_holder_ptr result = reinterpret_cast<vector_holder_ptr>(0);
23530
23531 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23532 {
23533 if (!symtab_list_[i].valid())
23534 {
23535 continue;
23536 }
23537
23539
23540 if (result)
23541 {
23542 break;
23543 }
23544 }
23545
23546 return result;
23547 }
symbol_table_t::vector_holder_ptr vector_holder_ptr
Definition exprtk.hpp:23201
type_store< vector_holder_t, vector_holder_t > vector_store
Definition exprtk.hpp:20706

References local_data(), symtab_list_, valid(), valid_symbol(), and exprtk::symbol_table< T >::control_block::st_data::vector_store.

Here is the call graph for this function:

◆ get_vector_context()

template<typename T>
vector_context exprtk::parser< T >::symtab_store::get_vector_context ( const std::string & vector_name) const
inline

Definition at line 23499 of file exprtk.hpp.

23500 {
23503 return result;
23504
23505 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23506 {
23507 if (!symtab_list_[i].valid())
23508 {
23509 continue;
23510 }
23511
23512 result.vector_holder = local_data(i).vector_store.get(vector_name);
23513
23514 if (result.vector_holder)
23515 {
23516 result.symbol_table = &symtab_list_[i];
23517 break;
23518 }
23519 }
23520
23521 return result;
23522 }

References local_data(), exprtk::parser< T >::symtab_store::vector_context::symbol_table, symtab_list_, valid(), valid_symbol(), exprtk::parser< T >::symtab_store::vector_context::vector_holder, and exprtk::symbol_table< T >::control_block::st_data::vector_store.

Here is the call graph for this function:

◆ get_vector_name()

template<typename T>
std::string exprtk::parser< T >::symtab_store::get_vector_name ( const vector_holder_ptr & ptr) const
inline

Definition at line 23717 of file exprtk.hpp.

23718 {
23719 return local_data().vector_store.entity_name(ptr);
23720 }

References local_data(), and exprtk::symbol_table< T >::control_block::st_data::vector_store.

Here is the call graph for this function:

◆ is_constant_node()

template<typename T>
bool exprtk::parser< T >::symtab_store::is_constant_node ( const std::string & symbol_name) const
inline

Definition at line 23549 of file exprtk.hpp.

23550 {
23552 return false;
23553
23554 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23555 {
23556 if (!symtab_list_[i].valid())
23557 {
23558 continue;
23559 }
23560
23561 if (local_data(i).variable_store.is_constant(symbol_name))
23562 {
23563 return true;
23564 }
23565 }
23566
23567 return false;
23568 }

References local_data(), symtab_list_, valid(), and valid_symbol().

Here is the call graph for this function:

◆ is_constant_string()

template<typename T>
bool exprtk::parser< T >::symtab_store::is_constant_string ( const std::string & symbol_name) const
inline

Definition at line 23571 of file exprtk.hpp.

23572 {
23574 return false;
23575
23576 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23577 {
23578 if (!symtab_list_[i].valid())
23579 continue;
23580 else if (!local_data(i).stringvar_store.symbol_exists(symbol_name))
23581 continue;
23582 else if (local_data(i).stringvar_store.is_constant(symbol_name))
23583 return true;
23584 }
23585
23586 return false;
23587 }

References local_data(), symtab_list_, valid(), and valid_symbol().

Here is the call graph for this function:

◆ is_conststr_stringvar()

template<typename T>
bool exprtk::parser< T >::symtab_store::is_conststr_stringvar ( const std::string & symbol_name) const
inline

Definition at line 23641 of file exprtk.hpp.

23642 {
23643 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23644 {
23645 if (!symtab_list_[i].valid())
23646 continue;
23647 else if (
23650 )
23651 {
23652 return (
23653 local_data(i).stringvar_store.symbol_exists(symbol_name) ||
23655 );
23656
23657 }
23658 }
23659
23660 return false;
23661 }
bool symbol_exists(const std::string &symbol) const
Definition exprtk.hpp:23590

References local_data(), symbol_exists(), symtab_list_, and valid().

Here is the call graph for this function:

◆ is_function()

template<typename T>
bool exprtk::parser< T >::symtab_store::is_function ( const std::string & function_name) const
inline

Definition at line 23664 of file exprtk.hpp.

23665 {
23666 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23667 {
23668 if (!symtab_list_[i].valid())
23669 continue;
23670 else if (
23673 )
23674 return true;
23675 }
23676
23677 return false;
23678 }

References local_data(), symbol_exists(), symtab_list_, and valid().

Here is the call graph for this function:

◆ is_stringvar()

template<typename T>
bool exprtk::parser< T >::symtab_store::is_stringvar ( const std::string & stringvar_name) const
inline

Definition at line 23625 of file exprtk.hpp.

23626 {
23627 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23628 {
23629 if (!symtab_list_[i].valid())
23630 continue;
23631 else if (
23634 )
23635 return true;
23636 }
23637
23638 return false;
23639 }

References local_data(), symbol_exists(), symtab_list_, and valid().

Here is the call graph for this function:

◆ is_vararg_function()

template<typename T>
bool exprtk::parser< T >::symtab_store::is_vararg_function ( const std::string & vararg_function_name) const
inline

Definition at line 23680 of file exprtk.hpp.

23681 {
23682 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23683 {
23684 if (!symtab_list_[i].valid())
23685 continue;
23686 else if (
23689 )
23690 return true;
23691 }
23692
23693 return false;
23694 }

References local_data(), symbol_exists(), symtab_list_, and valid().

Here is the call graph for this function:

◆ is_variable()

template<typename T>
bool exprtk::parser< T >::symtab_store::is_variable ( const std::string & variable_name) const
inline

Definition at line 23608 of file exprtk.hpp.

23609 {
23610 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23611 {
23612 if (!symtab_list_[i].valid())
23613 continue;
23614 else if (
23617 )
23618 return true;
23619 }
23620
23621 return false;
23622 }

References local_data(), symbol_exists(), symtab_list_, and valid().

Here is the call graph for this function:

◆ is_vector()

template<typename T>
bool exprtk::parser< T >::symtab_store::is_vector ( const std::string & vector_name) const
inline

Definition at line 23696 of file exprtk.hpp.

23697 {
23698 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23699 {
23700 if (!symtab_list_[i].valid())
23701 continue;
23702 else if (
23705 )
23706 return true;
23707 }
23708
23709 return false;
23710 }

References local_data(), symbol_exists(), symtab_list_, and valid().

Here is the call graph for this function:

◆ local_data() [1/2]

template<typename T>
local_data_t & exprtk::parser< T >::symtab_store::local_data ( const std::size_t & index = 0)
inline

◆ local_data() [2/2]

template<typename T>
const local_data_t & exprtk::parser< T >::symtab_store::local_data ( const std::size_t & index = 0) const
inline

Definition at line 23739 of file exprtk.hpp.

23740 {
23741 return symtab_list_[index].local_data();
23742 }

References symtab_list_.

◆ symbol_exists()

template<typename T>
bool exprtk::parser< T >::symtab_store::symbol_exists ( const std::string & symbol) const
inline

Definition at line 23590 of file exprtk.hpp.

23591 {
23592 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23593 {
23594 if (!symtab_list_[i].valid())
23595 {
23596 continue;
23597 }
23598
23600 {
23601 return true;
23602 }
23603 }
23604
23605 return false;
23606 }

References symbol_exists(), symtab_list_, and valid().

Referenced by is_conststr_stringvar(), is_function(), is_stringvar(), is_vararg_function(), is_variable(), is_vector(), and symbol_exists().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valid()

template<typename T>
bool exprtk::parser< T >::symtab_store::valid ( ) const
inline

Definition at line 23250 of file exprtk.hpp.

23251 {
23252 if (!empty())
23253 {
23254 for (std::size_t i = 0; i < symtab_list_.size(); ++i)
23255 {
23256 if (symtab_list_[i].valid())
23257 return true;
23258 }
23259 }
23260
23261 return false;
23262 }

References empty(), symtab_list_, and valid().

Referenced by get_function(), get_generic_function(), get_overload_function(), get_string_context(), get_string_function(), get_stringvar(), get_vararg_function(), get_variable(), get_variable(), get_variable_context(), get_vector(), get_vector_context(), is_constant_node(), is_constant_string(), is_conststr_stringvar(), is_function(), is_stringvar(), is_vararg_function(), is_variable(), is_vector(), symbol_exists(), and valid().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ valid_function_name()

template<typename T>
bool exprtk::parser< T >::symtab_store::valid_function_name ( const std::string & symbol) const
inline

Definition at line 23272 of file exprtk.hpp.

23273 {
23274 if (!symtab_list_.empty())
23275 return symtab_list_[0].valid_function(symbol);
23276 else
23277 return false;
23278 }

References symtab_list_.

Referenced by get_function(), get_generic_function(), get_overload_function(), get_string_function(), and get_vararg_function().

Here is the caller graph for this function:

◆ valid_symbol()

template<typename T>
bool exprtk::parser< T >::symtab_store::valid_symbol ( const std::string & symbol) const
inline

Definition at line 23264 of file exprtk.hpp.

23265 {
23266 if (!symtab_list_.empty())
23267 return symtab_list_[0].valid_symbol(symbol);
23268 else
23269 return false;
23270 }

References symtab_list_.

Referenced by get_string_context(), get_stringvar(), get_variable(), get_variable_context(), get_vector(), get_vector_context(), is_constant_node(), and is_constant_string().

Here is the caller graph for this function:

Member Data Documentation

◆ symtab_list_


The documentation for this struct was generated from the following file: