C++ Reference

C++ Reference: Routing

Detailed Description

Utility class to encapsulate an IntVarIterator and use it in a range-based loop.

See the code snippet above IntVarIterator.

It contains DEBUG_MODE-enabled code that DCHECKs that the same iterator instance isn't being iterated on in multiple places simultaneously.

Definition at line 3941 of file constraint_solver.h.

Classes

struct  Iterator
 

Public Member Functions

 InitAndGetValues (IntVarIterator *it)
 
Iterator begin ()
 
Iterator end ()
 

Constructor & Destructor Documentation

◆ InitAndGetValues()

InitAndGetValues ( IntVarIterator it)
inlineexplicit

Definition at line 3943 of file constraint_solver.h.

Member Function Documentation

◆ begin()

Iterator begin ( )
inline

Definition at line 3948 of file constraint_solver.h.

◆ end()

Iterator end ( )
inline

Definition at line 3955 of file constraint_solver.h.


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