Classes | Enumerations | Functions
wildcards::detail Namespace Reference

Classes

struct  match_result
 

Enumerations

enum  alt_end_state { alt_end_state::open, alt_end_state::next, alt_end_state::escape }
 
enum  alt_sub_end_state { alt_sub_end_state::next, alt_sub_end_state::escape }
 
enum  is_alt_state { is_alt_state::open, is_alt_state::next, is_alt_state::escape }
 
enum  is_set_state { is_set_state::open, is_set_state::not_or_first, is_set_state::first, is_set_state::next }
 
enum  match_set_state {
  match_set_state::open, match_set_state::not_or_first_in, match_set_state::first_out, match_set_state::next_in,
  match_set_state::next_out
}
 
enum  set_end_state { set_end_state::open, set_end_state::not_or_first, set_end_state::first, set_end_state::next }
 

Functions

template<typename PatternIterator >
constexpr PatternIterator alt_end (PatternIterator p, PatternIterator pend, const cards< iterated_item_t< PatternIterator >> &c=cards< iterated_item_t< PatternIterator >>(), alt_end_state state=alt_end_state::open, int depth=0)
 
template<typename PatternIterator >
constexpr PatternIterator alt_sub_end (PatternIterator p, PatternIterator pend, const cards< iterated_item_t< PatternIterator >> &c=cards< iterated_item_t< PatternIterator >>(), alt_sub_end_state state=alt_sub_end_state::next, int depth=1)
 
template<typename PatternIterator >
constexpr bool is_alt (PatternIterator p, PatternIterator pend, const cards< iterated_item_t< PatternIterator >> &c=cards< iterated_item_t< PatternIterator >>(), is_alt_state state=is_alt_state::open, int depth=0)
 
template<typename PatternIterator >
constexpr bool is_set (PatternIterator p, PatternIterator pend, const cards< iterated_item_t< PatternIterator >> &c=cards< iterated_item_t< PatternIterator >>(), is_set_state state=is_set_state::open)
 
template<typename SequenceIterator , typename PatternIterator >
constexpr full_match_result< SequenceIterator, PatternIterator > make_full_match_result (SequenceIterator s, SequenceIterator send, PatternIterator p, PatternIterator pend, match_result< SequenceIterator, PatternIterator > mr)
 
template<typename SequenceIterator , typename PatternIterator >
constexpr match_result< SequenceIterator, PatternIterator > make_match_result (bool res, SequenceIterator s, PatternIterator p)
 
template<typename SequenceIterator , typename PatternIterator , typename EqualTo = cx::equal_to<void>>
constexpr match_result< SequenceIterator, PatternIterator > match (SequenceIterator s, SequenceIterator send, PatternIterator p, PatternIterator pend, const cards< iterated_item_t< PatternIterator >> &c=cards< iterated_item_t< PatternIterator >>(), const EqualTo &equal_to=EqualTo(), bool partial=false, bool escape=false)
 
template<typename SequenceIterator , typename PatternIterator , typename EqualTo = cx::equal_to<void>>
constexpr match_result< SequenceIterator, PatternIterator > match_alt (SequenceIterator s, SequenceIterator send, PatternIterator p1, PatternIterator p1end, PatternIterator p2, PatternIterator p2end, const cards< iterated_item_t< PatternIterator >> &c=cards< iterated_item_t< PatternIterator >>(), const EqualTo &equal_to=EqualTo(), bool partial=false)
 
template<typename SequenceIterator , typename PatternIterator , typename EqualTo = cx::equal_to<void>>
constexpr match_result< SequenceIterator, PatternIterator > match_set (SequenceIterator s, SequenceIterator send, PatternIterator p, PatternIterator pend, const cards< iterated_item_t< PatternIterator >> &c=cards< iterated_item_t< PatternIterator >>(), const EqualTo &equal_to=EqualTo(), match_set_state state=match_set_state::open)
 
template<typename PatternIterator >
constexpr PatternIterator set_end (PatternIterator p, PatternIterator pend, const cards< iterated_item_t< PatternIterator >> &c=cards< iterated_item_t< PatternIterator >>(), set_end_state state=set_end_state::open)
 
constexpr bool throw_invalid_argument (const char *what_arg)
 
template<typename T >
constexpr T throw_invalid_argument (T t, const char *what_arg)
 
constexpr bool throw_logic_error (const char *what_arg)
 
template<typename T >
constexpr T throw_logic_error (T t, const char *what_arg)
 

Enumeration Type Documentation

◆ alt_end_state

Enumerator
open 
next 
escape 

Definition at line 1228 of file wildcards.hpp.

◆ alt_sub_end_state

Enumerator
next 
escape 

Definition at line 1342 of file wildcards.hpp.

◆ is_alt_state

Enumerator
open 
next 
escape 

Definition at line 1139 of file wildcards.hpp.

◆ is_set_state

Enumerator
open 
not_or_first 
first 
next 

Definition at line 813 of file wildcards.hpp.

◆ match_set_state

Enumerator
open 
not_or_first_in 
first_out 
next_in 
next_out 

Definition at line 987 of file wildcards.hpp.

◆ set_end_state

Enumerator
open 
not_or_first 
first 
next 

Definition at line 890 of file wildcards.hpp.

Function Documentation

◆ alt_end()

