Skip to main content
FRAMES NO FRAMES

Class ParameterSet::Iterator

Definition file: ilcplex/ilocplexi.h
Map of ParameterSet::IteratorParameterSet::IteratorParameterSet::Iterator

An instance of this nested class is an iterator that traverses a set of parameters.

The class includes operators to point to the current parameter in the set and to advance to the next parameter in the set, and a method ok to verify that the iterator is still within the set.

Method Summary
public Iterator(IloCplex::ParameterSet)
public boolok() const
public IloCplex::Parameteroperator*() const
public Iteratoroperator++(int)
public Iterator &operator++()
Method Detail

Iterator

public Iterator(IloCplex::ParameterSet)

Constructs an iterator capable of traversing the parameters in the designated parameter set.


ok

public bool ok() const

Returns true if the iterator points to a valid element of the the parameter set, and false otherwise.


operator*

public IloCplex::Parameter operator*() const

Returns the parameter to which the iterator currently points.


operator++

public Iterator operator++(int)

Advances the iterator to the next element of the parameter set.


operator++

public Iterator & operator++()

Advances the iterator to the next element of the parameter set.