C++ Mathematical Expression Toolkit (ExprTk) release
Loading...
Searching...
No Matches
exprtk::details::equal_op< T > Struct Template Reference

#include <exprtk.hpp>

Inheritance diagram for exprtk::details::equal_op< T >:
[legend]
Collaboration diagram for exprtk::details::equal_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< T > functor_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

static T process (Type t1, Type t2)
static T process (const std::string &t1, const std::string &t2)
static expression_node< T >::node_type type ()
static details::operator_type operation ()

Detailed Description

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

Definition at line 15899 of file exprtk.hpp.

Member Typedef Documentation

◆ Type

template<typename T>
typedef opr_base<T>::Type exprtk::details::equal_op< T >::Type

Definition at line 15901 of file exprtk.hpp.

Member Function Documentation

◆ operation()

template<typename T>
details::operator_type exprtk::details::equal_op< T >::operation ( )
inlinestatic

Definition at line 15906 of file exprtk.hpp.

References exprtk::details::e_equal.

◆ process() [1/2]

template<typename T>
T exprtk::details::equal_op< T >::process ( const std::string & t1,
const std::string & t2 )
inlinestatic

Definition at line 15904 of file exprtk.hpp.

15904{ return ((t1 == t2) ? T(1) : T(0)); }

◆ process() [2/2]

template<typename T>
T exprtk::details::equal_op< T >::process ( Type t1,
Type t2 )
inlinestatic

Definition at line 15903 of file exprtk.hpp.

15903{ return numeric::equal(t1,t2); }
T equal(const T v0, const T v1)
Definition exprtk.hpp:1547

References exprtk::details::numeric::equal().

Here is the call graph for this function:

◆ type()

template<typename T>
expression_node< T >::node_type exprtk::details::equal_op< T >::type ( )
inlinestatic

Definition at line 15905 of file exprtk.hpp.

15905{ return expression_node<T>::e_eq; }

References exprtk::details::expression_node< T >::e_eq.


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