LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
lar::details::const_datarange_iterator< T > Class Template Reference

#include "sparse_vector.h"

Public Member Functions

 const_datarange_iterator ()=default
 
 const_datarange_iterator (base_iterator it)
 
const_datarange_iteratoroperator++ ()
 
const_datarange_toperator* () const
 
bool operator!= (const_datarange_iterator const &other) const
 

Private Types

using const_datarange_t = typename sparse_vector< T >::const_datarange_t
 
using base_iterator = typename sparse_vector< T >::range_iterator
 

Private Attributes

base_iterator it
 

Detailed Description

template<typename T>
class lar::details::const_datarange_iterator< T >

Definition at line 1715 of file sparse_vector.h.

Member Typedef Documentation

template<typename T >
using lar::details::const_datarange_iterator< T >::base_iterator = typename sparse_vector<T>::range_iterator
private

Definition at line 1717 of file sparse_vector.h.

template<typename T >
using lar::details::const_datarange_iterator< T >::const_datarange_t = typename sparse_vector<T>::const_datarange_t
private

Definition at line 1716 of file sparse_vector.h.

Constructor & Destructor Documentation

template<typename T >
lar::details::const_datarange_iterator< T >::const_datarange_iterator ( )
default

Definition at line 1723 of file sparse_vector.h.

Member Function Documentation

template<typename T >
bool lar::details::const_datarange_iterator< T >::operator!= ( const_datarange_iterator< T > const &  other) const
inline
template<typename T >
const_datarange_t& lar::details::const_datarange_iterator< T >::operator* ( ) const
inline

Definition at line 1730 of file sparse_vector.h.

1730 { return make_const_datarange_t<T>(*it); }
template<typename T >
const_datarange_iterator& lar::details::const_datarange_iterator< T >::operator++ ( )
inline

Definition at line 1725 of file sparse_vector.h.

1726  {
1727  ++it;
1728  return *this;
1729  }

Member Data Documentation

template<typename T >
base_iterator lar::details::const_datarange_iterator< T >::it
private

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