24template <
typename field_types,
typename field_
ids>
35 using field_constant =
typename base_t::template field_constant<f>;
37 using base_t::get_impl;
55 decltype(
auto)
id() &&
57 return get_impl(field_constant<seqan3::field::id>{},
static_cast<tuple_base_t &&
>(*this));
60 decltype(
auto)
id()
const &&
62 return get_impl(field_constant<seqan3::field::id>{},
static_cast<tuple_base_t
const &&
>(*this));
67 return get_impl(field_constant<seqan3::field::id>{},
static_cast<tuple_base_t &
>(*this));
70 decltype(
auto)
id()
const &
72 return get_impl(field_constant<seqan3::field::id>{},
static_cast<tuple_base_t
const &
>(*this));
78 return get_impl(field_constant<seqan3::field::seq>{},
static_cast<tuple_base_t &&
>(*this));
83 return get_impl(field_constant<seqan3::field::seq>{},
static_cast<tuple_base_t
const &&
>(*this));
88 return get_impl(field_constant<seqan3::field::seq>{},
static_cast<tuple_base_t &
>(*this));
93 return get_impl(field_constant<seqan3::field::seq>{},
static_cast<tuple_base_t
const &
>(*this));
99 return get_impl(field_constant<seqan3::field::structure>{},
static_cast<tuple_base_t &&
>(*this));
104 return get_impl(field_constant<seqan3::field::structure>{},
static_cast<tuple_base_t
const &&
>(*this));
109 return get_impl(field_constant<seqan3::field::structure>{},
static_cast<tuple_base_t &
>(*this));
114 return get_impl(field_constant<seqan3::field::structure>{},
static_cast<tuple_base_t
const &
>(*this));
120 return get_impl(field_constant<seqan3::field::energy>{},
static_cast<tuple_base_t &&
>(*this));
125 return get_impl(field_constant<seqan3::field::energy>{},
static_cast<tuple_base_t
const &&
>(*this));
130 return get_impl(field_constant<seqan3::field::energy>{},
static_cast<tuple_base_t &
>(*this));
135 return get_impl(field_constant<seqan3::field::energy>{},
static_cast<tuple_base_t
const &
>(*this));
142 return get_impl(field_constant<seqan3::field::bpp>{},
static_cast<tuple_base_t &&
>(*this));
147 return get_impl(field_constant<seqan3::field::bpp>{},
static_cast<tuple_base_t
const &&
>(*this));
152 return get_impl(field_constant<seqan3::field::bpp>{},
static_cast<tuple_base_t &
>(*this));
157 return get_impl(field_constant<seqan3::field::bpp>{},
static_cast<tuple_base_t
const &
>(*this));
175template <
typename field_types,
typename field_
ids>
176struct tuple_size<
seqan3::structure_record<field_types, field_ids>> :
177 tuple_size<typename seqan3::structure_record<field_types, field_ids>::base_type>
185template <
size_t elem_no,
typename field_types,
typename field_
ids>
186struct tuple_element<elem_no,
seqan3::structure_record<field_types, field_ids>> :
187 tuple_element<elem_no, typename seqan3::structure_record<field_types, field_ids>::base_type>
The record type of seqan3::structure_file_input.
Definition structure_file/record.hpp:26
structure_record()=default
Defaulted.
decltype(auto) base_pair_probability_matrix() &&
Base pair probability matrix of interactions, usually a matrix of float numbers.
Definition structure_file/record.hpp:139
decltype(auto) energy() &&
Energy of a folded sequence, represented by one float number.
Definition structure_file/record.hpp:118
structure_record & operator=(structure_record &&)=default
Defaulted.
decltype(auto) energy() &
Energy of a folded sequence, represented by one float number.
Definition structure_file/record.hpp:128
decltype(auto) sequence() const &
The "sequence", usually a range of nucleotides or amino acids.
Definition structure_file/record.hpp:91
decltype(auto) sequence_structure() &
Fixed interactions, usually a string of structure alphabet characters.
Definition structure_file/record.hpp:107
decltype(auto) base_pair_probability_matrix() &
Base pair probability matrix of interactions, usually a matrix of float numbers.
Definition structure_file/record.hpp:150
decltype(auto) sequence_structure() const &&
Fixed interactions, usually a string of structure alphabet characters.
Definition structure_file/record.hpp:102
structure_record(structure_record &&)=default
Defaulted.
decltype(auto) base_pair_probability_matrix() const &
Base pair probability matrix of interactions, usually a matrix of float numbers.
Definition structure_file/record.hpp:155
decltype(auto) base_pair_probability_matrix() const &&
Base pair probability matrix of interactions, usually a matrix of float numbers.
Definition structure_file/record.hpp:145
~structure_record()=default
Defaulted.
decltype(auto) sequence() &&
The "sequence", usually a range of nucleotides or amino acids.
Definition structure_file/record.hpp:76
decltype(auto) sequence_structure() const &
Fixed interactions, usually a string of structure alphabet characters.
Definition structure_file/record.hpp:112
decltype(auto) sequence_structure() &&
Fixed interactions, usually a string of structure alphabet characters.
Definition structure_file/record.hpp:97
decltype(auto) energy() const &&
Energy of a folded sequence, represented by one float number.
Definition structure_file/record.hpp:123
decltype(auto) energy() const &
Energy of a folded sequence, represented by one float number.
Definition structure_file/record.hpp:133
structure_record & operator=(structure_record const &)=default
Defaulted.
decltype(auto) sequence() &
The "sequence", usually a range of nucleotides or amino acids.
Definition structure_file/record.hpp:86
structure_record(structure_record const &)=default
Defaulted.
decltype(auto) sequence() const &&
The "sequence", usually a range of nucleotides or amino acids.
Definition structure_file/record.hpp:81
The main SeqAn3 namespace.
Definition aligned_sequence_concept.hpp:26
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:190
detail::transfer_template_args_onto_t< field_types, std::tuple > base_type
A specialisation of std::tuple.
Definition record.hpp:193