C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
exprtk::function_traits Class Reference

#include <exprtk.hpp>

Inheritance diagram for exprtk::function_traits:
[legend]

Public Member Functions

 function_traits ()
bool & allow_zero_parameters ()
bool & has_side_effects ()
std::size_t & min_num_args ()
std::size_t & max_num_args ()

Private Attributes

bool allow_zero_parameters_
bool has_side_effects_
std::size_t min_num_args_
std::size_t max_num_args_

Detailed Description

Definition at line 19776 of file exprtk.hpp.

Constructor & Destructor Documentation

◆ function_traits()

exprtk::function_traits::function_traits ( )
inline

Definition at line 19780 of file exprtk.hpp.

19781 : allow_zero_parameters_(false)
19782 , has_side_effects_(true)
19783 , min_num_args_(0)
19784 , max_num_args_(std::numeric_limits<std::size_t>::max())
19785 {}
std::size_t max_num_args_
Definition exprtk.hpp:19812
std::size_t min_num_args_
Definition exprtk.hpp:19811

References allow_zero_parameters_, has_side_effects_, max_num_args_, and min_num_args_.

Member Function Documentation

◆ allow_zero_parameters()

bool & exprtk::function_traits::allow_zero_parameters ( )
inline

Definition at line 19787 of file exprtk.hpp.

19788 {
19790 }

References allow_zero_parameters_.

Referenced by exprtk::parser< Type >::parse_generic_function_call(), exprtk::parser< Type >::parse_igeneric_function_params(), and exprtk::parser< Type >::parse_vararg_function_call().

Here is the caller graph for this function:

◆ has_side_effects()

bool & exprtk::function_traits::has_side_effects ( )
inline

◆ max_num_args()

std::size_t & exprtk::function_traits::max_num_args ( )
inline

Definition at line 19802 of file exprtk.hpp.

19803 {
19804 return max_num_args_;
19805 }

References max_num_args_.

Referenced by exprtk::parser< Type >::parse_vararg_function_call().

Here is the caller graph for this function:

◆ min_num_args()

std::size_t & exprtk::function_traits::min_num_args ( )
inline

Definition at line 19797 of file exprtk.hpp.

19798 {
19799 return min_num_args_;
19800 }

References min_num_args_.

Referenced by exprtk::parser< Type >::parse_vararg_function_call().

Here is the caller graph for this function:

Member Data Documentation

◆ allow_zero_parameters_

bool exprtk::function_traits::allow_zero_parameters_
private

Definition at line 19809 of file exprtk.hpp.

Referenced by allow_zero_parameters(), and function_traits().

◆ has_side_effects_

bool exprtk::function_traits::has_side_effects_
private

Definition at line 19810 of file exprtk.hpp.

Referenced by function_traits(), and has_side_effects().

◆ max_num_args_

std::size_t exprtk::function_traits::max_num_args_
private

Definition at line 19812 of file exprtk.hpp.

Referenced by function_traits(), and max_num_args().

◆ min_num_args_

std::size_t exprtk::function_traits::min_num_args_
private

Definition at line 19811 of file exprtk.hpp.

Referenced by function_traits(), and min_num_args().


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