Generated on Mon Aug 25 11:35:52 2008 for Gecode by doxygen 1.5.6

Gecode::Iter::Ranges::Diff< I, J > Class Template Reference
[Range iterators]

Inherits Gecode::Iter::Ranges::MinMax.

Inherited by Gecode::Set::UnknownRanges< T >, and Gecode::Set::UnknownRanges< Gecode::Set::SetVarImp * >.

List of all members.


Detailed Description

template<class I, class J>
class Gecode::Iter::Ranges::Diff< I, J >

Range iterator for computing set difference.

Definition at line 47 of file ranges-diff.icc.


Constructors and initialization

 Diff (void)
 Default constructor.
 Diff (I &i, J &j)
 Initialize with iterator i and j.
void init (I &i, J &j)
 Initialize with iterator i and j.

Iteration control

void operator++ (void)
 Move iterator to next range (if possible).

Protected Attributes

i
 Iterator from which to subtract.
j
 Iterator to be subtracted.

Constructor & Destructor Documentation

template<class I, class J>
Gecode::Iter::Ranges::Diff< I, J >::Diff ( void   )  [inline]

Default constructor.

Definition at line 113 of file ranges-diff.icc.

template<class I, class J>
Gecode::Iter::Ranges::Diff< I, J >::Diff ( I &  i,
J &  j 
) [inline]

Initialize with iterator i and j.

Definition at line 117 of file ranges-diff.icc.


Member Function Documentation

template<class I, class J>
void Gecode::Iter::Ranges::Diff< I, J >::init ( I &  i,
J &  j 
) [inline]

Initialize with iterator i and j.

Definition at line 129 of file ranges-diff.icc.

template<class I, class J>
void Gecode::Iter::Ranges::Diff< I, J >::operator++ ( void   )  [inline]

Move iterator to next range (if possible).

Definition at line 75 of file ranges-diff.icc.


Member Data Documentation

template<class I, class J>
I Gecode::Iter::Ranges::Diff< I, J >::i [protected]

Iterator from which to subtract.

Definition at line 50 of file ranges-diff.icc.

template<class I, class J>
J Gecode::Iter::Ranges::Diff< I, J >::j [protected]

Iterator to be subtracted.

Definition at line 52 of file ranges-diff.icc.


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