template<typename PatternIterator >
constexpr PatternIterator wildcards::detail::alt_end ( PatternIterator  p,
PatternIterator  pend,
const cards< iterated_item_t< PatternIterator >> &  c = cards<iterated_item_t<PatternIterator>>(),
alt_end_state  state = alt_end_state::open,
int  depth = 0 
)
constexpr

Definition at line 1235 of file wildcards.hpp.

◆ alt_sub_end()

template<typename PatternIterator >
constexpr PatternIterator wildcards::detail::alt_sub_end ( PatternIterator  p,
PatternIterator  pend,
const cards< iterated_item_t< PatternIterator >> &  c = cards<iterated_item_t<PatternIterator>>(),
alt_sub_end_state  state = alt_sub_end_state::next,
int  depth = 1 
)
constexpr

Definition at line 1348 of file wildcards.hpp.

◆ is_alt()

template<typename PatternIterator >
constexpr bool wildcards::detail::is_alt ( PatternIterator  p,
PatternIterator  pend,
const cards< iterated_item_t< PatternIterator >> &  c = cards<iterated_item_t<PatternIterator>>(),
is_alt_state  state = is_alt_state::open,
int  depth = 0 
)
constexpr

Definition at line 1146 of file wildcards.hpp.

◆ is_set()

template<typename PatternIterator >
constexpr bool wildcards::detail::is_set ( PatternIterator  p,
PatternIterator  pend,
const cards< iterated_item_t< PatternIterator >> &  c = cards<iterated_item_t<PatternIterator>>(),
is_set_state  state = is_set_state::open 
)
constexpr

Definition at line 821 of file wildcards.hpp.

◆ make_full_match_result()

template<typename SequenceIterator , typename PatternIterator >
constexpr full_match_result<SequenceIterator, PatternIterator> wildcards::detail::make_full_match_result ( SequenceIterator  s,
SequenceIterator  send,
PatternIterator  p,
PatternIterator  pend,
match_result< SequenceIterator, PatternIterator >  mr 
)
constexpr

Definition at line 786 of file wildcards.hpp.

◆ make_match_result()

template<typename SequenceIterator , typename PatternIterator >
constexpr match_result<SequenceIterator, PatternIterator> wildcards::detail::make_match_result ( bool  res,
SequenceIterator  s,
PatternIterator  p 
)
constexpr

Definition at line 779 of file wildcards.hpp.

◆ match()

template<typename SequenceIterator , typename PatternIterator , typename EqualTo = cx::equal_to<void>>
constexpr match_result< SequenceIterator, PatternIterator > wildcards::detail::match ( SequenceIterator  s,
SequenceIterator  send,
PatternIterator  p,
PatternIterator  pend,
const cards< iterated_item_t< PatternIterator >> &  c = cards<iterated_item_t<PatternIterator>>(),
const EqualTo &  equal_to = EqualTo(),
bool  partial = false,
bool  escape = false 
)
constexpr

Definition at line 1491 of file wildcards.hpp.

◆ match_alt()

template<typename SequenceIterator , typename PatternIterator , typename EqualTo = cx::equal_to<void>>
constexpr match_result<SequenceIterator, PatternIterator> wildcards::detail::match_alt ( SequenceIterator  s,
SequenceIterator  send,
PatternIterator  p1,
PatternIterator  p1end,
PatternIterator  p2,
PatternIterator  p2end,
const cards< iterated_item_t< PatternIterator >> &  c = cards<iterated_item_t<PatternIterator>>(),
const EqualTo &  equal_to = EqualTo(),
bool  partial = false 
)
constexpr

Definition at line 1456 of file wildcards.hpp.

◆ match_set()

template<typename SequenceIterator , typename PatternIterator , typename EqualTo = cx::equal_to<void>>
constexpr match_result<SequenceIterator, PatternIterator> wildcards::detail::match_set ( SequenceIterator  s,
SequenceIterator  send,
PatternIterator  p,
PatternIterator  pend,
const cards< iterated_item_t< PatternIterator >> &  c = cards<iterated_item_t<PatternIterator>>(),
const EqualTo &  equal_to = EqualTo(),
match_set_state  state = match_set_state::open 
)
constexpr

Definition at line 997 of file wildcards.hpp.

◆ set_end()

template<typename PatternIterator >
constexpr PatternIterator wildcards::detail::set_end ( PatternIterator  p,
PatternIterator  pend,
const cards< iterated_item_t< PatternIterator >> &  c = cards<iterated_item_t<PatternIterator>>(),
set_end_state  state = set_end_state::open 
)
constexpr

Definition at line 898 of file wildcards.hpp.

◆ throw_invalid_argument() [1/2]

constexpr bool wildcards::detail::throw_invalid_argument ( const char *  what_arg)
constexpr

Definition at line 794 of file wildcards.hpp.

◆ throw_invalid_argument() [2/2]

template<typename T >
constexpr T wildcards::detail::throw_invalid_argument ( t,
const char *  what_arg 
)
constexpr

Definition at line 799 of file wildcards.hpp.

◆ throw_logic_error() [1/2]

constexpr bool wildcards::detail::throw_logic_error ( const char *  what_arg)
constexpr

Definition at line 803 of file wildcards.hpp.

◆ throw_logic_error() [2/2]

template<typename T >
constexpr T wildcards::detail::throw_logic_error ( t,
const char *  what_arg 
)
constexpr

Definition at line 808 of file wildcards.hpp.



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