Generated on Tue Apr 18 10:24:00 2017 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 49 of file ranges-cache.hpp.


Constructor & Destructor Documentation

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

Default constructor.

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

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

Copy constructor.

Definition at line 73 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 94 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 78 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 99 of file ranges-cache.hpp.


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