Skip to main content

This is documentation for Caché & Ensemble.

For information on converting to InterSystems IRIS, see the InterSystems IRIS Adoption Guide and the InterSystems IRIS In-Place Conversion Guide, both available on the WRC Distributions page (login required).

Previous sectionNext section

GenerateAfter

Specifies when to generate this method. Applies only if the method is a method generator.

Usage

To specify that the generator for this method should be invoked after other methods are generated, use the following syntax:

Method name(formal_spec) As returnclass [ CodeMode = ObjectGenerator, GenerateAfter = methodlist ]
{
   //implementation
}

Where methodlist is either a single method name or a comma-separated list of method names, enclosed in parentheses.

Details

In the case of a method generator method, specifies that the generator should be invoked after the listed methods are generated. This keyword is useful when you need to control the order in which your method generators are invoked.

See Also

FeedbackOpens in a new window