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

An array of constrained set variables of integers is an instance
 of the class IlcIntSetVarArray. The elements of such an array
 are instances of IlcIntSetVar.
Empty Handle or Null Array
It is possible to create a null array, or in other words, an empty handle. When you do so, only these operations are allowed on that null array:
 getSize for the null array returns 0 (zero).
 ok returns 
 IlcFalse for a null array.Attempts to access a null array in any other way will throw an exception
 (an instance of IloSolver::SolverErrorException).
See Also:
IlcIntSetVar, IlcIntSetVarArrayIterator, operator<<
| Constructor Summary | |
|---|---|
| public  | IlcIntSetVarArray() | 
| public  | IlcIntSetVarArray(IlcIntSetVarArrayI * impl) | 
| public  | IlcIntSetVarArray(IloSolver solver, IlcInt size) | 
| public  | IlcIntSetVarArray(IloSolver solver, IlcInt size, IlcInt min, IlcInt max) | 
| public  | IlcIntSetVarArray(IloSolver s, IlcInt size, IlcIntArray array) | 
| public  | IlcIntSetVarArray(IloSolver solver, IlcInt size ILCPARAM, const IlcIntSetVar v1, const IlcIntSetVar v2) | 
| Method Summary | |
|---|---|
| public IlcIntSetVarArray | getCopy(IloSolver solver) const | 
| public IlcIntSetVarArrayI * | getImpl() const | 
| public const char * | getName() const | 
| public IloSolver | getSolver() const | 
| public IloSolverI * | getSolverI() const | 
| public void | operator=(const IlcIntSetVarArray & h) | 
| public IlcIntSetVar & | operator[](IlcInt index) const | 
| public void | setName(const char * name) const | 
| Constructor Detail | 
|---|
This constructor creates an array of size uninitialized constrained set variables.
 The argument size must be strictly greater than 0 (zero). The index range of the array
 is [0 size), where 0 is included but size is excluded. Each element of
 the array must be assigned a value before the array can be used.
This constructor creates an array of size constrained set variables. The index range
 of the array is [0 size) where 0 is included, but size is excluded. The
 argument size must be strictly greater than 0 (zero). None of the constrained variables
 has any required elements; for each of the constrained variables, the possible elements range from
 min to max, included.
This constructor creates an array of size constrained set variables. The argument
 size must be strictly greater than 0 (zero). The index range of the array is
 [0 size), where 0 is included but size is excluded. Each constrained
 variable has no required elements; its possible elements are the pointers in array,
 an array of pointers.
This constructor creates an array of size elements. The elements must be successive.
 If size is different from the number of instances of IlcIntSetVar passed
 to the constructor, then the behavior of this constructor is undefined and unlikely to be what you
 want. The argument size must be strictly greater than 0 (zero). 
| Method Detail | 
|---|
This member function returns a copy of the invoking array of constrained set variables and
 associates that copy with solver.
This member function returns an instance of IloSolver associated with the invoking object.
This member function returns a pointer to the implementation object of the solver where the invoking object was extracted.
This subscripting operator returns a reference to the variable at rank index in
 the invoking array. The fact the operator returns a reference makes it possible for you, as a
 developer, to assign the corresponding constrained expression.