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

Public Types

typedef opr_base< T >::Type Type
 
- Public Types inherited from exprtk::details::opr_base< T >
typedef details::functor_t< T >::Type Type
 
typedef details::functor_t< T >::RefType RefType
 
typedef details::functor_t< Tfunctor_t
 
typedef functor_t::qfunc_t quaternary_functor_t
 
typedef functor_t::tfunc_t trinary_functor_t
 
typedef functor_t::bfunc_t binary_functor_t
 
typedef functor_t::ufunc_t unary_functor_t
 

Static Public Member Functions

template<typename Type , typename Allocator , template< typename, typename > class Sequence>
static T process (const Sequence< Type, Allocator > &arg_list)
 
template<typename Sequence >
static T process_1 (const Sequence &arg_list)
 
template<typename Sequence >
static T process_2 (const Sequence &arg_list)
 
template<typename Sequence >
static T process_3 (const Sequence &arg_list)
 
template<typename Sequence >
static T process_4 (const Sequence &arg_list)
 
template<typename Sequence >
static T process_5 (const Sequence &arg_list)
 
template<typename Sequence >
static T process_6 (const Sequence &arg_list)
 
template<typename Sequence >
static T process_7 (const Sequence &arg_list)
 
template<typename Sequence >
static T process_8 (const Sequence &arg_list)
 

Detailed Description

template<typename T>
struct exprtk::details::vararg_multi_op< T >

Definition at line 16464 of file exprtk.hpp.

Member Typedef Documentation

◆ Type

Definition at line 16466 of file exprtk.hpp.

Member Function Documentation

◆ process()

template<typename T >
static T exprtk::details::vararg_multi_op< T >::process ( const Sequence< Type, Allocator > &  arg_list)
inlinestatic

Definition at line 16471 of file exprtk.hpp.

16472 {
16473 switch (arg_list.size())
16474 {
16475 case 0 : return std::numeric_limits<T>::quiet_NaN();
16476 case 1 : return process_1(arg_list);
16477 case 2 : return process_2(arg_list);
16478 case 3 : return process_3(arg_list);
16479 case 4 : return process_4(arg_list);
16480 case 5 : return process_5(arg_list);
16481 case 6 : return process_6(arg_list);
16482 case 7 : return process_7(arg_list);
16483 case 8 : return process_8(arg_list);
16484 default :
16485 {
16486 for (std::size_t i = 0; i < (arg_list.size() - 1); ++i)
16487 {
16488 value(arg_list[i]);
16489 }
16490 return value(arg_list.back());
16491 }
16492 }
16493 }
bool match_impl(const Iterator pattern_begin, const Iterator pattern_end, const Iterator data_begin, const Iterator data_end, const typename std::iterator_traits< Iterator >::value_type &zero_or_more, const typename std::iterator_traits< Iterator >::value_type &exactly_one)
Definition exprtk.hpp:605
T value(details::expression_node< T > *n)
Definition exprtk.hpp:15948
static T process_4(const Sequence &arg_list)
Definition exprtk.hpp:16517
static T process_2(const Sequence &arg_list)
Definition exprtk.hpp:16502
static T process_1(const Sequence &arg_list)
Definition exprtk.hpp:16496
static T process_7(const Sequence &arg_list)
Definition exprtk.hpp:16547
static T process_5(const Sequence &arg_list)
Definition exprtk.hpp:16526
static T process_8(const Sequence &arg_list)
Definition exprtk.hpp:16559
static T process_3(const Sequence &arg_list)
Definition exprtk.hpp:16509
static T process_6(const Sequence &arg_list)
Definition exprtk.hpp:16536

References exprtk::details::match_impl(), exprtk::details::vararg_multi_op< T >::process_1(), exprtk::details::vararg_multi_op< T >::process_2(), exprtk::details::vararg_multi_op< T >::process_3(), exprtk::details::vararg_multi_op< T >::process_4(), exprtk::details::vararg_multi_op< T >::process_5(), exprtk::details::vararg_multi_op< T >::process_6(), exprtk::details::vararg_multi_op< T >::process_7(), exprtk::details::vararg_multi_op< T >::process_8(), and exprtk::details::value().

Here is the call graph for this function:

◆ process_1()

