FRAMES NO FRAMES

Macro ILCARRAY

Definition file: ilsolver/basic.h
ILCARRAY(t)

This macro defines one-dimensional arrays for a given type of object, where type must be the name of a handle class. The macro creates an implementation class, named typeArrayI, and a handle class, named typeArray. (You should replace type by the actual name of the original handle class.) Instances of these classes are arrays of elements of the given handle class type.

Example

This statement

 ILCARRAY(IlcIntervalActivity);

creates the handle class IlcIntervalActivityArray and the implementation class IlcIntervalActivityArrayI.

This macro could be implemented like this:

#define ILCARRAY(type) 
 ILCARRAY2(name2(type,Array),type)

See Also: