Skip to main content
FRAMES NO FRAMES

Class IloIntCollection

Definition file: ilconcert/ilocollection.h
Map of IloIntCollectionIloIntCollectionIloIntRangeIloIntSetIloIntCollectionIloDiscreteDataCollectionIloDataCollection
A class used to represent an integer data collection that can be enumerated.

Abstract class for integer discrete data. This domain can be enumerated, using an iterator.

See Also:

Method Summary
public IloIntCollectionI *getImpl() const
public IloIntgetValue(IloInt index) const
public IloIntCollection(IloIntCollectionI * impl)
Inherited Methods from IloDiscreteDataCollection
getImpl, getIndex, getIndex, getIndex, getIndex, getIndex, getSize, IloDiscreteDataCollection, IloDiscreteDataCollection, isOrdered, isReversed, isSorted, iterator
Inherited Methods from IloDataCollection
display, end, getEnv, getName, isIntRange, isIntSet, isNumRange, isNumSet, isSymbolSet, isTupleSet, sort, sort, sort, sort
Method Detail

IloIntCollection

public IloIntCollection(IloIntCollectionI * impl)

Constructor from an implementation.


getImpl

public IloIntCollectionI * getImpl() const

This member function returns a pointer to the implementation object of the invoking extractable object. This is useful when you need to be sure that you are using the same copy of the invoking extractable object in more than one situation.

Returns:

A pointer to the implementation object of the invoking extractable object.

getValue

public IloInt getValue(IloInt index) const

This member function returns the value at the given index.

Parameters:

index
The index for which you want to return a value.

Returns:

The value at the given index.