SeqAn3  3.0.0
The Modern C++ library for sequence analysis.
ranges File Reference

Adaptations of concepts from the Ranges TS. More...

#include <seqan3/range/detail/enable_view.hpp>
#include <range/v3/range/concepts.hpp>
#include <range/v3/iterator/insert_iterators.hpp>
#include <range/v3/view/all.hpp>
#include <range/v3/view/any_view.hpp>
#include <range/v3/view/common.hpp>
#include <range/v3/view/drop.hpp>
#include <range/v3/view/drop_while.hpp>
#include <range/v3/view/filter.hpp>
#include <range/v3/view/iota.hpp>
#include <range/v3/view/istream.hpp>
#include <range/v3/view/join.hpp>
#include <range/v3/view/reverse.hpp>
#include <range/v3/view/single.hpp>
#include <range/v3/view/split.hpp>
#include <range/v3/view/subrange.hpp>
#include <range/v3/view/take.hpp>
#include <range/v3/view/take_while.hpp>
#include <range/v3/view/transform.hpp>
#include <range/v3/view/zip.hpp>
#include <seqan3/core/type_traits/transformation_trait_or.hpp>
#include <seqan3/std/concepts>
#include <seqan3/std/iterator>
+ Include dependency graph for ranges:
+ This graph shows which files directly or indirectly include this file:

Namespaces

 std
 SeqAn specific customisations in the standard namespace.
 

Typedefs

template<ViewableRange R>
using std::ranges::all_view = decltype(view::all(declval< R >()))
 The type that would be returned by the std::view::all adaptor.
 
using std::ranges::begin = ::ranges::begin
 Alias for ranges::begin. Returns an iterator to the beginning of a range.
 
using std::ranges::cbegin = ::ranges::cbegin
 Alias for ranges::cbegin. Returns an iterator to the beginning of a range.
 
using std::ranges::cend = ::ranges::cend
 Alias for ranges::cend. Returns an iterator to the end of a range.
 
using std::ranges::data = ::ranges::data
 Alias for ranges::data. Returns a pointer the block of data of a ContiguousRange.
 
using std::ranges::empty = ::ranges::empty
 Alias for ranges::empty. Checks whether a range is empty.
 
using std::ranges::end = ::ranges::end
 Alias for ranges::end. Returns an iterator to the end of a range.
 
template<typename value_type >
using std::ranges::istream_view = ::ranges::istream_view< value_type >
 A view over an input stream. More...
 
using std::ranges::iterator_t = ::ranges::iterator_t
 Alias for ranges::iterator_t. Obtains the iterator type of a range.
 
using std::ranges::sentinel_t = ::ranges::sentinel_t
 Alias for ranges::sentinel_t. Obtains the sentinel type of a range.
 
using std::ranges::size = ::ranges::size
 Alias for ranges::size. Obtains the size of a range whose size can be calculated in constant time.
 
template<std::Iterator it_t, std::Sentinel< it_t > sen_t, subrange_kind k = std::SizedSentinel<sen_t, it_t> ? subrange_kind::sized : subrange_kind::unsized>
using std::ranges::subrange = ::ranges::subrange< it_t, sen_t, k >
 Create a view from a pair of iterator and sentinel. More...
 
using std::ranges::subrange_kind = ::ranges::subrange_kind
 Named template parameter of std::ranges::subrange.
 
using std::ranges::to = ::ranges::_to_::to
 Alias for ranges::to.
 
template<typename urng_t >
using std::ranges::view_interface = ::ranges::view_interface< urng_t >
 Alias for ranges::view_interface.
 

Variables

constexpr auto std::ranges::view::all
 A range adaptor that forwards views and "view-wraps" containers (you will likely not need to use this unless defining a new view). More...
 
constexpr auto std::ranges::view::common
 A range adaptor that makes any range model std::ranges::CommonRange (at the expense of some performance). More...
 
constexpr auto std::ranges::view::drop
 A range adaptor that returns all elements from the underlying range after count. More...
 
constexpr auto std::ranges::view::drop_while
 A range adaptor that drops elements from the underlying range as long as the functor evaluates to true (and returns the rest). More...
 
template<typename type >
constexpr bool std::ranges::enable_view = ::ranges::enable_view<type>
 Type trait that indicates whether type is a view.
 
template<typename type >
constexpr bool ranges::enable_view< type > = static_cast<bool>(seqan3::detail::enable_view<type>)
 Customises ranges type trait that indicates whether type is a view.
 
constexpr auto std::ranges::view::filter
 A range adaptor that takes a predicate and returns a view of the elements that satisfy the predicate. More...
 
constexpr auto std::ranges::view::iota
 Generates a sequence of elements by repeatedly incrementing an initial value. More...
 
constexpr auto std::ranges::view::join
 Flattens a View of ranges into a View. More...
 
constexpr auto std::ranges::view::reverse
 A range adaptor that presents the underlying range in reverse order. More...
 
constexpr auto std::ranges::view::single
 Given a value, produces a view that contains exactly one element. More...
 
constexpr auto std::ranges::view::split
 Takes a View and a delimiter, and splits the View into subranges on the delimiter. More...
 
constexpr auto std::ranges::view::take
 A range adaptor that returns the first size elements from the underlying range (or less if the underlying range is shorter). More...
 
constexpr auto std::ranges::view::take_while
 A range adaptor that returns elements from the underlying range until the functor evaluates to false (or the end of the underlying range is reached). More...
 
constexpr auto std::ranges::view::transform
 A range adaptor that takes a invocable and returns a view of the elements with the invocable applied. More...
 
constexpr auto std::ranges::view::zip
 A range adaptor that transforms a tuple of range into a range of tuples. More...
 

Detailed Description

Adaptations of concepts from the Ranges TS.

Author
Hannes Hauswedell <hannes.hauswedell AT fu-berlin.de>