Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::math_opt::SparseVectorView< T >::const_iterator Class Reference

#include <sparse_vector_view.h>

Public Types

using value_type = SparseVectorView::value_type
 
using reference = value_type
 
using pointer = void
 
using const_pointer = void
 
using difference_type = int
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

reference operator* () const
 
internal::ArrowOperatorProxy< referenceoperator-> () const
 
const_iteratoroperator++ ()
 
bool operator== (const const_iterator &other) const
 
bool operator!= (const const_iterator &other) const
 

Friends

class SparseVectorView
 

Detailed Description

template<typename T>
class operations_research::math_opt::SparseVectorView< T >::const_iterator

Definition at line 92 of file sparse_vector_view.h.

Member Typedef Documentation

◆ const_pointer

template<typename T >
using operations_research::math_opt::SparseVectorView< T >::const_iterator::const_pointer = void

Definition at line 97 of file sparse_vector_view.h.

◆ difference_type

template<typename T >
using operations_research::math_opt::SparseVectorView< T >::const_iterator::difference_type = int

Definition at line 98 of file sparse_vector_view.h.

◆ iterator_category

template<typename T >
using operations_research::math_opt::SparseVectorView< T >::const_iterator::iterator_category = std::forward_iterator_tag

Definition at line 99 of file sparse_vector_view.h.

◆ pointer

template<typename T >
using operations_research::math_opt::SparseVectorView< T >::const_iterator::pointer = void

Definition at line 96 of file sparse_vector_view.h.

◆ reference

template<typename T >
using operations_research::math_opt::SparseVectorView< T >::const_iterator::reference = value_type

Definition at line 95 of file sparse_vector_view.h.

◆ value_type

template<typename T >
using operations_research::math_opt::SparseVectorView< T >::const_iterator::value_type = SparseVectorView::value_type

Definition at line 94 of file sparse_vector_view.h.

Member Function Documentation

◆ operator!=()

template<typename T >
bool operations_research::math_opt::SparseVectorView< T >::const_iterator::operator!= ( const const_iterator & other) const

Definition at line 223 of file sparse_vector_view.h.

◆ operator*()

template<typename T >
SparseVectorView< T >::const_iterator::reference operations_research::math_opt::SparseVectorView< T >::const_iterator::operator* ( ) const

Definition at line 196 of file sparse_vector_view.h.

◆ operator++()

template<typename T >
SparseVectorView< T >::const_iterator & operations_research::math_opt::SparseVectorView< T >::const_iterator::operator++ ( )

Definition at line 209 of file sparse_vector_view.h.

◆ operator->()

template<typename T >
internal::ArrowOperatorProxy< typename SparseVectorView< T >::const_iterator::reference > operations_research::math_opt::SparseVectorView< T >::const_iterator::operator-> ( ) const
inline

Definition at line 203 of file sparse_vector_view.h.

◆ operator==()

template<typename T >
bool operations_research::math_opt::SparseVectorView< T >::const_iterator::operator== ( const const_iterator & other) const

Definition at line 216 of file sparse_vector_view.h.

Friends And Related Symbol Documentation

◆ SparseVectorView

template<typename T >
friend class SparseVectorView
friend

Definition at line 108 of file sparse_vector_view.h.


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