The types are defined in the following files (under <product installation folder>\Share\<lang>\oxf):
The following table shows the mapping between the predefined types and the language implementation types.
| Model Type | Ada | C | C++ | Java |
|---|---|---|---|---|
| RhpInteger | integer | int | int | int |
| RhpUnlimitedNatural | long_integer | long | long | long |
| RhpPositive | unsigned | unsigned int | unsigned int | int |
| RhpPositive | unsigned | unsigned int | unsigned int | int |
| RhpReal | long_float | double | double | double |
| RhpCharacter | character | char | char | char |
| RhpString | string | char* | OMString | String |
| RhpBoolean | boolean | RiCBoolean | bool | boolean |
| RhpVoid | Used in procedure declaration only | void | void | void |
| RhpAddress | address | void* | void* | Object |
When you create attributes or operations, these language-independent types are included in the Types list.
