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 18775 of file exprtk.hpp.

Constructor & Destructor Documentation

◆ function_traits()

exprtk::function_traits::function_traits ( )
inline

Definition at line 18779 of file exprtk.hpp.

18780 : allow_zero_parameters_(false)
18781 , has_side_effects_(true)
18782 , min_num_args_(0)
18783 , max_num_args_(std::numeric_limits<std::size_t>::max())
18784 {}
std::size_t max_num_args_
Definition exprtk.hpp:18811
std::size_t min_num_args_
Definition exprtk.hpp:18810

Member Function Documentation

◆ allow_zero_parameters()

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

Definition at line 18786 of file exprtk.hpp.

18787 {
18789 }

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 18801 of file exprtk.hpp.

18802 {
18803 return max_num_args_;
18804 }

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 18796 of file exprtk.hpp.

18797 {
18798 return min_num_args_;
18799 }

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 18808 of file exprtk.hpp.

Referenced by allow_zero_parameters().

◆ has_side_effects_

bool exprtk::function_traits::has_side_effects_
private

Definition at line 18809 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 18811 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 18810 of file exprtk.hpp.

Referenced by min_num_args().


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