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).

Next section

Abstract

Specifies whether this is an abstract method.

Usage

To specify that this method is abstract, use the following syntax:

Method name(formal_spec) As returnclass [ Abstract ] 
{
   //implementation
}

Otherwise, omit this keyword or place the word Not immediately before the keyword.

Details

An abstract method has no implementation and has no executable code generated for it. Abstract methods exist solely for the purpose of defining a method signature (or interface) that can be overridden and implemented within one or more subclasses. Some examples of abstract methods are the various callback methods defined, but not implemented by, in the Caché class library.

Default

If you omit this keyword, the method is not abstract.

See Also