C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
exprtk::symbol_table< T >::control_block::st_data Struct Reference

#include <exprtk.hpp>

Collaboration diagram for exprtk::symbol_table< T >::control_block::st_data:
[legend]

Public Member Functions

 st_data ()
 ~st_data ()
bool is_reserved_symbol (const std::string &symbol) const

Static Public Member Functions

static st_data * create ()
static void destroy (st_data *&sd)

Public Attributes

type_store< variable_t, T > variable_store
type_store< function_t, function_t > function_store
type_store< vararg_function_t, vararg_function_t > vararg_function_store
type_store< generic_function_t, generic_function_t > generic_function_store
type_store< generic_function_t, generic_function_t > string_function_store
type_store< generic_function_t, generic_function_t > overload_function_store
type_store< vector_holder_t, vector_holder_t > vector_store
type_store< stringvar_t, std::string > stringvar_store
std::list< T > local_symbol_list_
std::list< std::string > local_stringvar_list_
std::set< std::string > reserved_symbol_table_
std::vector< ifunction< T > * > free_function_list_

Detailed Description

template<typename T>
struct exprtk::symbol_table< T >::control_block::st_data

Definition at line 20698 of file exprtk.hpp.

Constructor & Destructor Documentation

◆ st_data()

template<typename T>
exprtk::symbol_table< T >::control_block::st_data::st_data ( )
inline

Definition at line 20711 of file exprtk.hpp.

20712 {
20714 {
20716 }
20717
20719 {
20721 }
20722 }
std::set< std::string > reserved_symbol_table_
Definition exprtk.hpp:20750

References reserved_symbol_table_, exprtk::details::reserved_symbols, exprtk::details::reserved_symbols_size, exprtk::details::reserved_words, and exprtk::details::reserved_words_size.

Referenced by create(), and destroy().

Here is the caller graph for this function:

◆ ~st_data()

template<typename T>
exprtk::symbol_table< T >::control_block::st_data::~st_data ( )
inline

Definition at line 20724 of file exprtk.hpp.

20725 {
20726 for (std::size_t i = 0; i < free_function_list_.size(); ++i)
20727 {
20728 delete free_function_list_[i];
20729 }
20730 }
std::vector< ifunction< T > * > free_function_list_
Definition exprtk.hpp:20751

References free_function_list_.

Member Function Documentation

◆ create()

template<typename T>
st_data * exprtk::symbol_table< T >::control_block::st_data::create ( )
inlinestatic

Definition at line 20737 of file exprtk.hpp.

20738 {
20739 return (new st_data);
20740 }

References st_data().

Here is the call graph for this function:

◆ destroy()

template<typename T>
void exprtk::symbol_table< T >::control_block::st_data::destroy ( st_data *& sd)
inlinestatic

Definition at line 20742 of file exprtk.hpp.

20743 {
20744 delete sd;
20745 sd = reinterpret_cast<st_data*>(0);
20746 }

References st_data().

Referenced by exprtk::symbol_table< T >::control_block::~control_block().

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

◆ is_reserved_symbol()

template<typename T>
bool exprtk::symbol_table< T >::control_block::st_data::is_reserved_symbol ( const std::string & symbol) const
inline

Definition at line 20732 of file exprtk.hpp.

20733 {
20735 }

References reserved_symbol_table_.

Referenced by exprtk::symbol_table< T >::valid_symbol().

Here is the caller graph for this function:

Member Data Documentation

◆ free_function_list_

template<typename T>
std::vector<ifunction<T>*> exprtk::symbol_table< T >::control_block::st_data::free_function_list_

Definition at line 20751 of file exprtk.hpp.

Referenced by ~st_data().

◆ function_store

◆ generic_function_store

◆ local_stringvar_list_

template<typename T>
std::list<std::string> exprtk::symbol_table< T >::control_block::st_data::local_stringvar_list_

Definition at line 20749 of file exprtk.hpp.

Referenced by exprtk::symbol_table< T >::create_stringvar().

◆ local_symbol_list_

template<typename T>
std::list<T> exprtk::symbol_table< T >::control_block::st_data::local_symbol_list_

◆ overload_function_store

◆ reserved_symbol_table_

template<typename T>
std::set<std::string> exprtk::symbol_table< T >::control_block::st_data::reserved_symbol_table_

Definition at line 20750 of file exprtk.hpp.

Referenced by is_reserved_symbol(), and st_data().

◆ string_function_store

◆ stringvar_store

◆ vararg_function_store

◆ variable_store

◆ vector_store


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