FRAMES NO FRAMES

Macro ILCARRAY2

Definition file: ilsolver/basic.h
ILCARRAY2(name, t)

This macro defines a handle class for one-dimensional arrays of a given type of object, where type may be either the name of a handle class or the name of a class followed by *. The macro creates an implementation class, nameI, and a handle class, name. (You should replace name by the identifier you want to use for the new class.) Instances of this new class are arrays of elements of the given type.

Example

This statement

 ILCARRAY2(MyClassArray, MyClass*);

creates a handle class MyClassArray of pointers to objects of the class MyClass.

See Also: