Skip to main content
FRAMES NO FRAMES

Class IloNumCollection

Definition file: ilconcert/ilocollection.h
Map of IloNumCollectionIloNumCollectionIloNumSetIloNumCollectionIloDiscreteDataCollectionIloDataCollection
A class used to represent a float data collection that can be enumerated.

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

See Also:

Method Summary
public IloNumCollectionI *getImpl() const
public IloNumgetValue(IloInt index) const
public IloNumCollection(IloNumCollectionI * 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

IloNumCollection

public IloNumCollection(IloNumCollectionI * impl)

Constructor from an implementation.

Parameters:

impl
A pointer to the implementation object of this class.

getImpl

public IloNumCollectionI * 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 IloNum 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.