template<typename T >
template<typename Sequence >
static T exprtk::details::vararg_multi_op< T >::process_1 ( const Sequence arg_list)
inlinestatic

Definition at line 16496 of file exprtk.hpp.

16497 {
16498 return value(arg_list[0]);
16499 }

References exprtk::details::match_impl(), and exprtk::details::value().

Referenced by exprtk::details::vararg_multi_op< T >::process().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_2()

template<typename T >
template<typename Sequence >
static T exprtk::details::vararg_multi_op< T >::process_2 ( const Sequence arg_list)
inlinestatic

Definition at line 16502 of file exprtk.hpp.

16503 {
16504 value(arg_list[0]);
16505 return value(arg_list[1]);
16506 }

References exprtk::details::match_impl(), and exprtk::details::value().

Referenced by exprtk::details::vararg_multi_op< T >::process().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_3()

template<typename T >
template<typename Sequence >
static T exprtk::details::vararg_multi_op< T >::process_3 ( const Sequence arg_list)
inlinestatic

Definition at line 16509 of file exprtk.hpp.

16510 {
16511 value(arg_list[0]);
16512 value(arg_list[1]);
16513 return value(arg_list[2]);
16514 }

References exprtk::details::match_impl(), and exprtk::details::value().

Referenced by exprtk::details::vararg_multi_op< T >::process().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_4()

template<typename T >
template<typename Sequence >
static T exprtk::details::vararg_multi_op< T >::process_4 ( const Sequence arg_list)
inlinestatic

Definition at line 16517 of file exprtk.hpp.

16518 {
16519 value(arg_list[0]);
16520 value(arg_list[1]);
16521 value(arg_list[2]);
16522 return value(arg_list[3]);
16523 }

References exprtk::details::match_impl(), and exprtk::details::value().

Referenced by exprtk::details::vararg_multi_op< T >::process().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_5()

template<typename T >
template<typename Sequence >
static T exprtk::details::vararg_multi_op< T >::process_5 ( const Sequence arg_list)
inlinestatic

Definition at line 16526 of file exprtk.hpp.

16527 {
16528 value(arg_list[0]);
16529 value(arg_list[1]);
16530 value(arg_list[2]);
16531 value(arg_list[3]);
16532 return value(arg_list[4]);
16533 }

References exprtk::details::match_impl(), and exprtk::details::value().

Referenced by exprtk::details::vararg_multi_op< T >::process().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_6()

template<typename T >
template<typename Sequence >
static T exprtk::details::vararg_multi_op< T >::process_6 ( const Sequence arg_list)
inlinestatic

Definition at line 16536 of file exprtk.hpp.

16537 {
16538 value(arg_list[0]);
16539 value(arg_list[1]);
16540 value(arg_list[2]);
16541 value(arg_list[3]);
16542 value(arg_list[4]);
16543 return value(arg_list[5]);
16544 }

References exprtk::details::match_impl(), and exprtk::details::value().

Referenced by exprtk::details::vararg_multi_op< T >::process().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_7()

template<typename T >
template<typename Sequence >
static T exprtk::details::vararg_multi_op< T >::process_7 ( const Sequence arg_list)
inlinestatic

Definition at line 16547 of file exprtk.hpp.

16548 {
16549 value(arg_list[0]);
16550 value(arg_list[1]);
16551 value(arg_list[2]);
16552 value(arg_list[3]);
16553 value(arg_list[4]);
16554 value(arg_list[5]);
16555 return value(arg_list[6]);
16556 }

References exprtk::details::match_impl(), and exprtk::details::value().

Referenced by exprtk::details::vararg_multi_op< T >::process().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ process_8()

template<typename T >
template<typename Sequence >
static T exprtk::details::vararg_multi_op< T >::process_8 ( const Sequence arg_list)
inlinestatic

Definition at line 16559 of file exprtk.hpp.

16560 {
16561 value(arg_list[0]);
16562 value(arg_list[1]);
16563 value(arg_list[2]);
16564 value(arg_list[3]);
16565 value(arg_list[4]);
16566 value(arg_list[5]);
16567 value(arg_list[6]);
16568 return value(arg_list[7]);
16569 }

References exprtk::details::match_impl(), and exprtk::details::value().

Referenced by exprtk::details::vararg_multi_op< T >::process().

Here is the call graph for this function:
Here is the caller graph for this function:

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