Generate C++ files for EXPRESS schema
The C++ files representing an EXPRESS schema are generated by means of the EDMsupervisorâ„¢ command.
Schemata->Generate Interface->Cpp 2010
The command has the parameters and options listed in Table 3, below.
Table 3: Parameters and options for the Generate Cpp 2010 command
Parameter name |
Description and options |
---|---|
Schema: |
The name of the EXPRESS schema the generator shall generate C++ files for. |
Cpp interface output directory: |
The directory where the generated C++ files shall be written. |
Namespace: |
The C++ namespace used in the generated C++ files |
Class addition folder: |
It is possible to add declarations to the generated C++ classes. The additions must be written in a file located in the specified folder. The name of the file must be as follows: |
Complex entity file name: |
In EXPRESS it is possible to compose entity definitions that are the union of other entities (object classes). These entities are called complex entities and the syntax is as follows: |