Page tree

MagicDraw 19.0 LTR SP3 Documentation


With version 12, type modifiers use the character $ to specify the type modifiers construct. This allows mapping of complex type modifiers. For example, const int* const is mapped to const $* const.

Type Modifier conversion in Attribute

Example of Type Modifier conversion in Attribute


To convert a Type modifier in Attribute


  1. Open the Attribute specification window.
  2. Remove [15] from Type Modifier field.
  3. Apply the «C++Attribute» stereotype.
  4. Set Multiplicity field to 0..*.

  5. Go to Tags and set Array tag value to [15].


 

Type Modifier conversion in Parameter

Example of Type Modifier conversion in Parameter

To convert a Type modifier in Parameter: 


  1. Open the Parameter specification window.
  2. Remove [15] from Type Modifier field.
  3. Apply the «C++Parameter» stereotype.
  4. Set Multiplicity field to 0..*.
  5. Go to Tags and set Array tag value to [15].


  • No labels