Stereotypes
LieberLieber Embedded Engineer uses stereotypes and tagged values of Uml models to extend or clarify certain issue. The Stereotypes are used to add more meaning and the predefined tagged values to your model elements.
const
Generates a const parameter for a function
Applies to | Availability1 |
---|---|
Attributes & Parameter | both |
Primitives | both |
constructor
Ignores the operation name and generates a class constructor.
Applies to | Availability1 |
---|---|
Operation | both |
CustomArray
Allows the usage of a custom string to define an array expression via a Tagged Value (ArrayValue).
Applies to | Availability1 |
---|---|
Attribute | both |
CustomDocumentation
Add custom document Tagged Values to allow for custom file, attribute and function headers
Applies to | Availability1 |
---|---|
Packages & Class | both |
See also
CustomRef
Contains the ReferenceImp Tagged Value for parameters
Applies to | Availability1 |
---|---|
Parameter | both |
CustomSettings
Add custom naming Tagged Values to allow for custom extension and/or file, class name
Applies to | Availability1 |
---|---|
Packages & Class | both |
destructor
Ignores the operation name and generates a class destructor.
Applies to | Availability1 |
---|---|
Operation | C++ only |
declaration
If set with corresponding Pre/Suffix Tagged Values will generate specified pre/suffix for code part
Applies to | Availability1 |
---|---|
Class, Struct, Enumerations, Activities, Operation, Attribute | both |
See also
define
Generates a #define declaration for the attribute applied to.
Applies to | Availability1 |
---|---|
Attribute | both |
enumeration
Generates an enumeration using the class attributes.
Applies to | Availability1 |
---|---|
Class | both |
See also
executable entry point
Generates an Entry Point to your application.
Applies to | Availability1 |
---|---|
Class | both |
See also
extern
Generates an external attribute.
Applies to | Availability1 |
---|---|
Attribute | both |
FileIsolation
Adds custom Tagged Values (ImplDir & DeclDir) to allow using different generation directories for implementation/declaration files.
Applies to | Availability1 |
---|---|
Package | both |
Class | both |
forLoop
Changes the generation of a "while ..." loop to a "for ..." loop
Applies to | Availability1 |
---|---|
LoopNode | both |
fncPointer
Extends a DataType
to allow linking to a Function Pointer typedef
Signature
Tagged Value
Applies to | Availability1 |
---|---|
Attribute & Parameters | both |
See also
function preamble
Contains the FunctionPreamble Tagged Values
Applies to | Availability1 |
---|---|
Operation | both |
functionPointer
Warning
This is deprecated and only available to be downward compatible!
Use the new implementation described at Function Pointer
Generates an attribute for a function pointer
Applies to | Availability1 |
---|---|
Attribute | both |
See also
global
Generates global include declaration (with brackets).
Applies to | Availability1 |
---|---|
Connector | both |
include
Contains all possible Tagged Values for include / usage connectors.
Applies to | Availability1 |
---|---|
Connector | both |
IncludeStorage
Use the 'IncludeStorage' Tagged Value to change where includes shall be generated
Applies to | Availability1 |
---|---|
Packages & Class & Usage link | both |
initialized
Add the InitialValue Tagged Value to the Primitive element.
Applies to | Availability1 |
---|---|
Primitives | both |
LL Embedded
Contains all possible & needed Tagged Values for code generation.
Applies to | Availability1 |
---|---|
Packages & Class | both |
no code generation
Disables code generation for these packages/elements.
Applies to | Availability1 |
---|---|
Packages, Class & Interfaces | both |
See also
ordered
Allows for custom generation order of Elements and Features in MagicDraw only with the Pos
Tagged Value|
Applies to | Availability1 |
---|---|
NamedElements | both |
private
Generates a private activity function / class
Applies to | Availability1 |
---|---|
Class & Activity | both |
public
Generates a public activity function / class
Applies to | Availability1 |
---|---|
Class & Activity | both |
qenum
Generates an QEnum to use as attribute within an QObject class.
Applies to | Availability1 |
---|---|
Enumerations | C++ only |
See also
qobject
Generates all code needed to use QObject features.
Applies to | Availability1 |
---|---|
Class | C++ only |
See also
qsignal
Generates Qt signal operation as an emitter when a particular event occurs.
Applies to | Availability1 |
---|---|
Operation | C++ only |
See also
qslot
Generates Qt slot as an an operation that is called in response to a particular signal.
Applies to | Availability1 |
---|---|
Operation | C++ only |
See also
readonly
Generates a readonly attribute.
Applies to | Availability1 |
---|---|
Attribute | both |
requirement
When realized or traced by a class, will generate a documentation link.
Applies to | Availability1 |
---|---|
Requirement | both |
signals
Generates an enumeration to contain all state machine signals.
Applies to | Availability1 |
---|---|
Enumerations | both |
singleton
Generates a singleton pattern for the class.
Applies to | Availability1 |
---|---|
Classes | both |
standard lib
Generates a standard library include when linked with Usage connector.
Applies to | Availability1 |
---|---|
Dependencies | both |
See also
static
Generates a static class
Applies to | Availability1 |
---|---|
Class | both |
Generates a static function for an activity.
Applies to | Availability1 |
---|---|
Activity | both |
Generates a 'static' Variable.
Applies to | Availability1 |
---|---|
Attribute | both |
Primitives | both |
struct
Generates a structure as part of another class.
Applies to | Availability1 |
---|---|
Class | both |
See also
switchCase
Changes the generation of an if
..elseif
.. block to an switch
case
block
Applies to | Availability1 |
---|---|
ConditionalNode | both |
trace
Generates a documentation link to the traced requirement.
Applies to | Availability1 |
---|---|
Connector | both |
See also
typedef
Generate a typedef for the attribute applied to (use default value to redefine know types).
Applies to | Availability1 |
---|---|
Attribute & Parameter | both |
Primitives | both |
typedef
Generates a type definition for a function pointer
Applies to | Availability1 |
---|---|
Operation & Attribute | both |
See also
union
Generates a union as part of another class.
Applies to | Availability1 |
---|---|
Class | both |
See also
volatile
Generates a volatile parameter for a function
Applies to | Availability1 |
---|---|
Attributes & Parameter | both |
Primitives | both |