Generated on Fri May 13 2011 22:41:31 for Gecode by doxygen 1.7.1

Gecode::Iter::Ranges::Cache< I > Class Template 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.
 Cache (Region &r, I &i)
 Initialize with ranges from i.
void init (Region &r, I &i)
 Initialize with ranges from i.
Cacheoperator= (const Cache &m)
 Assignment operator.

Detailed Description

template<class I>
class Gecode::Iter::Ranges::Cache< I >

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 50 of file ranges-cache.hpp.


Constructor & Destructor Documentation

template<class I >
Gecode::Iter::Ranges::Cache< I >::Cache ( void   )  [inline]

Default constructor.

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

template<class I >
Gecode::Iter::Ranges::Cache< I >::Cache ( const Cache< I > &  m  )  [inline]

Copy constructor.

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

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

Initialize with ranges from i.

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


Member Function Documentation

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

Initialize with ranges from i.

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

template<class I >
Cache< I > & Gecode::Iter::Ranges::Cache< I >::operator= ( const Cache< I > &  m  )  [inline]

Assignment operator.

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


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