InterSystems IRIS Data Platform 2019.2  /  Class Definition Reference  /  Class Definitions

Class Definition Reference
Class Definitions
Next section
InterSystems: The power behind what matters   

Describes the structure of a class definition.
In InterSystems IRIS, a class can include familiar class elements such as properties, methods, and parameters (known as constants in other class languages). It can also include items not usually defined in classes, including triggers, queries, and indexes.
A class definition has the following structure:
Import import_ppackage_list  
Include include_code  
IncludeGenerator include_generator_code  

/// description 
Class package.shortclassname Extends superclass_list [ class_keyword_list ] 
See Also
This reference does not formally introduce storage definitions. For an introduction to storage definitions, see “Storage” in “Persistent Objects and InterSystems IRIS SQL” in the Orientation Guide for Server-Side Programming. Also see “Storage Definitions and Storage Classes” in “Defining Persistent Classes” in Defining and Using Classes.

Next section
Send us comments on this page
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-09-20 05:47:55