The <tt>DEFMEMBER</tt> Statement



next up previous contents
Next: The ENDCLASS Statement Up: C.3 The VOOPS Syntax Previous: Type Expressions

The DEFMEMBER Statement

 

Appearing inside a class definition between the DEFCLASS and ENDCLASS statements, this statement defines the member name (a LISP symbol) having the data type type-expr (see type expressions at page gif) for the current class. The optional documentation string as well as the optional alias name symbol are recorded in the current class of the class association list. C code is produced for the structure component, and an appropriate documentation comment is generated, if a documentation string was given. An alias macro is appended after the class definition is finished, accessing the same structure component, if an alias was requested.



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