Instant Generator
In Visual Paradigm for UML and Smart Development Environment, there is a feature named Instant Generator for generating source from class model. Instant Generator supports a set of language such as C++ and Java. The below steps will describe the C++ source generation.
Supporting Language
The below languages are supported by Instant Generator.
Java
C#
-
-
ODL
-
IDL
C++
Delphi
-
-
Python
Objective-C
Classes and Relationships Modeling
Class model is required before generation. To provide class model, open an existing VP project or model a new one.

Instant Generator Dialog
Instant Generator has a primary user interface called Instant Generator Dialog. It providing almost all interface of Instant Generator such as configuration, preview and generation. On top menu, click Tools > Instant Generator > Instant Generator... to open Instant Generator Dialog.

General settings
As configuration is simplified, only three values are required to input even first time generation.
Select
Language to specify which language of source will generated for. In this example,
C++ is selected.
Choose class(es) or package(s) which will be included of the generation.
Select output path for placing generated source.
Language specified options
For each language, specified options may provided for additional control. These options are organized into two kinds of options, Basic options and Advanced options.
Basic options
Those common change options are grouped in Basic options and allow to edit directly in Instant Generator Dialog.

Advanced options
Advanced options contains all options of the language including options in Basic options. To edit Advanced options, click Advanced Options in Instant Generator Dialog.


Preview or Generate
As different values of options will produce different generation result, Instant Generator provides preview of generation result before the actual generation.
Press
Preview in
Instant Generator Dialog to preview generation result.
Press
Generate in
Instant Generator Dialog to perform actual generation.
While the generation, the progress is displayed in
Generator Output.
The generated sources are generated in output path.
Open output folder can simply perform by pressing
Open output folder in
Instant Generator Dialog.
To close
Instant Generator Dialog, simply press
Close.
Samples
Click on the link below to download:
Resources
Visual Paradigm for UML Home
DB Visual ARCHITECT
SDE Home
Download Free Community Edition of Visual Paradigm for UML
Download DB Visual ARCHITECT
Download SDE