Public Member Functions | Private Attributes | List of all members
wildcards::matcher< Pattern, EqualTo > Class Template Reference

#include <wildcards.hpp>

Public Member Functions

constexpr matcher (Pattern &&pattern, const cards< container_item_t< Pattern >> &c=cards< container_item_t< Pattern >>(), const EqualTo &equal_to=EqualTo())
 
constexpr matcher (Pattern &&pattern, const EqualTo &equal_to)
 
template<typename Sequence >
constexpr full_match_result< const_iterator_t< Sequence >, const_iterator_t< Pattern > > matches (Sequence &&sequence) const
 

Private Attributes

cards< container_item_t< Pattern > > c_
 
EqualTo equal_to_
 
const_iterator_t< Pattern > p_
 
const_iterator_t< Pattern > pend_
 

Detailed Description

template<typename Pattern, typename EqualTo = cx::equal_to<void>>
class wildcards::matcher< Pattern, EqualTo >

Definition at line 1757 of file wildcards.hpp.

Constructor & Destructor Documentation

◆ matcher() [1/2]

template<typename Pattern , typename EqualTo = cx::equal_to<void>>
constexpr wildcards::matcher< Pattern, EqualTo >::matcher ( Pattern &&  pattern,
const cards< container_item_t< Pattern >> &  c = cards<container_item_t<Pattern>>(),
const EqualTo &  equal_to = EqualTo() 
)
inlineexplicitconstexpr

Definition at line 1760 of file wildcards.hpp.

◆ matcher() [2/2]

template<typename Pattern , typename EqualTo = cx::equal_to<void>>
constexpr wildcards::matcher< Pattern, EqualTo >::matcher ( Pattern &&  pattern,
const EqualTo &  equal_to 
)
inlineconstexpr

Definition at line 1769 of file wildcards.hpp.

Member Function Documentation

◆ matches()

template<typename Pattern , typename EqualTo = cx::equal_to<void>>
template<typename Sequence >
constexpr full_match_result<const_iterator_t<Sequence>, const_iterator_t<Pattern> > wildcards::matcher< Pattern, EqualTo >::matches ( Sequence &&  sequence) const
inlineconstexpr

Definition at line 1777 of file wildcards.hpp.

Member Data Documentation

◆ c_

template<typename Pattern , typename EqualTo = cx::equal_to<void>>
cards<container_item_t<Pattern> > wildcards::matcher< Pattern, EqualTo >::c_
private

Definition at line 1788 of file wildcards.hpp.

◆ equal_to_

template<typename Pattern , typename EqualTo = cx::equal_to<void>>
EqualTo wildcards::matcher< Pattern, EqualTo >::equal_to_
private

Definition at line 1789 of file wildcards.hpp.

◆ p_

template<typename Pattern , typename EqualTo = cx::equal_to<void>>
const_iterator_t<Pattern> wildcards::matcher< Pattern, EqualTo >::p_
private

Definition at line 1786 of file wildcards.hpp.

◆ pend_

template<typename Pattern , typename EqualTo = cx::equal_to<void>>
const_iterator_t<Pattern> wildcards::matcher< Pattern, EqualTo >::pend_
private

Definition at line 1787 of file wildcards.hpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:19