Public Member Functions | Private Member Functions | Private Attributes | List of all members
lexy_ext::_filtered_node_range< Predicate, Iterator, Sentinel >::iterator Class Reference

#include <parse_tree_algorithm.hpp>

Inheritance diagram for lexy_ext::_filtered_node_range< Predicate, Iterator, Sentinel >::iterator:
Inheritance graph
[legend]

Public Member Functions

auto deref () const noexcept
 
bool equal (iterator rhs) const noexcept
 
void increment () noexcept
 
bool is_end () const noexcept
 
 iterator () noexcept=default
 
- Public Member Functions inherited from lexy::_detail::forward_iterator_base< iterator, node_t, node_t, void >
constexpr reference operator* () const noexcept
 
constexpr iterator & operator++ () noexcept
 
constexpr iterator operator++ (int) noexcept
 
constexpr pointer operator-> () const noexcept
 

Private Member Functions

 iterator (Predicate &&pred, Iterator cur, Sentinel end) noexcept
 

Private Attributes

Iterator _cur
 
LEXY_EMPTY_MEMBER Sentinel _end
 
friend _filtered_node_range
 
LEXY_EMPTY_MEMBER Predicate _predicate
 

Additional Inherited Members

- Public Types inherited from lexy::_detail::forward_iterator_base< iterator, node_t, node_t, void >
using difference_type = std::ptrdiff_t
 
using iterator_category = std::forward_iterator_tag
 
using pointer = lexy::_detail::type_or< void, _proxy_pointer< value_type > >
 
using reference = node_t
 
using value_type = std::remove_cv_t< node_t >
 

Detailed Description

template<typename Predicate, typename Iterator, typename Sentinel>
class lexy_ext::_filtered_node_range< Predicate, Iterator, Sentinel >::iterator

Definition at line 147 of file parse_tree_algorithm.hpp.

Constructor & Destructor Documentation

◆ iterator() [1/2]

template<typename Predicate , typename Iterator , typename Sentinel >
lexy_ext::_filtered_node_range< Predicate, Iterator, Sentinel >::iterator::iterator ( )
defaultnoexcept

◆ iterator() [2/2]

template<typename Predicate , typename Iterator , typename Sentinel >
lexy_ext::_filtered_node_range< Predicate, Iterator, Sentinel >::iterator::iterator ( Predicate &&  pred,
Iterator  cur,
Sentinel  end 
)
inlineexplicitprivatenoexcept

Definition at line 179 of file parse_tree_algorithm.hpp.

Member Function Documentation

◆ deref()

template<typename Predicate , typename Iterator , typename Sentinel >
auto lexy_ext::_filtered_node_range< Predicate, Iterator, Sentinel >::iterator::deref ( ) const
inlinenoexcept

Definition at line 152 of file parse_tree_algorithm.hpp.

◆ equal()

template<typename Predicate , typename Iterator , typename Sentinel >
bool lexy_ext::_filtered_node_range< Predicate, Iterator, Sentinel >::iterator::equal ( iterator  rhs) const
inlinenoexcept

Definition at line 169 of file parse_tree_algorithm.hpp.

◆ increment()

template<typename Predicate , typename Iterator , typename Sentinel >
void lexy_ext::_filtered_node_range< Predicate, Iterator, Sentinel >::iterator::increment ( )
inlinenoexcept

Definition at line 158 of file parse_tree_algorithm.hpp.

◆ is_end()

template<typename Predicate , typename Iterator , typename Sentinel >
bool lexy_ext::_filtered_node_range< Predicate, Iterator, Sentinel >::iterator::is_end ( ) const
inlinenoexcept

Definition at line 173 of file parse_tree_algorithm.hpp.

Member Data Documentation

◆ _cur

template<typename Predicate , typename Iterator , typename Sentinel >
Iterator lexy_ext::_filtered_node_range< Predicate, Iterator, Sentinel >::iterator::_cur
private

Definition at line 187 of file parse_tree_algorithm.hpp.

◆ _end

template<typename Predicate , typename Iterator , typename Sentinel >
LEXY_EMPTY_MEMBER Sentinel lexy_ext::_filtered_node_range< Predicate, Iterator, Sentinel >::iterator::_end
private

Definition at line 188 of file parse_tree_algorithm.hpp.

◆ _filtered_node_range

template<typename Predicate , typename Iterator , typename Sentinel >
friend lexy_ext::_filtered_node_range< Predicate, Iterator, Sentinel >::iterator::_filtered_node_range
private

Definition at line 191 of file parse_tree_algorithm.hpp.

◆ _predicate

template<typename Predicate , typename Iterator , typename Sentinel >
LEXY_EMPTY_MEMBER Predicate lexy_ext::_filtered_node_range< Predicate, Iterator, Sentinel >::iterator::_predicate
private

Definition at line 189 of file parse_tree_algorithm.hpp.


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


behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:10