C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
Public Member Functions | Private Attributes | List of all members
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 19457 of file exprtk.hpp.

Constructor & Destructor Documentation

◆ function_traits()

exprtk::function_traits::function_traits ( )
inline

Definition at line 19461 of file exprtk.hpp.

19462 : allow_zero_parameters_(false)
19463 , has_side_effects_(true)
19464 , min_num_args_(0)
19465 , max_num_args_(std::numeric_limits<std::size_t>::max())
19466 {}
std::size_t max_num_args_
Definition exprtk.hpp:19493
std::size_t min_num_args_
Definition exprtk.hpp:19492

Member Function Documentation

◆ allow_zero_parameters()

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

Definition at line 19468 of file exprtk.hpp.

19469 {
19471 }

References allow_zero_parameters_.

Referenced by exprtk::parser< T >::parse_generic_function_call(), exprtk::parser< T >::parse_igeneric_function_params(), and exprtk::parser< T >::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 19483 of file exprtk.hpp.

19484 {
19485 return max_num_args_;
19486 }

References max_num_args_.

Referenced by exprtk::parser< T >::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 19478 of file exprtk.hpp.

19479 {
19480 return min_num_args_;
19481 }

References min_num_args_.

Referenced by exprtk::parser< T >::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 19490 of file exprtk.hpp.

Referenced by allow_zero_parameters().

◆ has_side_effects_

bool exprtk::function_traits::has_side_effects_
private

Definition at line 19491 of file exprtk.hpp.

Referenced by has_side_effects().

◆ max_num_args_

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

Definition at line 19493 of file exprtk.hpp.

Referenced by max_num_args().

◆ min_num_args_

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

Definition at line 19492 of file exprtk.hpp.

Referenced by min_num_args().


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