NO FRAMES

Class IloNumColumnArray

Definition file: ilconcert/iloexpression.h
For ILOG CPLEX: array class of the column representation class for a model.

For each basic type, Concert Technology defines a corresponding array class. IloNumColumnArray is the array class of the column representation class for a model. The implementation class for IloNumColumnArray is the undocumented class IloNumColumnArrayI.

Instances of IloNumColumnArray are extensible. That is, you can add more elements to such an array. References to an array change whenever an element is added or removed from the array.

Most member functions in this class contain assert statements. For an explanation of the macro NDEBUG (a way to turn on or turn off these assert statements), see the concept Assert and NDEBUG.

See Also:

Constructor Summary
public IloNumColumnArray(IloDefaultArrayI * i=0)
public IloNumColumnArray(const IloEnv env, IloInt n=0)
public IloNumColumnArray(const IloNumColumnArray & h)
Constructor Detail

IloNumColumnArray

public IloNumColumnArray(IloDefaultArrayI * i=0)

This constructor creates an empty extensible array of columns. You cannot create instances of the undocumented class IloDefaultArrayI. As an argument in this default constructor, it allows you to pass 0 (zero) as a value to an optional argument in functions and member functions that accept an array as an argument.


IloNumColumnArray

public IloNumColumnArray(const IloEnv env, IloInt n=0)

This constructor creates an array of n elements. Initially, the n elements are empty handles.


IloNumColumnArray

public IloNumColumnArray(const IloNumColumnArray & h)

This copy constructor creates a handle to the array of column objects specified by copy.