Extensions on model elements

Tagged values on model elements

Name Label Parameters Behaviours
Cxx.Name C++ Name string Specifies a C++ name for the parameter.
Cxx.Bind Bind Type Specifies template instanciation parameters.
Cxx.Container Container Container name Specifies a container to use if the element has a cardinality of *.
Cxx.Container.Pointer Container pointer & or * Specifies the pointer modifier to use for the container declaration. Must be & or *.
Cxx.Container.Specifier Container specifiers C++ specifier Owns a specifier for the container of the element (for example, const).
Cxx.GenFullName Generate full name N/A Specifies that the element must be generated with a namespaced type.
Cxx.Lib Library N/A Specifies the name of the library to use to declare the element.
Cxx.Lib.ImportTypes Import type from library Type identifier Uses a specific type from a specific type library.
Cxx.NoCode Do not generate N/A Specifies that the element must not be generated by Modelio C++ Designer.
Cxx.Pointer Pointer & or * Specifies the pointer modifier to use. Must be & or *.
Cxx.Specifier Specifiers C++ specifier Owns a specifier for the element (for example, const).
Cxx.TypeExpr Manual declaration declaration Specifies the declaration to use for the element. You can use $name to automatically insert the name of the element into the declaration.
Cxx.Use.Class Use class Classes Adds an include towards a class in the body or the header.
Cxx.Use.Package Use package Packages Adds an include towards a package in the body or the header.

Notes on model elements

Name Label Behaviours
Cxx.Body.Bottom Body bottom Contains code to insert at the bottom of the body file.
Cxx.Body.Top Body top Contains code to insert at the top of the body file.
Cxx.Code C++ Code Contains the operation's implementation code.
Cxx.Doc.Doxygen Doxygen documentation Contains the text to insert in the doxygen comment.
Cxx.Header.Bottom Header bottom Contains code to insert at the bottom of the header file.
Cxx.Header.Top Header top Contains code to insert at the top of the header file.
Cxx.Use.Body Body uses Uses to add in the body file.
Cxx.Use.Header Header uses Uses to add in the header file.
Cxx.Value Default value Specifies a default value.

Stereotypes on model elements

Name Label Behaviours
Cxx.External External Indicates this element represents a class that is not modeled, usually to include it from another class.

Tagged values on <<External>> model elements

Name Label Parameters Behaviours
Cxx.GenerateHeaderFile Generate header file N/A Specifies that a header file containing the given includes must be generated.
Cxx.IncludePath Include paths File names Indicates the includes to be used for this element.