![]() |
Vcsn
2.3a
Be Rational
|
#include <fwd.hh>
Public Types | |
using | container_t = Cont |
using | unref_C = typename std::remove_reference< container_t >::type |
using | value_type = typename unref_C::value_type |
using | predicate_t = Pred |
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... | |
ATTRIBUTE_PURE bool | empty () const |
ATTRIBUTE_PURE size_t | size () const |
Private Attributes | |
const container_t | cont_ |
predicate_t | predicate_ |
using vcsn::container_filter_range< Cont, Pred >::const_iterator = boost::filter_iterator<predicate_t, typename unref_C::const_iterator> |
using vcsn::container_filter_range< Cont, Pred >::container_t = Cont |
using vcsn::container_filter_range< Cont, Pred >::predicate_t = Pred |
using vcsn::container_filter_range< Cont, Pred >::unref_C = typename std::remove_reference<container_t>::type |
using vcsn::container_filter_range< Cont, Pred >::value_type = typename unref_C::value_type |
|
inline |
|
inline |
The last element.
Definition at line 89 of file crange.hh.
References vcsn::container_filter_range< Cont, Pred >::cont_, and vcsn::container_filter_range< Cont, Pred >::empty().
|
inline |
Definition at line 65 of file crange.hh.
References vcsn::container_filter_range< Cont, Pred >::cont_, and vcsn::container_filter_range< Cont, Pred >::predicate_.
Referenced by vcsn::container_filter_range< Cont, Pred >::empty(), vcsn::container_filter_range< Cont, Pred >::front(), and vcsn::container_filter_range< Cont, Pred >::size().
|
inline |
Definition at line 96 of file crange.hh.
References vcsn::container_filter_range< Cont, Pred >::begin(), and vcsn::container_filter_range< Cont, Pred >::end().
Referenced by vcsn::container_filter_range< Cont, Pred >::back(), and vcsn::container_filter_range< Cont, Pred >::front().
|
inline |
Definition at line 70 of file crange.hh.
References vcsn::container_filter_range< Cont, Pred >::cont_, and vcsn::container_filter_range< Cont, Pred >::predicate_.
Referenced by vcsn::container_filter_range< Cont, Pred >::empty(), and vcsn::container_filter_range< Cont, Pred >::size().
|
inline |
The first element.
Definition at line 79 of file crange.hh.
References vcsn::container_filter_range< Cont, Pred >::begin(), and vcsn::container_filter_range< Cont, Pred >::empty().
|
inline |
Definition at line 102 of file crange.hh.
References vcsn::container_filter_range< Cont, Pred >::begin(), and vcsn::container_filter_range< Cont, Pred >::end().
|
private |
Definition at line 108 of file crange.hh.
Referenced by vcsn::container_filter_range< Cont, Pred >::back(), vcsn::container_filter_range< Cont, Pred >::begin(), and vcsn::container_filter_range< Cont, Pred >::end().
|
private |
Definition at line 109 of file crange.hh.
Referenced by vcsn::container_filter_range< Cont, Pred >::begin(), and vcsn::container_filter_range< Cont, Pred >::end().