7 #ifndef SEQUENCE_POSITION_HPP_ 8 #define SEQUENCE_POSITION_HPP_ 16 Seq_pos(
const Id iid,
const unsigned pos)
29 return rp1.id_ == rp2.id_ && rp1.pos_ == rp2.pos_;
33 inline bool operator<(Seq_pos<Id>
const& rp1,
Seq_pos<Id> const& rp2) {
34 if( rp1.id_ < rp2.id_ )
return true;
35 if( rp2.id_ < rp1.id_ )
return false;
36 return rp1.pos_ < rp2.pos_;
40 inline bool operator<(Seq_pos<Id>
const& rp1,
const Id rp2) {
45 inline bool operator<(const Id rp1, Seq_pos<Id>
const& rp2) {
Main namespace of vdj_pipe library.
Definition: sequence_file.hpp:14
Definition: sequence_position.hpp:15