The <tt>MODULE</tt> Statement



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

The MODULE Statement

 

The MODULE statement defines a new module and has to appear at the beginning of the master template header file. It defines the current VOOPS module to be module (which has to be a LISP symbol), and loads the save file module.vop, if it exists. There is no harm if the save file does not exist; it is simply created in this case. An optional documentation string according to the VISTA documentation rules [IuE94] is output, followed by a C enum of all object IDs. Afterwards, the object pointer is defined in advance, since it will be used by subsequent class definitions already. The NULL object as well as object bit and flag masks are defined also.



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