13.07.2015 Views

Using Caché Studio - InterSystems Documentation

Using Caché Studio - InterSystems Documentation

Using Caché Studio - InterSystems Documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Class Definition SyntaxClick View > Show Class <strong>Documentation</strong> to see the documentation for this class. Example:Comments that begin with /// that are within the body of a class member definition are not put into theClass Reference.Note:The description line for a class declaration cannot begin with either a single or a double slash.If you do either of these, the class declaration is marked as an error from the start of thedescription line to the last bracket of the class declaration; in other words, the entire file ismarked as in error, underlined with red wavy lines, with red arrows in the left column.The description line for a class member declaration cannot begin with a single slash. If youdo this, the class member declaration is marked as an error from the start of the descriptionline to the last bracket of the class declaration; in other words, the declaration is marked asin error, underlined with red wavy lines, with red arrows in the left column.B.3 StatementsThe following sections describe class definition statements in more detail.B.3.1 Class StatementA Class statement defines a class and specifies class-wide keyword values. Only one class declarationis allowed in a <strong>Studio</strong> class definition.B.3.1.1 Extends ClauseA Class statement can include an optional Extends clause that specifies the superclasses used by theclass. This is equivalent to setting the value of the class' Super keyword.Class Cow Extends Mammal{}If a class has multiple superclasses, place their names in () (parentheses) and separate them with ,(comma):154 <strong>Using</strong> <strong>Caché</strong> <strong>Studio</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!