7 #ifndef ME_RELATIVE_INTERVAL_HPP_ 8 #define ME_RELATIVE_INTERVAL_HPP_ 28 const std::size_t seq_len
31 const int pos =
rp_(si);
45 template<
class ChT,
class Tr>
friend 47 std::basic_ostream<ChT,Tr>& os,
50 os << ri.
rp_ <<
" len" << ri.
len_;
Sequence position defined relatively to an interval.
Definition: me_relative_position.hpp:16
bool length_defined() const
Definition: me_relative_interval.hpp:42
int length() const
Definition: me_relative_interval.hpp:41
Relative_position const & position() const
Definition: me_relative_interval.hpp:43
static const int unset
Definition: me_relative_interval.hpp:16
friend std::basic_ostream< ChT, Tr > & operator<<(std::basic_ostream< ChT, Tr > &os, Relative_interval const &ri)
Definition: me_relative_interval.hpp:46
Main namespace of vdj_pipe library.
Definition: keywords_variable.hpp:11
sequence_interval sequence_interval_invalid()
Definition: sequence_interval.hpp:44
Relative_position rp_
Definition: me_relative_interval.hpp:55
boost::numeric::interval< int, boost::numeric::interval_lib::policies< boost::numeric::interval_lib::rounded_math< int >, detail::Interval_checking_policy< int > > > sequence_interval
Definition: sequence_interval.hpp:40
bool is_valid(vdj_pipe::sequence_interval const &si)
Definition: sequence_interval.hpp:62
int len_
Definition: me_relative_interval.hpp:56
Relative_interval(Relative_position const &rp, const int length=unset)
Definition: me_relative_interval.hpp:18
sequence_interval operator()(sequence_interval const &si, const std::size_t seq_len) const
Definition: me_relative_interval.hpp:26
Definition: me_relative_interval.hpp:15