Generated on Fri Oct 19 11:26:17 2018 for Gecode by doxygen 1.6.3

Gecode::Iter::Ranges::Cache Class Reference
[Range iterators]

Range iterator cache More...

#include <ranges-cache.hpp>

List of all members.

Constructors and initialization



 Cache (void)
 Default constructor.
 Cache (const Cache &m)
 Copy constructor.
template<class I >
 Cache (Region &r, I &i)
 Initialize with ranges from i.
template<class I >
void init (Region &r, I &i)
 Initialize with ranges from i.
Cacheoperator= (const Cache &m)
 Assignment operator (both caches must be allocated from the same region).

Detailed Description

Range iterator cache

Allows to iterate the ranges as defined by the input iterator several times provided the Cache is reset by the reset member function.

Definition at line 45 of file ranges-cache.hpp.


Constructor & Destructor Documentation

Gecode::Iter::Ranges::Cache::Cache ( void   )  [inline]

Default constructor.

Definition at line 66 of file ranges-cache.hpp.

Gecode::Iter::Ranges::Cache::Cache ( const Cache m  )  [inline]

Copy constructor.

Definition at line 69 of file ranges-cache.hpp.

template<class I >
Gecode::Iter::Ranges::Cache::Cache ( Region r,
I &  i 
) [inline]

Initialize with ranges from i.

Definition at line 90 of file ranges-cache.hpp.


Member Function Documentation

template<class I >
void Gecode::Iter::Ranges::Cache::init ( Region r,
I &  i 
) [inline]

Initialize with ranges from i.

Definition at line 74 of file ranges-cache.hpp.

Cache & Gecode::Iter::Ranges::Cache::operator= ( const Cache m  )  [inline]

Assignment operator (both caches must be allocated from the same region).

Definition at line 95 of file ranges-cache.hpp.


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