Vcsn
2.0
Be Rational
|
#include <crange.hh>
Public Types | |
using | unref_C = typename std::remove_reference< C >::type |
using | value_type = typename unref_C::value_type |
using | predicate_t = std::function< bool(value_type)> |
using | const_iterator = boost::filter_iterator< predicate_t, typename unref_C::const_iterator > |
Public Member Functions | |
container_filter_range (const unref_C &cont, predicate_t predicate) | |
const_iterator | begin () const |
const_iterator | end () const |
value_type | front () const |
The first element. More... | |
value_type | back () const |
The last element. More... | |
bool | empty () const |
size_t | size () const |
Private Attributes | |
const C | cont_ |
predicate_t | predicate_ |
using vcsn::container_filter_range< C >::const_iterator = boost::filter_iterator<predicate_t, typename unref_C::const_iterator> |
using vcsn::container_filter_range< C >::predicate_t = std::function<bool(value_type)> |
using vcsn::container_filter_range< C >::unref_C = typename std::remove_reference<C>::type |
using vcsn::container_filter_range< C >::value_type = typename unref_C::value_type |
|
inline |
|
inline |
The last element.
Definition at line 86 of file crange.hh.
References vcsn::container_filter_range< C >::cont_, and vcsn::container_filter_range< C >::empty().
|
inline |
Definition at line 62 of file crange.hh.
References vcsn::container_filter_range< C >::cont_, and vcsn::container_filter_range< C >::predicate_.
Referenced by vcsn::container_filter_range< C >::empty(), vcsn::container_filter_range< C >::front(), and vcsn::container_filter_range< C >::size().
|
inline |
Definition at line 92 of file crange.hh.
References vcsn::container_filter_range< C >::begin(), and vcsn::container_filter_range< C >::end().
Referenced by vcsn::container_filter_range< C >::back(), and vcsn::container_filter_range< C >::front().
|
inline |
Definition at line 67 of file crange.hh.
References vcsn::container_filter_range< C >::cont_, and vcsn::container_filter_range< C >::predicate_.
Referenced by vcsn::container_filter_range< C >::empty(), and vcsn::container_filter_range< C >::size().
|
inline |
The first element.
Definition at line 76 of file crange.hh.
References vcsn::container_filter_range< C >::begin(), and vcsn::container_filter_range< C >::empty().
|
inline |
Definition at line 97 of file crange.hh.
References vcsn::container_filter_range< C >::begin(), and vcsn::container_filter_range< C >::end().
Referenced by vcsn::detail::filter_automaton_impl< Aut >::num_all_states(), and vcsn::detail::filter_automaton_impl< Aut >::num_states().
|
private |
Definition at line 103 of file crange.hh.
Referenced by vcsn::container_filter_range< C >::back(), vcsn::container_filter_range< C >::begin(), and vcsn::container_filter_range< C >::end().
|
private |
Definition at line 104 of file crange.hh.
Referenced by vcsn::container_filter_range< C >::begin(), and vcsn::container_filter_range< C >::end().