Interface to classes defined in CDL

 

The classes defined above can be used as types for fields, parameters of methods and return values in CDL definitions. In our example, if MyPackage is a CDL package, you will need to create the file MyPackage_SequenceOfPnt.hxx containing or including the above definitions, and then to add the line: imported SequenceOfPnt to file MyPackage.cdl;

Then the new collection type can be used in any CDL definition under the name:

SequenceOfPnt from MyPackage