C++ Mathematical Expression Toolkit (ExprTk) release
|
Public Member Functions | |
template<typename Allocator , template< typename, typename > class Sequence> | |
multi_switch_node (const Sequence< expression_ptr, Allocator > &arg_list) | |
T | value () const |
expression_node< T >::node_type | type () const |
bool | valid () const |
void | collect_nodes (typename expression_node< T >::noderef_list_t &node_delete_list) |
std::size_t | node_depth () const |
![]() | |
virtual | ~expression_node () |
virtual expression_node< T > * | branch (const std::size_t &index=0) const |
![]() | |
virtual | ~node_collector_interface () |
virtual void | collect_nodes (noderef_list_t &) |
![]() | |
node_depth_base () | |
virtual | ~node_depth_base () |
std::size_t | compute_node_depth (const expression_node< T > *const &node) const |
std::size_t | compute_node_depth (const nb_pair_t &branch) const |
std::size_t | compute_node_depth (const nb_pair_t(&branch)[N]) const |
std::size_t | compute_node_depth (const BranchType &n0, const BranchType &n1) const |
std::size_t | compute_node_depth (const BranchType &n0, const BranchType &n1, const BranchType &n2) const |
std::size_t | compute_node_depth (const BranchType &n0, const BranchType &n1, const BranchType &n2, const BranchType &n3) const |
std::size_t | compute_node_depth (const Sequence< node_ptr_t, Allocator > &branch_list) const |
std::size_t | compute_node_depth (const Sequence< nb_pair_t, Allocator > &branch_list) const |
std::size_t | max_node_depth (const BranchType &n0, const BranchType &n1) const |
std::size_t | max_node_depth (const BranchType &n0, const BranchType &n1, const BranchType &n2) const |
std::size_t | max_node_depth (const BranchType &n0, const BranchType &n1, const BranchType &n2, const BranchType &n3) const |
void | collect (node_ptr_t const &node, const bool deletable, NodeSequence &delete_node_list) const |
void | collect (const nb_pair_t &branch, NodeSequence &delete_node_list) const |
void | collect (expression_node< T > *&node, NodeSequence &delete_node_list) const |
void | collect (const nb_pair_t(&branch)[N], NodeSequence &delete_node_list) const |
void | collect (const Sequence< nb_pair_t, Allocator > &branch, NodeSequence &delete_node_list) const |
void | collect (const Sequence< node_ptr_t, Allocator > &branch_list, NodeSequence &delete_node_list) const |
void | collect (const Sequence< node_ptr_t, AllocatorT > &branch_list, const Sequence< Boolean, AllocatorB > &branch_deletable_list, NodeSequence &delete_node_list) const |
Private Attributes | |
std::vector< branch_t > | arg_list_ |
Additional Inherited Members | |
![]() | |
bool | depth_set |
std::size_t | depth |
Definition at line 8158 of file exprtk.hpp.
typedef std::pair<expression_ptr,bool> exprtk::details::multi_switch_node< T >::branch_t |
Definition at line 8163 of file exprtk.hpp.
typedef expression_node<T>* exprtk::details::multi_switch_node< T >::expression_ptr |
Definition at line 8162 of file exprtk.hpp.
|
inlineexplicit |
Definition at line 8167 of file exprtk.hpp.
References exprtk::details::multi_switch_node< T >::arg_list_, exprtk::details::construct_branch_pair(), exprtk::details::match_impl(), and exprtk::details::multi_switch_node< T >::valid().
|
inline |
Definition at line 8220 of file exprtk.hpp.
References exprtk::details::multi_switch_node< T >::arg_list_, exprtk::details::node_depth_base< expression_node< T > >::collect(), and exprtk::details::match_impl().
|
inlinevirtual |
Reimplemented from exprtk::details::node_depth_base< expression_node< T > >.
Definition at line 8225 of file exprtk.hpp.
References exprtk::details::multi_switch_node< T >::arg_list_, and exprtk::details::node_depth_base< expression_node< T > >::compute_node_depth().
|
inlinevirtual |
Reimplemented from exprtk::details::expression_node< T >.
Definition at line 8210 of file exprtk.hpp.
|
inlinevirtual |
Reimplemented from exprtk::details::expression_node< T >.
Definition at line 8215 of file exprtk.hpp.
References exprtk::details::multi_switch_node< T >::arg_list_.
Referenced by exprtk::details::multi_switch_node< T >::multi_switch_node().
|
inlinevirtual |
Reimplemented from exprtk::details::expression_node< T >.
Definition at line 8190 of file exprtk.hpp.
References exprtk::details::multi_switch_node< T >::arg_list_, exprtk::details::match_impl(), and exprtk::details::expression_node< T >::value().
|
private |
Definition at line 8232 of file exprtk.hpp.
Referenced by exprtk::details::multi_switch_node< T >::collect_nodes(), exprtk::details::multi_switch_node< T >::multi_switch_node(), exprtk::details::multi_switch_node< T >::node_depth(), exprtk::details::multi_switch_node< T >::valid(), and exprtk::details::multi_switch_node< T >::value().