SeqAn3  3.0.1
The Modern C++ library for sequence analysis.
take_line.hpp File Reference

Provides seqan3::views::take_line and seqan3::views::take_line_or_throw. More...

+ Include dependency graph for take_line.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 seqan3
 The main SeqAn3 namespace.
 
 seqan3::views
 The SeqAn namespace for views.
 

Variables

General purpose views
constexpr auto seqan3::views::take_line = views::take_until_and_consume(is_char<'\r'> || is_char<'\n'>)
 A view adaptor that returns a single line from the underlying range or the full range if there is no newline. More...
 
constexpr auto seqan3::views::take_line_or_throw = views::take_until_or_throw_and_consume(is_char<'\r'> || is_char<'\n'>)
 A view adaptor that returns a single line from the underlying range (throws if there is no end-of-line). More...
 

Detailed Description

Provides seqan3::views::take_line and seqan3::views::take_line_or_throw.

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