The <tt>ENDCLASS</tt> Statement



next up previous contents
Next: The DEFFLAG Statement Up: C.3 The VOOPS Syntax Previous: The DEFMEMBER Statement

The ENDCLASS Statement

 

A class definition is finished with an ENDCLASS statement which may have alias classes (LISP symbols). The typedefined structure declaration is ended, and allocation and free macros are appended to the header file. Accessor macros for this class are generated as well as method aliases to inherited methods, if not already defined for this class. Then, C-style function prototypes for the methods defined on the class are output. If aliases were specified, accessor macros and method alias macros are generated for each alias symbol given to the ENDCLASS statement. Finally, the current class name is invalidated.



Martin Stiftinger
Tue Nov 29 19:41:50 MET 1994