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

static T process (const T &, const T &)
 
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::like_op< T >

Definition at line 15713 of file exprtk.hpp.

Member Typedef Documentation

◆ Type

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

Definition at line 15715 of file exprtk.hpp.

Member Function Documentation

◆ operation()

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

Definition at line 15720 of file exprtk.hpp.

15720{ return details::e_like; }

References exprtk::details::e_like.

◆ process() [1/2]

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

Definition at line 15718 of file exprtk.hpp.

15718{ return (details::wc_match(t2,t1) ? T(1) : T(0)); }
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:598
bool wc_match(const std::string &wild_card, const std::string &str)
Definition exprtk.hpp:660

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

Here is the call graph for this function:

◆ process() [2/2]

template<typename T >
static T exprtk::details::like_op< T >::process ( const T ,
const T  
)
inlinestatic

Definition at line 15717 of file exprtk.hpp.

15717{ return std::numeric_limits<T>::quiet_NaN(); }

Referenced by exprtk::parser< T >::expression_generator< Type >::synthesize_csocs_expression().

Here is the caller graph for this function:

◆ type()

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

Definition at line 15719 of file exprtk.hpp.


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