Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
util_intops::TwoLevelsView< Lvl1ViewT, EnableVectorT >::TwoLevelsViewIterator Struct Reference

#include <views.h>

Inheritance diagram for util_intops::TwoLevelsView< Lvl1ViewT, EnableVectorT >::TwoLevelsViewIterator:
util_intops::util::IteratorCRTP< TwoLevelsViewIterator, level2_type >

Public Member Functions

 TwoLevelsViewIterator (level1_iterator iter, const EnableVectorT *active_items)
bool operator!= (const TwoLevelsViewIterator &other) const
TwoLevelsViewIteratoroperator++ ()
level2_type operator* () const
const Lvl1ViewT & base () const
Public Member Functions inherited from util_intops::util::IteratorCRTP< TwoLevelsViewIterator, level2_type >
bool operator== (const TwoLevelsViewIterator &other) const
pointer operator-> () const

Additional Inherited Members

Public Types inherited from util_intops::util::IteratorCRTP< TwoLevelsViewIterator, level2_type >
using iterator_category
using value_type
using difference_type
using pointer
using reference

Detailed Description

template<typename Lvl1ViewT, typename EnableVectorT>
struct util_intops::TwoLevelsView< Lvl1ViewT, EnableVectorT >::TwoLevelsViewIterator

Definition at line 366 of file views.h.

Constructor & Destructor Documentation

◆ TwoLevelsViewIterator()

template<typename Lvl1ViewT, typename EnableVectorT>
util_intops::TwoLevelsView< Lvl1ViewT, EnableVectorT >::TwoLevelsViewIterator::TwoLevelsViewIterator ( level1_iterator iter,
const EnableVectorT * active_items )
inline

Definition at line 368 of file views.h.

Member Function Documentation

◆ base()

template<typename Lvl1ViewT, typename EnableVectorT>
const Lvl1ViewT & util_intops::TwoLevelsView< Lvl1ViewT, EnableVectorT >::TwoLevelsViewIterator::base ( ) const
inline

Definition at line 382 of file views.h.

◆ operator!=()

template<typename Lvl1ViewT, typename EnableVectorT>
bool util_intops::TwoLevelsView< Lvl1ViewT, EnableVectorT >::TwoLevelsViewIterator::operator!= ( const TwoLevelsViewIterator & other) const
inline

Definition at line 371 of file views.h.

◆ operator*()

template<typename Lvl1ViewT, typename EnableVectorT>
level2_type util_intops::TwoLevelsView< Lvl1ViewT, EnableVectorT >::TwoLevelsViewIterator::operator* ( ) const
inline

Definition at line 379 of file views.h.

◆ operator++()

template<typename Lvl1ViewT, typename EnableVectorT>
TwoLevelsViewIterator & util_intops::TwoLevelsView< Lvl1ViewT, EnableVectorT >::TwoLevelsViewIterator::operator++ ( )
inline

Definition at line 375 of file views.h.


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