OR-Tools  9.6
UpdateDataFieldIterator< UpdateData, V, Field, BaseIter >

Detailed Description

template<typename UpdateData, typename V, V UpdateData::* Field, typename BaseIter>
class operations_research::math_opt::UpdateDataFieldIterator< UpdateData, V, Field, BaseIter >

Definition at line 43 of file math_opt/storage/iterators.h.

Public Types

using value_type = V
 
using reference = V &
 
using pointer = V *
 
using difference_type = typename BaseIter::difference_type
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 UpdateDataFieldIterator (BaseIter base_iter)
 
reference operator* () const
 
pointer operator-> () const
 
UpdateDataFieldIteratoroperator++ ()
 
UpdateDataFieldIterator operator++ (int)
 

Member Typedef Documentation

◆ difference_type

using difference_type = typename BaseIter::difference_type

Definition at line 48 of file math_opt/storage/iterators.h.

◆ iterator_category

using iterator_category = std::forward_iterator_tag

Definition at line 49 of file math_opt/storage/iterators.h.

◆ pointer

using pointer = V*

Definition at line 47 of file math_opt/storage/iterators.h.

◆ reference

using reference = V&

Definition at line 46 of file math_opt/storage/iterators.h.

◆ value_type

using value_type = V

Definition at line 45 of file math_opt/storage/iterators.h.

Constructor & Destructor Documentation

◆ UpdateDataFieldIterator()

UpdateDataFieldIterator ( BaseIter  base_iter)
inlineexplicit

Definition at line 51 of file math_opt/storage/iterators.h.

Member Function Documentation

◆ operator*()

reference operator* ( ) const
inline

Definition at line 54 of file math_opt/storage/iterators.h.

◆ operator++() [1/2]

UpdateDataFieldIterator& operator++ ( )
inline

Definition at line 57 of file math_opt/storage/iterators.h.

◆ operator++() [2/2]

UpdateDataFieldIterator operator++ ( int  )
inline

Definition at line 62 of file math_opt/storage/iterators.h.

◆ operator->()

pointer operator-> ( ) const
inline

Definition at line 55 of file math_opt/storage/iterators.h.


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