Skip to main content
FRAMES NO FRAMES

Class IloOplElementIterator

Definition file: ilopl/ilooplelement.h
Map of IloOplElementIteratorIloOplElementIteratorIloOplElementIterator
This class iterates on elements in an OPL model.

Use this iterator to step through a sequence of elements.

See Also:

Method Summary
public voidend()
public IloBoolok() const
public IloOplElementoperator*() const
public voidoperator++()
Method Detail

end

public void end()

Clears the memory used by this object


ok

public IloBool ok() const

This member function lets you know whether there are more elements on which to iterate.

Returns:

IloTrue if there are more elements.

operator*

public IloOplElement operator*() const

This operator accesses the current element.

Returns:

The current IloOplElement instance.

operator++

public void operator++()

This operator moves on to the next element.