C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
char_process< T, Process > Struct Template Reference
Inheritance diagram for char_process< T, Process >:
[legend]
Collaboration diagram for char_process< T, Process >:
[legend]

Public Types

typedef exprtk::igeneric_function< T > igfun_t
 
typedef igfun_t::parameter_list_t parameter_list_t
 
typedef igfun_t::generic_type generic_type
 
typedef generic_type::string_view string_t
 
- Public Types inherited from exprtk::igeneric_function< T >
enum  return_type { e_rtrn_scalar = 0 , e_rtrn_string = 1 , e_rtrn_overload = 2 }
 
typedef T type
 
typedef type_store< T > generic_type
 
typedef generic_type::parameter_list parameter_list_t
 

Public Member Functions

 char_process ()
 
operator() (parameter_list_t parameters)
 
- Public Member Functions inherited from exprtk::igeneric_function< T >
 igeneric_function (const std::string &param_seq="", const return_type rtr_type=e_rtrn_scalar)
 
virtual ~igeneric_function ()
 
virtual T operator() (std::string &, parameter_list_t)
 
virtual T operator() (const std::size_t &, parameter_list_t)
 
virtual T operator() (const std::size_t &, std::string &, parameter_list_t)
 
- Public Member Functions inherited from exprtk::function_traits
 function_traits ()
 
bool & allow_zero_parameters ()
 
bool & has_side_effects ()
 
std::size_t & min_num_args ()
 
std::size_t & max_num_args ()
 

Additional Inherited Members

- Public Attributes inherited from exprtk::igeneric_function< T >
std::string parameter_sequence
 
return_type rtrn_type
 

Detailed Description

template<typename T, T Process>
struct char_process< T, Process >

Definition at line 26 of file exprtk_simple_example_24.cpp.

Member Typedef Documentation

◆ generic_type

template<typename T , T Process>
typedef igfun_t::generic_type char_process< T, Process >::generic_type

Definition at line 30 of file exprtk_simple_example_24.cpp.

◆ igfun_t

template<typename T , T Process>
typedef exprtk::igeneric_function<T> char_process< T, Process >::igfun_t

Definition at line 28 of file exprtk_simple_example_24.cpp.

◆ parameter_list_t

template<typename T , T Process>
typedef igfun_t::parameter_list_t char_process< T, Process >::parameter_list_t

Definition at line 29 of file exprtk_simple_example_24.cpp.

◆ string_t

template<typename T , T Process>
typedef generic_type::string_view char_process< T, Process >::string_t

Definition at line 31 of file exprtk_simple_example_24.cpp.

Constructor & Destructor Documentation

◆ char_process()

template<typename T , T Process>
char_process< T, Process >::char_process ( )
inline

Member Function Documentation

◆ operator()()

template<typename T , T Process>
T char_process< T, Process >::operator() ( parameter_list_t  parameters)
inlinevirtual

Reimplemented from exprtk::igeneric_function< T >.

Definition at line 37 of file exprtk_simple_example_24.cpp.

38 {
39 const unsigned char c = string_t(parameters[0])[0];
40 return Process(c);
41 }
generic_type::string_view string_t

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