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

Gecode::Iter::Ranges::SingletonAppend< J > Class Template Reference
[Range iterators]

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

List of all members.


Detailed Description

template<class J>
class Gecode::Iter::Ranges::SingletonAppend< J >

Range iterator for appending a singleton with a range iterator

The singleton is not allowed to be adjacent to the iterator.

Definition at line 51 of file ranges-singleton-append.icc.


Constructors and initialization

 SingletonAppend (void)
 Default constructor.
 SingletonAppend (int i0, int i1, J &j)
 Initialize with singleton (i0, i1) and iterator j.
void init (int i0, int i1, J &j)
 Initialize with singleton (i0, i1) and iterator j.

Iteration control

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

Protected Attributes

j
 Iterator to be appended.

Constructor & Destructor Documentation

template<class J>
Gecode::Iter::Ranges::SingletonAppend< J >::SingletonAppend ( void   )  [inline]

Default constructor.

Definition at line 93 of file ranges-singleton-append.icc.

template<class J>
Gecode::Iter::Ranges::SingletonAppend< J >::SingletonAppend ( int  i0,
int  i1,
J &  j 
) [inline]

Initialize with singleton (i0, i1) and iterator j.

Definition at line 97 of file ranges-singleton-append.icc.


Member Function Documentation

template<class J>
void Gecode::Iter::Ranges::SingletonAppend< J >::init ( int  i0,
int  i1,
J &  j 
) [inline]

Initialize with singleton (i0, i1) and iterator j.

Definition at line 104 of file ranges-singleton-append.icc.

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

Move iterator to next range (if possible).

Definition at line 81 of file ranges-singleton-append.icc.


Member Data Documentation

template<class J>
J Gecode::Iter::Ranges::SingletonAppend< J >::j [protected]

Iterator to be appended.

Definition at line 54 of file ranges-singleton-append.icc.


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