7 #ifndef ID_ITERATOR_HPP_ 8 #define ID_ITERATOR_HPP_ 9 #include "boost/iterator/iterator_facade.hpp" 10 #include "boost/range.hpp" 17 :
public boost::iterator_facade<
18 Id_iterator<Id>, Id, boost::forward_traversal_tag, Id
21 friend class boost::iterator_core_access;
32 typename self_type::difference_type
distance_to(self_type
const& i)
const {
39 template<
class Id>
inline boost::iterator_range<Id_iterator<Id> >
42 return boost::iterator_range<Id_iterator<Id> >(iter_t(id1), iter_t(id2));
Id_iterator()
Definition: id_iterator.hpp:24
Id id_
Definition: id_iterator.hpp:28
Id dereference() const
Definition: id_iterator.hpp:29
bool equal(self_type const &i) const
Definition: id_iterator.hpp:31
self_type::difference_type distance_to(self_type const &i) const
Definition: id_iterator.hpp:32
Id_iterator(const Id id)
Definition: id_iterator.hpp:25
Id_iterator self_type
Definition: id_iterator.hpp:23
Main namespace of vdj_pipe library.
Definition: keywords_variable.hpp:11
const std::string id1
Definition: file_ostream_variant_run.cpp:21
boost::iterator_range< Id_iterator< Id > > id_range(const Id id1, const Id id2)
Definition: id_iterator.hpp:40
Definition: id_iterator.hpp:16
void increment()
Definition: id_iterator.hpp:30
const std::string id2
Definition: file_ostream_variant_run.cpp:25