27template <
typename field_types,
typename field_
ids>
38 using field_constant =
typename base_t::template field_constant<f>;
40 using base_t::get_impl;
58 decltype(
auto)
id() &&
60 return get_impl(field_constant<seqan3::field::id>{},
static_cast<tuple_base_t &&
>(*this));
63 decltype(
auto)
id()
const &&
65 return get_impl(field_constant<seqan3::field::id>{},
static_cast<tuple_base_t
const &&
>(*this));
70 return get_impl(field_constant<seqan3::field::id>{},
static_cast<tuple_base_t &
>(*this));
73 decltype(
auto)
id()
const &
75 return get_impl(field_constant<seqan3::field::id>{},
static_cast<tuple_base_t
const &
>(*this));
81 return get_impl(field_constant<seqan3::field::seq>{},
static_cast<tuple_base_t &&
>(*this));
86 return get_impl(field_constant<seqan3::field::seq>{},
static_cast<tuple_base_t
const &&
>(*this));
91 return get_impl(field_constant<seqan3::field::seq>{},
static_cast<tuple_base_t &
>(*this));
96 return get_impl(field_constant<seqan3::field::seq>{},
static_cast<tuple_base_t
const &
>(*this));
102 return get_impl(field_constant<seqan3::field::qual>{},
static_cast<tuple_base_t &&
>(*this));
107 return get_impl(field_constant<seqan3::field::qual>{},
static_cast<tuple_base_t
const &&
>(*this));
112 return get_impl(field_constant<seqan3::field::qual>{},
static_cast<tuple_base_t &
>(*this));
117 return get_impl(field_constant<seqan3::field::qual>{},
static_cast<tuple_base_t
const &
>(*this));
130template <
typename field_types,
typename field_
ids>
131struct tuple_size<
seqan3::sequence_record<field_types, field_ids>> :
132 tuple_size<typename seqan3::sequence_record<field_types, field_ids>::base_type>
140template <
size_t elem_no,
typename field_types,
typename field_
ids>
141struct tuple_element<elem_no,
seqan3::sequence_record<field_types, field_ids>> :
142 tuple_element<elem_no, typename seqan3::sequence_record<field_types, field_ids>::base_type>
The record type of seqan3::sequence_file_input.
Definition: sequence_file/record.hpp:29
decltype(auto) base_qualities() &
The qualities, usually in Phred score notation.
Definition: sequence_file/record.hpp:110
decltype(auto) sequence() const &&
The "sequence", usually a range of nucleotides or amino acids.
Definition: sequence_file/record.hpp:84
sequence_record()=default
Defaulted.
decltype(auto) sequence() const &
The "sequence", usually a range of nucleotides or amino acids.
Definition: sequence_file/record.hpp:94
decltype(auto) base_qualities() const &&
The qualities, usually in Phred score notation.
Definition: sequence_file/record.hpp:105
sequence_record(sequence_record const &)=default
Defaulted.
decltype(auto) sequence() &&
The "sequence", usually a range of nucleotides or amino acids.
Definition: sequence_file/record.hpp:79
~sequence_record()=default
Defaulted.
sequence_record & operator=(sequence_record const &)=default
Defaulted.
decltype(auto) base_qualities() &&
The qualities, usually in Phred score notation.
Definition: sequence_file/record.hpp:100
sequence_record & operator=(sequence_record &&)=default
Defaulted.
decltype(auto) sequence() &
The "sequence", usually a range of nucleotides or amino acids.
Definition: sequence_file/record.hpp:89
decltype(auto) base_qualities() const &
The qualities, usually in Phred score notation.
Definition: sequence_file/record.hpp:115
sequence_record(sequence_record &&)=default
Defaulted.
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29
SeqAn specific customisations in the standard namespace.
Provides the seqan3::record template and the seqan3::field enum.
The class template that file records are based on; behaves like a std::tuple.
Definition: record.hpp:193
detail::transfer_template_args_onto_t< field_types, std::tuple > base_type
A specialisation of std::tuple.
Definition: record.hpp:218