Page tree

MagicDraw 19.0 LTR SP3 Documentation


bool

There are five cases of using the bool data type: Attribute type, Parameter type, Return type, Actual in Template Parameter Substitution and Default in Classifier Template Parameter. Our modeling tool will change the old bool data type to new bool data type in a new profile.

Attribute type

The old bool data type in an Attribute type is shown in the figure below.


Old bool data type in old profile (C++ Profile).
Change to the new bool data type in new profile (c++ ANSI profile).

Parameter type

The old and new bool data types in the Parameter type are shown in the figures below.

Old bool data type in old profile (C++ Profile)

Change to the new bool data type in new profile (c++ ANSI profile).

Return type

The old bool data type in the Return type is shown in the figure below. 

Old bool data type in old profile (C++ Profile).
Change to the new bool data type in new profile (c++ ANSI profile).

Actual in Template Parameter Substitution

The old bool data type in the Actual in Template Parameter Substitution is shown in the figure below.

Old value

Translation

Old bool data type in old profile (C++ Profile).

Change to the new bool data type in new profile (c++ ANSI profile).

Default in Classifier Template Parameter

The old bool data type in the Default in Classifier Template Parameter is shown in the figure below.

Old value

Translation

Old bool data type in old profile (C++ Profile).

Change to the new bool data type in new profile (c++ ANSI profile).

  • No labels