All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Types | Private Attributes | List of all members
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 1672 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 1674 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 1673 of file sparse_vector.h.

Constructor & Destructor Documentation

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

Definition at line 1679 of file sparse_vector.h.

1679 : it(it) {}

Member Function Documentation

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

Definition at line 1684 of file sparse_vector.h.

1685  { return it != other.it; }
template<typename T >
const_datarange_t& lar::details::const_datarange_iterator< T >::operator* ( ) const
inline

Definition at line 1682 of file sparse_vector.h.

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

Definition at line 1681 of file sparse_vector.h.

1681 { ++it; return *this; }

Member Data Documentation

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

Definition at line 1675 of file sparse_vector.h.


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