Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::ClosedInterval::Iterator Class Reference

Implementation details. More...

#include <sorted_interval_list.h>

Public Types

using value_type = int64_t
using difference_type = std::ptrdiff_t

Public Member Functions

 Iterator (const Iterator &)=default
int64_t operator* () const
Iteratoroperator++ ()
void operator++ (int)
bool operator== (Iterator other) const
bool operator!= (Iterator other) const
Iteratoroperator= (const Iterator &)=default

Static Public Member Functions

static Iterator Begin (ClosedInterval interval)
static Iterator End (ClosedInterval interval)

Detailed Description

Implementation details.

Definition at line 680 of file sorted_interval_list.h.

Member Typedef Documentation

◆ difference_type

◆ value_type

Constructor & Destructor Documentation

◆ Iterator()

operations_research::ClosedInterval::Iterator::Iterator ( const Iterator & )
default

Member Function Documentation

◆ Begin()

Iterator operations_research::ClosedInterval::Iterator::Begin ( ClosedInterval interval)
inlinestatic

Definition at line 700 of file sorted_interval_list.h.

◆ End()

Iterator operations_research::ClosedInterval::Iterator::End ( ClosedInterval interval)
inlinestatic

Definition at line 704 of file sorted_interval_list.h.

◆ operator!=()

bool operations_research::ClosedInterval::Iterator::operator!= ( Iterator other) const
inline

Definition at line 696 of file sorted_interval_list.h.

◆ operator*()

int64_t operations_research::ClosedInterval::Iterator::operator* ( ) const
inline

Definition at line 687 of file sorted_interval_list.h.

◆ operator++() [1/2]

Iterator & operations_research::ClosedInterval::Iterator::operator++ ( )
inline

Definition at line 689 of file sorted_interval_list.h.

◆ operator++() [2/2]

void operations_research::ClosedInterval::Iterator::operator++ ( int )
inline

Definition at line 693 of file sorted_interval_list.h.

◆ operator=()

Iterator & operations_research::ClosedInterval::Iterator::operator= ( const Iterator & )
default

◆ operator==()

bool operations_research::ClosedInterval::Iterator::operator== ( Iterator other) const
inline

Definition at line 695 of file sorted_interval_list.h.


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