Building models using language-independent types

You can build static models using language-independent, predefined types, with no dependency on the implementation language.

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.

Table 1. 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.

Features window for class, Attributes tab, Type column

Feedback