Source Code Options

Return to Introduction  Previous page  Next page

When you generate code for a particular language, you can set certain options. These include:

·Create a default constructor
·Create a destructor
·Generate copy constructor
·Select default language
·Generate methods for implemented interfaces
·Set the unicode options for code generation.

These options are accessed the Source Code Engineering page of the Options dialog (select the Tools | Options | Source Code Engineering menu option).

GenerateCodeAdvanced

Most of the settings are self-explanatory. The  Remove prefixes when generating Get/Set properties field enables you to specify prefixes used in your variable naming conventions, if you want those prefixes removed in the variables' corresponding get/set functions.

Note: It is worthwhile to configure these settings, as they serve as the defaults for all classes in the model.  You can override these on a per-class basis using the custom settings (from the Code Generation dialog).

See Also: