| Overview | Group | Tree | Graph | Deprecated | Index | Concepts |

IloDiscreteDataCollection is an abstract class for discrete data.
This domain can be enumerated.
See Also:
| Method Summary | |
|---|---|
public IloDiscreteDataCollectionI * | getImpl() const |
public IloInt | getIndex(const char * value) const |
public IloInt | getIndex(IloSymbol value) const |
public IloInt | getIndex(IloAny value) const |
public IloInt | getIndex(IloNum value) const |
public IloInt | getIndex(IloInt value) const |
public IloInt | getSize() const |
public | IloDiscreteDataCollection() |
public | IloDiscreteDataCollection(IloDiscreteDataCollectionI * impl) |
public IloBool | isOrdered() const |
public IloBool | isReversed() const |
public IloBool | isSorted() const |
public IloDataIterator * | iterator() const |
Inherited Methods from IloDataCollection |
|---|
display, end, getEnv, getName, isIntRange, isIntSet, isNumRange, isNumSet, isSymbolSet, isTupleSet, sort, sort, sort, sort |
| Method Detail |
|---|
This constructor creates a collection whose handle pointer is null. This object must be assigned before it can be used.
Constructor from an implementation.
Returns a pointer to the implementation object of the invoking extractable object. This member function 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 the index of a given char value.
If the collection is not a collection IloSymbol, it will throw an exception.
If the object is not present in the collection, it returns -1.
| value |
The value for which you want to return the index.
|
Returns the index of a given IloSymbol value.
If the collection is not a collection of IloSymbol, it will throw an exception.
If the object is not present in the collection, it returns -1.
| value |
The value for which you want to return the index.
|
IloSymbol value, as an integer. Returns the index of a given IloAny value.
If the object is not present in the collection, it returns -1.
| value |
The value for which you want to return the index.
|
IloAny value, as an integer. Returns the index of a given numeric value.
If the collection is not a collection of numeric values, it will throw an exception.
If the object is not present in the collection, it returns -1.
| value |
The value for which you want to return the index.
|
Returns the index of a given integer value.
If the collection is not a collection of integer, it will throw an exception.
If the object is not present in the collection, it returns -1.
| value |
The value for which you want to return the index.
|
This member function returns the size of the collection, that is, the number of included elements.
Returns whether the collection is ordered.
Returns whether the collection is reversed.
Returns whether the collection is sorted.
Returns a new iterator on the collection.
See Also: