Vcsn
2.2
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 87 of file crange.hh.
References vcsn::container_filter_range< Cont, Pred >::cont_, and vcsn::container_filter_range< Cont, Pred >::empty().
|
inline |
Definition at line 63 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 94 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 68 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 77 of file crange.hh.
References vcsn::container_filter_range< Cont, Pred >::begin(), and vcsn::container_filter_range< Cont, Pred >::empty().
|
inline |
Definition at line 100 of file crange.hh.
References vcsn::container_filter_range< Cont, Pred >::begin(), and vcsn::container_filter_range< Cont, Pred >::end().
|
private |
Definition at line 106 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 107 of file crange.hh.
Referenced by vcsn::container_filter_range< Cont, Pred >::begin(), and vcsn::container_filter_range< Cont, Pred >::end().