NoExtent
Usage
To prevent the compiler from generating an extent for this class (in cases where it would otherwise do so), use the following syntax:
Class MyApp.MyClass [ NoExtent ] { //class members }
Otherwise, omit this keyword or place the word Not immediately before the keyword.
Details
If this keyword is true, the class has no extent. You cannot create instances of such a class. Frequently, such classes extend or override the standard persistent interface inherited from %Library.PersistentOpens in a new tab.
Effect on Subclasses
This keyword is not inherited.
Default
If you omit this keyword, the class can have an extent.
See Also
-
“Class Definitions” in this book
-
“Defining and Compiling Classes” in Using Caché Objects
-
“Introduction to Compiler Keywords” in Using Caché Objects