The UML-to-C++ transformation transforms UML visibility types into
the corresponding C++ visibility types. For UML model elements with package
visibility, the transformation assigns private visibility to the transformed
C++ element.
The following table lists the C++ visibility types that the transformation
generates from UML visibility types.
| UML visibility type |
C++ visibility type |
| Public |
public |
| Private |
private |
| Protected |
protected |
| Package |
private |