Google OR-Tools: util::IntegerRangeIterator< IntegerType > Class Template Reference

template<typename IntegerType>
class util::IntegerRangeIterator< IntegerType >

Definition at line 123 of file iterators.h.

#include <iterators.h>

Public Types

using difference_type = ptrdiff_t
using value_type = IntegerType

Public Member Functions

 IntegerRangeIterator ()
 IntegerRangeIterator (IntegerType value)
IntegerType operator* () const
bool operator== (const IntegerRangeIterator &other) const
bool operator!= (const IntegerRangeIterator &other) const
bool operator< (const IntegerRangeIterator &other) const
bool operator> (const IntegerRangeIterator &other) const
bool operator<= (const IntegerRangeIterator &other) const
bool operator>= (const IntegerRangeIterator &other) const
IntegerRangeIteratoroperator++ ()
IntegerRangeIterator operator++ (int)
IntegerRangeIteratoroperator+= (difference_type n)
IntegerRangeIteratoroperator-- ()
IntegerRangeIterator operator-- (int)
IntegerRangeIteratoroperator-= (difference_type n)
IntegerType operator[] (difference_type n) const

◆ difference_type

template<typename IntegerType>

◆ value_type

template<typename IntegerType>

template<typename IntegerType>

◆ IntegerRangeIterator() [2/2]

template<typename IntegerType>

◆ operator!=()

template<typename IntegerType>

◆ operator*()

template<typename IntegerType>

◆ operator++() [1/2]

template<typename IntegerType>

◆ operator++() [2/2]

template<typename IntegerType>

◆ operator+=()

template<typename IntegerType>

◆ operator--() [1/2]

template<typename IntegerType>

◆ operator--() [2/2]

template<typename IntegerType>

◆ operator-=()

template<typename IntegerType>

◆ operator<()

template<typename IntegerType>

◆ operator<=()

template<typename IntegerType>

◆ operator==()

template<typename IntegerType>

◆ operator>()

template<typename IntegerType>

◆ operator>=()

template<typename IntegerType>

◆ operator[]()

template<typename IntegerType>

◆ operator+ [1/2]

template<typename IntegerType>

IntegerRangeIterator operator+ ( difference_type n,
IntegerRangeIterator< IntegerType > it )
friend

◆ operator+ [2/2]

template<typename IntegerType>

IntegerRangeIterator operator+ ( IntegerRangeIterator< IntegerType > it,
difference_type n )
friend

◆ operator- [1/2]

template<typename IntegerType>

difference_type operator- ( const IntegerRangeIterator< IntegerType > l,
const IntegerRangeIterator< IntegerType > r )
friend

◆ operator- [2/2]

template<typename IntegerType>

IntegerRangeIterator operator- ( IntegerRangeIterator< IntegerType > it,
difference_type n )
friend

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