LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
lar::details::iteratorRange< BITER, EITER > Class Template Reference

Enclosure to use two iterators representing a range in a range-for loop. More...

#include "sparse_vector.h"

Public Member Functions

 iteratorRange (BITER const &b, EITER const &e)
 
auto const & begin () const
 
auto const & end () const
 

Private Attributes

BITER b
 
EITER e
 

Detailed Description

template<typename BITER, typename EITER>
class lar::details::iteratorRange< BITER, EITER >

Enclosure to use two iterators representing a range in a range-for loop.

Definition at line 1467 of file sparse_vector.h.

Constructor & Destructor Documentation

template<typename BITER , typename EITER >
lar::details::iteratorRange< BITER, EITER >::iteratorRange ( BITER const &  b,
EITER const &  e 
)
inline

Definition at line 1471 of file sparse_vector.h.

Member Function Documentation

template<typename BITER , typename EITER >
auto const& lar::details::iteratorRange< BITER, EITER >::begin ( ) const
inline

Definition at line 1472 of file sparse_vector.h.

1472 { return b; }
template<typename BITER , typename EITER >
auto const& lar::details::iteratorRange< BITER, EITER >::end ( ) const
inline

Definition at line 1473 of file sparse_vector.h.

References e.

1473 { return e; }

Member Data Documentation

template<typename BITER , typename EITER >
BITER lar::details::iteratorRange< BITER, EITER >::b
private

Definition at line 1468 of file sparse_vector.h.

template<typename BITER , typename EITER >
EITER lar::details::iteratorRange< BITER, EITER >::e
private

Definition at line 1469 of file sparse_vector.h.


The documentation for this class was generated from the following file: